Home
last modified time | relevance | path

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

/linux-6.1.9/net/netlink/
Ddiag.c96 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-6.1.9/include/net/netns/
Dxfrm.h61 struct sock *nlsk; member
/linux-6.1.9/include/net/
Dxfrm.h1765 struct sock *nlsk; in xfrm_aevent_is_on() local
1769 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_aevent_is_on()
1770 if (nlsk) in xfrm_aevent_is_on()
1771 ret = netlink_has_listeners(nlsk, XFRMNLGRP_AEVENTS); in xfrm_aevent_is_on()
1778 struct sock *nlsk; in xfrm_acquire_is_on() local
1782 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_acquire_is_on()
1783 if (nlsk) in xfrm_acquire_is_on()
1784 ret = netlink_has_listeners(nlsk, XFRMNLGRP_ACQUIRE); in xfrm_acquire_is_on()
/linux-6.1.9/net/xfrm/
Dxfrm_user.c1261 struct sock *nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_nlmsg_multicast() local
1264 if (!nlsk) { in xfrm_nlmsg_multicast()
1280 return nlmsg_multicast(nlsk, skb, pid, group, GFP_ATOMIC); in xfrm_nlmsg_multicast()
1409 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_spdinfo()
1469 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_sadinfo()
1489 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1565 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
2188 return nlmsg_unicast(net->xfrm.nlsk, r_skb, portid); in xfrm_get_default()
2254 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, in xfrm_get_policy()
2414 err = nlmsg_unicast(net->xfrm.nlsk, r_skb, NETLINK_CB(skb).portid); in xfrm_get_ae()
[all …]
/linux-6.1.9/net/netfilter/
Dnfnetlink_hook.c37 static int nf_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb, in nf_netlink_dump_start_rcu() argument
47 err = netlink_dump_start(nlsk, skb, nlh, c); in nf_netlink_dump_start_rcu()
Dnf_tables_api.c933 static int nft_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb, in nft_netlink_dump_start_rcu() argument
943 err = netlink_dump_start(nlsk, skb, nlh, c); in nft_netlink_dump_start_rcu()