Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/include/net/netns/
Dxfrm.h60 struct sock *nlsk; member
/Linux-v5.10/include/net/
Dxfrm.h1726 struct sock *nlsk; in xfrm_aevent_is_on() local
1730 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_aevent_is_on()
1731 if (nlsk) in xfrm_aevent_is_on()
1732 ret = netlink_has_listeners(nlsk, XFRMNLGRP_AEVENTS); in xfrm_aevent_is_on()
1739 struct sock *nlsk; in xfrm_acquire_is_on() local
1743 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_acquire_is_on()
1744 if (nlsk) in xfrm_acquire_is_on()
1745 ret = netlink_has_listeners(nlsk, XFRMNLGRP_ACQUIRE); in xfrm_acquire_is_on()
/Linux-v5.10/net/xfrm/
Dxfrm_user.c1097 struct sock *nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_nlmsg_multicast() local
1100 if (!nlsk) { in xfrm_nlmsg_multicast()
1116 return nlmsg_multicast(nlsk, skb, pid, group, GFP_ATOMIC); in xfrm_nlmsg_multicast()
1243 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_spdinfo()
1302 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_sadinfo()
1322 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1397 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
1966 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, in xfrm_get_policy()
2125 err = nlmsg_unicast(net->xfrm.nlsk, r_skb, NETLINK_CB(skb).portid); in xfrm_get_ae()
2737 err = netlink_dump_start(net->xfrm.nlsk, skb, nlh, &c); in xfrm_user_rcv_msg()
[all …]
/Linux-v5.10/net/netfilter/
Dnf_tables_api.c784 static int nft_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb, in nft_netlink_dump_start_rcu() argument
794 err = netlink_dump_start(nlsk, skb, nlh, c); in nft_netlink_dump_start_rcu()
802 static int nf_tables_gettable(struct net *net, struct sock *nlsk, in nf_tables_gettable() argument
820 return nft_netlink_dump_start_rcu(nlsk, skb, nlh, &c); in nf_tables_gettable()
989 static int nf_tables_newtable(struct net *net, struct sock *nlsk, in nf_tables_newtable() argument
1176 static int nf_tables_deltable(struct net *net, struct sock *nlsk, in nf_tables_deltable() argument
1559 static int nf_tables_getchain(struct net *net, struct sock *nlsk, in nf_tables_getchain() argument
1578 return nft_netlink_dump_start_rcu(nlsk, skb, nlh, &c); in nf_tables_getchain()
2283 static int nf_tables_newchain(struct net *net, struct sock *nlsk, in nf_tables_newchain() argument
2380 static int nf_tables_delchain(struct net *net, struct sock *nlsk, in nf_tables_delchain() argument
[all …]