Home
last modified time | relevance | path

Searched refs:nlsk (Results 1 – 6 of 6) sorted by relevance

/linux/net/netlink/
H A Ddiag.c96 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 Dxfrm.h61 struct sock *nlsk; member
/linux/include/net/
H A Dxfrm.h1878 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 Dxfrm_user.c1445 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 Dnfnetlink_hook.c38 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 Dnf_tables_api.c1146 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()