Home
last modified time | relevance | path

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

/linux-6.6.21/net/core/
Dsock_reuseport.c22 struct sock_reuseport *reuse, bool bind_inany);
189 int reuseport_alloc(struct sock *sk, bool bind_inany) in reuseport_alloc() argument
207 ret = reuseport_resurrect(sk, reuse, NULL, bind_inany); in reuseport_alloc()
215 if (bind_inany) in reuseport_alloc()
216 reuse->bind_inany = bind_inany; in reuseport_alloc()
234 reuse->bind_inany = bind_inany; in reuseport_alloc()
279 more_reuse->bind_inany = reuse->bind_inany; in reuseport_grow()
321 int reuseport_add_sock(struct sock *sk, struct sock *sk2, bool bind_inany) in reuseport_add_sock() argument
326 int err = reuseport_alloc(sk2, bind_inany); in reuseport_add_sock()
339 int err = reuseport_resurrect(sk, old_reuse, reuse, reuse->bind_inany); in reuseport_add_sock()
[all …]
Dfilter.c11116 reuse_kern->bind_inany = reuse->bind_inany; in bpf_init_reuseport_kern()
11284 case bpf_ctx_range(struct sk_reuseport_md, bind_inany): in sk_reuseport_is_valid_access()
11347 case offsetof(struct sk_reuseport_md, bind_inany): in sk_reuseport_convert_ctx_access()
11348 SK_REUSEPORT_LOAD_FIELD(bind_inany); in sk_reuseport_convert_ctx_access()
/linux-6.6.21/include/net/
Dsock_reuseport.h26 unsigned int bind_inany:1; member
32 extern int reuseport_alloc(struct sock *sk, bool bind_inany);
34 bool bind_inany);
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_select_reuseport_kern.c82 data_check.bind_inany = reuse_md->bind_inany; in _select_by_skb_data()
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_select_reuseport_common.h29 __u8 bind_inany; member
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dselect_reuseport.c265 expected.bind_inany = !srv_sa.v6.sin6_addr.s6_addr32[3] && in check_data()
278 expected.bind_inany = !srv_sa.v4.sin_addr.s_addr; in check_data()
291 result.bind_inany); in check_data()
294 expected.bind_inany); in check_data()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h6384 __u32 bind_inany; /* Is sock bound to an INANY address? */ member
/linux-6.6.21/include/uapi/linux/
Dbpf.h6384 __u32 bind_inany; /* Is sock bound to an INANY address? */ member
/linux-6.6.21/include/linux/
Dbpf.h3095 bool bind_inany; member