Home
last modified time | relevance | path

Searched refs:BPF_F_CURRENT_NETNS (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtest_sk_lookup_kern.c75 sk = bpf_sk_lookup_tcp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_test0()
88 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_test1()
101 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_uaf()
116 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_modptr()
131 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_modptr_or_null()
143 bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_test2()
153 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_test3()
165 sk = bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in bpf_sk_lookup_test4()
173 bpf_sk_lookup_tcp(skb, &tuple, sizeof(tuple), BPF_F_CURRENT_NETNS, 0); in lookup_no_release()
Dconnect6_prog.c51 BPF_F_CURRENT_NETNS, 0); in connect_v6_prog()
54 BPF_F_CURRENT_NETNS, 0); in connect_v6_prog()
Dtest_tcp_check_syncookie_kern.c83 BPF_F_CURRENT_NETNS, 0); in check_syncookie()
115 BPF_F_CURRENT_NETNS, 0); in check_syncookie()
Dconnect4_prog.c174 BPF_F_CURRENT_NETNS, 0); in connect_v4_prog()
177 BPF_F_CURRENT_NETNS, 0); in connect_v4_prog()
Dtest_sk_assign.c115 sk = bpf_sk_lookup_udp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in handle_udp()
147 sk = bpf_skc_lookup_tcp(skb, tuple, tuple_len, BPF_F_CURRENT_NETNS, 0); in handle_tcp()
Dcgroup_skb_sk_lookup_kern.c52 BPF_F_CURRENT_NETNS, 0); in is_allowed_peer_cg()
Dtest_btf_skc_cls_ingress.c95 BPF_F_CURRENT_NETNS, 0); in handle_ip6_tcp()
Dtest_cls_redirect.c645 bpf_skc_lookup_tcp(skb, tuple, tuplen, BPF_F_CURRENT_NETNS, 0); in classify_tcp()
677 bpf_sk_lookup_udp(skb, tuple, tuplen, BPF_F_CURRENT_NETNS, 0); in classify_udp()
/tools/include/uapi/linux/
Dbpf.h3982 BPF_F_CURRENT_NETNS = (-1L), enumerator