Home
last modified time | relevance | path

Searched refs:netns_id (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/net/netfilter/
A Dnf_conntrack_bpf.c49 s32 netns_id; member
113 if (unlikely(opts->netns_id < BPF_F_CURRENT_NETNS)) in __bpf_nf_ct_alloc_entry()
126 if (opts->netns_id >= 0) { in __bpf_nf_ct_alloc_entry()
127 net = get_net_ns_by_id(net, opts->netns_id); in __bpf_nf_ct_alloc_entry()
141 if (opts->netns_id >= 0) in __bpf_nf_ct_alloc_entry()
162 if (unlikely(opts->netns_id < BPF_F_CURRENT_NETNS)) in __bpf_nf_ct_lookup()
170 if (opts->netns_id >= 0) { in __bpf_nf_ct_lookup()
171 net = get_net_ns_by_id(net, opts->netns_id); in __bpf_nf_ct_lookup()
177 if (opts->netns_id >= 0) in __bpf_nf_ct_lookup()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_bpf_nf.c45 s32 netns_id; member
75 struct bpf_ct_opts___local opts_def = { .l4proto = IPPROTO_TCP, .netns_id = -1 }; in nf_ct_test()
98 opts_def.netns_id = -2; in nf_ct_test()
101 opts_def.netns_id = -1; in nf_ct_test()
123 opts_def.netns_id = 0xf00f; in nf_ct_test()
126 opts_def.netns_id = -1; in nf_ct_test()
A Dtest_bpf_nf_fail.c10 s32 netns_id; member
A Dxdp_synproxy_kern.c85 s32 netns_id; member
411 .netns_id = BPF_F_CURRENT_NETNS, in tcp_lookup()
/linux-6.3-rc2/net/core/
A Dfilter.c6546 if (unlikely(flags || !((s32)netns_id < 0 || netns_id <= S32_MAX))) in __bpf_skc_lookup()
6554 if ((s32)netns_id < 0) { in __bpf_skc_lookup()
6575 ifindex, proto, netns_id, flags); in __bpf_sk_lookup()
6601 u8 proto, u64 netns_id, u64 flags) in bpf_skc_lookup() argument
6615 netns_id, flags); in bpf_skc_lookup()
6620 u8 proto, u64 netns_id, u64 flags) in bpf_sk_lookup() argument
6651 netns_id, flags); in BPF_CALL_5()
6670 netns_id, flags); in BPF_CALL_5()
6689 netns_id, flags); in BPF_CALL_5()
6811 netns_id, flags); in BPF_CALL_5()
[all …]

Completed in 26 milliseconds