Home
last modified time | relevance | path

Searched refs:netlink_sock (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/tools/testing/selftests/net/
H A Dnetlink-dumps.c101 int netlink_sock; in TEST() local
108 ASSERT_GE(netlink_sock, 0); in TEST()
177 int netlink_sock; in TEST() local
182 ASSERT_GE(netlink_sock, 0); in TEST()
193 close(netlink_sock); in TEST()
198 int netlink_sock; in TEST() local
202 ASSERT_GE(netlink_sock, 0); in TEST()
207 close(netlink_sock); in TEST()
213 int netlink_sock, mq_fd; in TEST() local
218 ASSERT_GE(netlink_sock, 0); in TEST()
[all …]
H A Dipsec.c192 static int netlink_sock(int *sock, uint32_t *seq_nr, int proto) in netlink_sock() function
493 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) { in init_child()
1335 if (netlink_sock(sock, seq, proto)) { in netlink_sock_bind()
1813 if (netlink_sock(&xfrm_sock, &seq, NETLINK_XFRM)) { in child_f()
1941 if (netlink_sock(&xfrm_sock, &seq, NETLINK_XFRM)) { in grand_child_f()
2309 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in main()
/linux-6.15/net/netlink/
H A Daf_netlink.h24 struct netlink_sock { struct
54 static inline struct netlink_sock *nlk_sk(struct sock *sk) in nlk_sk() argument
56 return container_of(sk, struct netlink_sock, sk); in nlk_sk()
H A Daf_netlink.c479 const struct netlink_sock *nlk = ptr; in netlink_compare()
625 struct netlink_sock *nlk; in __netlink_create()
651 struct netlink_sock *nlk; in netlink_create()
708 struct netlink_sock *nlk = container_of(head, struct netlink_sock, rcu); in deferred_put_nlk_sk()
723 struct netlink_sock *nlk; in netlink_release()
1142 struct netlink_sock *nlk; in netlink_getsockbyportid()
1215 struct netlink_sock *nlk; in netlink_attachskb()
1995 struct netlink_sock *nlk; in __netlink_kernel_create()
2375 struct netlink_sock *nlk; in __netlink_dump_start()
2616 struct netlink_sock *nlk; in __netlink_seq_next()
[all …]
H A Ddiag.c14 struct netlink_sock *nlk = nlk_sk(sk); in sk_diag_dump_groups()
25 struct netlink_sock *nlk = nlk_sk(sk); in sk_diag_put_flags()
50 struct netlink_sock *nlk = nlk_sk(sk); in sk_diag_fill()
96 struct netlink_sock *nlsk; in __netlink_diag_dump()
/linux-6.15/tools/testing/selftests/net/tcp_ao/lib/
H A Dnetlink.c16 static int netlink_sock(int *sock, uint32_t *seq_nr, int proto) in netlink_sock() function
189 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in add_veth()
235 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in ip_addr_add()
292 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in ip_route_add_vrf()
339 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in link_set_up()
407 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in add_vrf()
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_netlink.c18 struct netlink_sock *nlk = ctx->sk; in dump_netlink()
/linux-6.15/tools/testing/selftests/bpf/
H A DREADME.rst185 ; struct netlink_sock *nlk = ctx->sk;