Searched refs:netlink_sock (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/selftests/net/ |
| A D | netlink-dumps.c | 48 int netlink_sock; in TEST() local 53 ASSERT_GE(netlink_sock, 0); in TEST() 58 n = recv(netlink_sock, buf, sizeof(buf), MSG_DONTWAIT); in TEST() 64 close(netlink_sock); in TEST() 69 int netlink_sock; in TEST() local 73 ASSERT_GE(netlink_sock, 0); in TEST() 78 close(netlink_sock); in TEST() 84 int netlink_sock, mq_fd; in TEST() local 89 ASSERT_GE(netlink_sock, 0); in TEST() 100 sigev.sigev_signo = netlink_sock; in TEST() [all …]
|
| A D | ipsec.c | 192 static int netlink_sock(int *sock, uint32_t *seq_nr, int proto) in netlink_sock() function 492 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) { in init_child() 1334 if (netlink_sock(sock, seq, proto)) { in netlink_sock_bind() 1812 if (netlink_sock(&xfrm_sock, &seq, NETLINK_XFRM)) { in child_f() 1940 if (netlink_sock(&xfrm_sock, &seq, NETLINK_XFRM)) { in grand_child_f() 2308 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in main()
|
| /linux/net/netlink/ |
| A D | af_netlink.h | 24 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()
|
| A D | af_netlink.c | 479 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() 1151 struct netlink_sock *nlk; in netlink_getsockbyportid() 1219 struct netlink_sock *nlk; in netlink_attachskb() 1998 struct netlink_sock *nlk; in __netlink_kernel_create() 2377 struct netlink_sock *nlk; in __netlink_dump_start() 2618 struct netlink_sock *nlk; in __netlink_seq_next() [all …]
|
| A D | diag.c | 14 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/tools/testing/selftests/net/tcp_ao/lib/ |
| A D | netlink.c | 16 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/tools/testing/selftests/bpf/progs/ |
| A D | bpf_iter_netlink.c | 18 struct netlink_sock *nlk = ctx->sk; in dump_netlink()
|
| A D | bpf_iter.h | 65 struct netlink_sock *sk;
|
| /linux/tools/testing/selftests/bpf/ |
| A D | README.rst | 185 ; struct netlink_sock *nlk = ctx->sk;
|
Completed in 23 milliseconds