Searched refs:nlsk (Results 1 – 6 of 6) sorted by relevance
/linux/net/netlink/ |
A D | diag.c | 96 struct netlink_sock *nlsk; in __netlink_diag_dump() local 121 while ((nlsk = rhashtable_walk_next(hti))) { in __netlink_diag_dump() 122 if (IS_ERR(nlsk)) { in __netlink_diag_dump() 123 ret = PTR_ERR(nlsk); in __netlink_diag_dump() 131 sk = (struct sock *)nlsk; in __netlink_diag_dump()
|
/linux/include/net/ |
A D | xfrm.h | 1744 struct sock *nlsk; in xfrm_aevent_is_on() local 1748 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_aevent_is_on() 1749 if (nlsk) in xfrm_aevent_is_on() 1750 ret = netlink_has_listeners(nlsk, XFRMNLGRP_AEVENTS); in xfrm_aevent_is_on() 1757 struct sock *nlsk; in xfrm_acquire_is_on() local 1761 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_acquire_is_on() 1762 if (nlsk) in xfrm_acquire_is_on() 1763 ret = netlink_has_listeners(nlsk, XFRMNLGRP_ACQUIRE); in xfrm_acquire_is_on()
|
/linux/net/xfrm/ |
A D | xfrm_user.c | 1157 struct sock *nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_nlmsg_multicast() local 1160 if (!nlsk) { in xfrm_nlmsg_multicast() 1303 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_spdinfo() 1362 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_sadinfo() 2057 return nlmsg_unicast(net->xfrm.nlsk, r_skb, portid); in xfrm_get_default() 2122 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, in xfrm_get_policy() 3579 struct sock *nlsk; in xfrm_user_net_init() local 3586 if (nlsk == NULL) in xfrm_user_net_init() 3588 net->xfrm.nlsk_stash = nlsk; /* Don't set to NULL */ in xfrm_user_net_init() 3589 rcu_assign_pointer(net->xfrm.nlsk, nlsk); in xfrm_user_net_init() [all …]
|
/linux/include/net/netns/ |
A D | xfrm.h | 61 struct sock *nlsk; member
|
/linux/net/netfilter/ |
A D | nfnetlink_hook.c | 36 static int nf_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb, in nf_netlink_dump_start_rcu() argument 46 err = netlink_dump_start(nlsk, skb, nlh, c); in nf_netlink_dump_start_rcu()
|
A D | nf_tables_api.c | 853 static int nft_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb, in nft_netlink_dump_start_rcu() argument 863 err = netlink_dump_start(nlsk, skb, nlh, c); in nft_netlink_dump_start_rcu()
|
Completed in 36 milliseconds