Home
last modified time | relevance | path

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

/Linux-v5.10/net/netlink/
Dgenetlink.c293 if (!init_net.genl_sock) in genl_validate_assign_mc_groups()
302 err = __netlink_change_ngroups(net->genl_sock, in genl_validate_assign_mc_groups()
317 err = netlink_change_ngroups(init_net.genl_sock, in genl_validate_assign_mc_groups()
339 net->genl_sock, family->mcgrp_offset + i); in genl_unregister_mc_groups()
686 err = __netlink_dump_start(net->genl_sock, skb, nlh, &c); in genl_family_rcv_msg_dumpit()
697 err = __netlink_dump_start(net->genl_sock, skb, nlh, &c); in genl_family_rcv_msg_dumpit()
1079 if (!init_net.genl_sock) in genl_ctrl_event()
1371 net->genl_sock = netlink_kernel_create(net, NETLINK_GENERIC, &cfg); in genl_pernet_init()
1373 if (!net->genl_sock && net_eq(net, &init_net)) in genl_pernet_init()
1376 if (!net->genl_sock) in genl_pernet_init()
[all …]
/Linux-v5.10/include/net/
Dgenetlink.h310 return nlmsg_multicast(net->genl_sock, skb, portid, group, flags); in genlmsg_multicast_netns()
350 return nlmsg_unicast(net->genl_sock, skb, portid); in genlmsg_unicast()
430 return netlink_set_err(net->genl_sock, portid, group, code); in genl_set_err()
439 return netlink_has_listeners(net->genl_sock, group); in genl_has_listeners()
Dnet_namespace.h103 struct sock *genl_sock; member
/Linux-v5.10/net/ncsi/
Dncsi-netlink.c584 return nlmsg_unicast(net->genl_sock, skb, snd_portid); in ncsi_send_netlink_err()
/Linux-v5.10/net/openvswitch/
Ddatapath.c1387 netlink_set_err(sock_net(skb->sk)->genl_sock, 0, 0, in ovs_flow_cmd_del()