Home
last modified time | relevance | path

Searched refs:xbpf_prog_attach (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c320 xbpf_prog_attach(t->progfd, mapfd, t->atype, 0) != 0) in test_destroy_orphan_child()
737 err = xbpf_prog_attach(parser, sock_map, BPF_SK_SKB_STREAM_PARSER, 0); in test_skb_redir_to_connected()
740 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_skb_redir_to_connected()
761 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_MSG_VERDICT, 0); in test_msg_redir_to_connected()
839 err = xbpf_prog_attach(parser, sock_map, BPF_SK_SKB_STREAM_PARSER, 0); in test_skb_redir_to_listening()
842 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_skb_redir_to_listening()
863 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_MSG_VERDICT, 0); in test_msg_redir_to_listening()
928 err = xbpf_prog_attach(parser, sock_map, BPF_SK_SKB_STREAM_PARSER, 0); in test_skb_redir_partial()
932 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_skb_redir_partial()
1401 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_VERDICT, 0); in unix_skb_redir_to_connected()
[all …]
H A Dsockmap_helpers.h147 #define xbpf_prog_attach(prog, target, type, flags) \ macro