Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c322 xbpf_prog_attach(t->progfd, mapfd, t->atype, 0) != 0) in test_destroy_orphan_child()
734 err = xbpf_prog_attach(parser, sock_map, BPF_SK_SKB_STREAM_PARSER, 0); in test_skb_redir_to_connected()
737 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_skb_redir_to_connected()
758 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_MSG_VERDICT, 0); in test_msg_redir_to_connected()
854 err = xbpf_prog_attach(parser, sock_map, BPF_SK_SKB_STREAM_PARSER, 0); in test_skb_redir_to_listening()
857 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_skb_redir_to_listening()
878 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_MSG_VERDICT, 0); in test_msg_redir_to_listening()
956 err = xbpf_prog_attach(parser, sock_map, BPF_SK_SKB_STREAM_PARSER, 0); in test_skb_redir_partial()
960 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_STREAM_VERDICT, 0); in test_skb_redir_partial()
1464 err = xbpf_prog_attach(verdict, sock_map, BPF_SK_SKB_VERDICT, 0); in unix_skb_redir_to_connected()
[all …]
H A Dsockmap_helpers.h161 #define xbpf_prog_attach(prog, target, type, flags) \ macro