/linux-4.4.14/net/netlink/ |
D | diag.c | 110 struct netlink_sock *nlsk; in __netlink_diag_dump() local 119 rht_for_each_entry_rcu(nlsk, pos, htbl, i, node) { in __netlink_diag_dump() 120 sk = (struct sock *)nlsk; in __netlink_diag_dump()
|
/linux-4.4.14/include/net/netns/ |
D | xfrm.h | 60 struct sock *nlsk; member
|
/linux-4.4.14/include/net/ |
D | xfrm.h | 1674 struct sock *nlsk; in xfrm_aevent_is_on() local 1678 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_aevent_is_on() 1679 if (nlsk) in xfrm_aevent_is_on() 1680 ret = netlink_has_listeners(nlsk, XFRMNLGRP_AEVENTS); in xfrm_aevent_is_on() 1687 struct sock *nlsk; in xfrm_acquire_is_on() local 1691 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_acquire_is_on() 1692 if (nlsk) in xfrm_acquire_is_on() 1693 ret = netlink_has_listeners(nlsk, XFRMNLGRP_ACQUIRE); in xfrm_acquire_is_on()
|
/linux-4.4.14/net/netfilter/ |
D | nf_tables_api.c | 545 static int nf_tables_gettable(struct sock *nlsk, struct sk_buff *skb, in nf_tables_gettable() argument 561 return netlink_dump_start(nlsk, skb, nlh, &c); in nf_tables_gettable() 584 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_gettable() 676 static int nf_tables_newtable(struct net *net, struct sock *nlsk, in nf_tables_newtable() argument 813 static int nf_tables_deltable(struct net *net, struct sock *nlsk, in nf_tables_deltable() argument 1101 static int nf_tables_getchain(struct sock *nlsk, struct sk_buff *skb, in nf_tables_getchain() argument 1118 return netlink_dump_start(nlsk, skb, nlh, &c); in nf_tables_getchain() 1147 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_getchain() 1223 static int nf_tables_newchain(struct net *net, struct sock *nlsk, in nf_tables_newchain() argument 1477 static int nf_tables_delchain(struct net *net, struct sock *nlsk, in nf_tables_delchain() argument [all …]
|
/linux-4.4.14/kernel/ |
D | audit.c | 455 struct sock *sock = aunet->nlsk; in kauditd_send_multicast_skb() 553 netlink_unicast(aunet->nlsk, skb, dest->portid, 0); in audit_send_list() 597 netlink_unicast(aunet->nlsk , reply->skb, reply->portid, 0); in audit_send_reply_thread() 1137 aunet->nlsk = netlink_kernel_create(net, NETLINK_AUDIT, &cfg); in audit_net_init() 1138 if (aunet->nlsk == NULL) { in audit_net_init() 1142 aunet->nlsk->sk_sndtimeo = MAX_SCHEDULE_TIMEOUT; in audit_net_init() 1149 struct sock *sock = aunet->nlsk; in audit_net_exit() 1155 RCU_INIT_POINTER(aunet->nlsk, NULL); in audit_net_exit()
|
D | audit.h | 250 struct sock *nlsk; member
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_user.c | 979 struct sock *nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_nlmsg_multicast() local 981 if (nlsk) in xfrm_nlmsg_multicast() 982 return nlmsg_multicast(nlsk, skb, pid, group, GFP_ATOMIC); in xfrm_nlmsg_multicast() 1110 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_spdinfo() 1168 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_sadinfo() 1188 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa() 1246 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi() 1761 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, in xfrm_get_policy() 1915 err = nlmsg_unicast(net->xfrm.nlsk, r_skb, NETLINK_CB(skb).portid); in xfrm_get_ae() 2478 return netlink_dump_start(net->xfrm.nlsk, skb, nlh, &c); in xfrm_user_rcv_msg() [all …]
|