Home
last modified time | relevance | path

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

/net/netlink/
Ddiag.c70 struct netlink_sock *nlsk; in __netlink_diag_dump() local
77 rht_for_each_entry(nlsk, htbl->buckets[i], ht, node) { in __netlink_diag_dump()
78 sk = (struct sock *)nlsk; in __netlink_diag_dump()
/net/netfilter/
Dnf_tables_api.c510 static int nf_tables_gettable(struct sock *nlsk, struct sk_buff *skb, in nf_tables_gettable() argument
526 return netlink_dump_start(nlsk, skb, nlh, &c); in nf_tables_gettable()
549 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_gettable()
641 static int nf_tables_newtable(struct sock *nlsk, struct sk_buff *skb, in nf_tables_newtable() argument
775 static int nf_tables_deltable(struct sock *nlsk, struct sk_buff *skb, in nf_tables_deltable() argument
1058 static int nf_tables_getchain(struct sock *nlsk, struct sk_buff *skb, in nf_tables_getchain() argument
1075 return netlink_dump_start(nlsk, skb, nlh, &c); in nf_tables_getchain()
1104 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_getchain()
1174 static int nf_tables_newchain(struct sock *nlsk, struct sk_buff *skb, in nf_tables_newchain() argument
1399 static int nf_tables_delchain(struct sock *nlsk, struct sk_buff *skb, in nf_tables_delchain() argument
[all …]
/net/xfrm/
Dxfrm_user.c969 struct sock *nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_nlmsg_multicast() local
971 if (nlsk) in xfrm_nlmsg_multicast()
972 return nlmsg_multicast(nlsk, skb, pid, group, GFP_ATOMIC); in xfrm_nlmsg_multicast()
1099 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_spdinfo()
1156 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_sadinfo()
1176 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1234 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
1755 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, in xfrm_get_policy()
1908 err = nlmsg_unicast(net->xfrm.nlsk, r_skb, NETLINK_CB(skb).portid); in xfrm_get_ae()
2476 return netlink_dump_start(net->xfrm.nlsk, skb, nlh, &c); in xfrm_user_rcv_msg()
[all …]