Home
last modified time | relevance | path

Searched refs:diag_nlsk (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/net/core/
Dsock_diag.c148 nlmsg_multicast(sock_net(sk)->diag_nlsk, skb, 0, group, in sock_diag_broadcast_destroy_work()
322 net->diag_nlsk = netlink_kernel_create(net, NETLINK_SOCK_DIAG, &cfg); in diag_net_init()
323 return net->diag_nlsk == NULL ? -ENOMEM : 0; in diag_net_init()
328 netlink_kernel_release(net->diag_nlsk); in diag_net_exit()
329 net->diag_nlsk = NULL; in diag_net_exit()
/linux-6.6.21/include/linux/
Dsock_diag.h87 return group != SKNLGRP_NONE && n->diag_nlsk && in sock_diag_has_destroy_listeners()
88 netlink_has_listeners(n->diag_nlsk, group); in sock_diag_has_destroy_listeners()
/linux-6.6.21/net/tipc/
Ddiag.c91 netlink_dump_start(net->diag_nlsk, skb, h, &c); in tipc_sock_diag_handler_dump()
/linux-6.6.21/net/unix/
Ddiag.c299 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in unix_diag_get_exact()
319 return netlink_dump_start(sock_net(skb->sk)->diag_nlsk, skb, h, &c); in unix_diag_handler_dump()
/linux-6.6.21/net/vmw_vsock/
Ddiag.c153 return netlink_dump_start(net->diag_nlsk, skb, h, &c); in vsock_diag_handler_dump()
/linux-6.6.21/net/ipv4/
Draw_diag.c121 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in raw_diag_dump_one()
Dudp_diag.c80 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in udp_dump_one()
Dinet_diag.c581 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in inet_diag_dump_one_icsk()
1321 return netlink_dump_start(net->diag_nlsk, skb, nlh, &c); in inet_diag_rcv_msg_compat()
1342 return netlink_dump_start(net->diag_nlsk, skb, h, &c); in inet_diag_handler_cmd()
/linux-6.6.21/net/xdp/
Dxsk_diag.c193 return netlink_dump_start(net->diag_nlsk, nlskb, hdr, &c); in xsk_diag_handler_dump()
/linux-6.6.21/net/netlink/
Ddiag.c238 return netlink_dump_start(net->diag_nlsk, skb, h, &c); in netlink_diag_handler_dump()
/linux-6.6.21/net/mptcp/
Dmptcp_diag.c60 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in mptcp_diag_dump_one()
/linux-6.6.21/net/packet/
Ddiag.c242 return netlink_dump_start(net->diag_nlsk, skb, h, &c); in packet_diag_handler_dump()
/linux-6.6.21/include/net/
Dnet_namespace.h189 struct sock *diag_nlsk; member
/linux-6.6.21/net/smc/
Dsmc_diag.c246 return netlink_dump_start(net->diag_nlsk, skb, h, &c); in smc_diag_handler_dump()
/linux-6.6.21/net/sctp/
Ddiag.c278 return nlmsg_unicast(sock_net(skb->sk)->diag_nlsk, rep, NETLINK_CB(skb).portid); in sctp_sock_dump_one()