Home
last modified time | relevance | path

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

/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()
/net/netfilter/
Dnf_tables_api.c694 static int nft_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb, in nft_netlink_dump_start_rcu() argument
704 err = netlink_dump_start(nlsk, skb, nlh, c); in nft_netlink_dump_start_rcu()
712 static int nf_tables_gettable(struct net *net, struct sock *nlsk, in nf_tables_gettable() argument
730 return nft_netlink_dump_start_rcu(nlsk, skb, nlh, &c); in nf_tables_gettable()
749 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_gettable()
897 static int nf_tables_newtable(struct net *net, struct sock *nlsk, in nf_tables_newtable() argument
1068 static int nf_tables_deltable(struct net *net, struct sock *nlsk, in nf_tables_deltable() argument
1399 static int nf_tables_getchain(struct net *net, struct sock *nlsk, in nf_tables_getchain() argument
1418 return nft_netlink_dump_start_rcu(nlsk, skb, nlh, &c); in nf_tables_getchain()
1443 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_getchain()
[all …]
/net/xfrm/
Dxfrm_user.c1084 struct sock *nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_nlmsg_multicast() local
1086 if (!nlsk) { in xfrm_nlmsg_multicast()
1091 return nlmsg_multicast(nlsk, skb, pid, group, GFP_ATOMIC); in xfrm_nlmsg_multicast()
1218 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_spdinfo()
1277 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_sadinfo()
1297 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1360 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
1914 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, in xfrm_get_policy()
2073 err = nlmsg_unicast(net->xfrm.nlsk, r_skb, NETLINK_CB(skb).portid); in xfrm_get_ae()
2660 return netlink_dump_start(net->xfrm.nlsk, skb, nlh, &c); in xfrm_user_rcv_msg()
[all …]