Searched refs:nlsk (Results 1 – 6 of 6) sorted by relevance
/linux/net/netlink/ |
H A D | diag.c | 96 struct netlink_sock *nlsk; in __netlink_diag_dump() local 122 while ((nlsk = rhashtable_walk_next(hti))) { in __netlink_diag_dump() 123 if (IS_ERR(nlsk)) { in __netlink_diag_dump() 124 ret = PTR_ERR(nlsk); in __netlink_diag_dump() 132 sk = (struct sock *)nlsk; in __netlink_diag_dump()
|
/linux/include/net/netns/ |
H A D | xfrm.h | 61 struct sock *nlsk; member
|
/linux/include/net/ |
H A D | xfrm.h | 1878 struct sock *nlsk; in xfrm_aevent_is_on() local 1882 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_aevent_is_on() 1883 if (nlsk) in xfrm_aevent_is_on() 1884 ret = netlink_has_listeners(nlsk, XFRMNLGRP_AEVENTS); in xfrm_aevent_is_on() 1891 struct sock *nlsk; in xfrm_acquire_is_on() local 1895 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_acquire_is_on() 1896 if (nlsk) in xfrm_acquire_is_on() 1897 ret = netlink_has_listeners(nlsk, XFRMNLGRP_ACQUIRE); in xfrm_acquire_is_on()
|
/linux/net/xfrm/ |
H A D | xfrm_user.c | 1445 struct sock *nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_nlmsg_multicast() local 1448 if (!nlsk) { in xfrm_nlmsg_multicast() 1601 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_spdinfo() 1661 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_sadinfo() 2405 return nlmsg_unicast(net->xfrm.nlsk, r_skb, portid); in xfrm_get_default() 2471 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, in xfrm_get_policy() 4010 struct sock *nlsk; in xfrm_user_net_init() local 4017 if (nlsk == NULL) in xfrm_user_net_init() 4019 net->xfrm.nlsk_stash = nlsk; /* Don't set to NULL */ in xfrm_user_net_init() 4020 rcu_assign_pointer(net->xfrm.nlsk, nlsk); in xfrm_user_net_init() [all …]
|
/linux/net/netfilter/ |
H A D | nfnetlink_hook.c | 38 static int nf_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb, in nf_netlink_dump_start_rcu() argument 48 err = netlink_dump_start(nlsk, skb, nlh, c); in nf_netlink_dump_start_rcu()
|
H A D | nf_tables_api.c | 1146 static int nft_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb, in nft_netlink_dump_start_rcu() argument 1156 err = netlink_dump_start(nlsk, skb, nlh, c); in nft_netlink_dump_start_rcu()
|