Home
last modified time | relevance | path

Searched refs:nlsk (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/xfrm/
H A Dxfrm_user.c1113 /* A wrapper for nlmsg_multicast() checking that nlsk is still available.
1119 struct sock *nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_nlmsg_multicast() local
1122 if (!nlsk) { in xfrm_nlmsg_multicast()
1138 return nlmsg_multicast(nlsk, skb, pid, group, GFP_ATOMIC); in xfrm_nlmsg_multicast()
1265 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_spdinfo()
1324 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_sadinfo()
1344 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1419 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
2012 return nlmsg_unicast(net->xfrm.nlsk, r_sk in xfrm_get_default()
3542 struct sock *nlsk; xfrm_user_net_init() local
[all...]
/kernel/linux/linux-5.10/include/net/netns/
H A Dxfrm.h61 struct sock *nlsk; member
/kernel/linux/linux-6.6/include/net/netns/
H A Dxfrm.h62 struct sock *nlsk; member
/kernel/linux/linux-5.10/include/net/
H A Dxfrm.h1759 struct sock *nlsk; in xfrm_aevent_is_on() local
1763 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_aevent_is_on()
1764 if (nlsk) in xfrm_aevent_is_on()
1765 ret = netlink_has_listeners(nlsk, XFRMNLGRP_AEVENTS); in xfrm_aevent_is_on()
1772 struct sock *nlsk; in xfrm_acquire_is_on() local
1776 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_acquire_is_on()
1777 if (nlsk) in xfrm_acquire_is_on()
1778 ret = netlink_has_listeners(nlsk, XFRMNLGRP_ACQUIR in xfrm_acquire_is_on()
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dxfrm.h1834 struct sock *nlsk; in xfrm_aevent_is_on() local
1838 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_aevent_is_on()
1839 if (nlsk) in xfrm_aevent_is_on()
1840 ret = netlink_has_listeners(nlsk, XFRMNLGRP_AEVENTS); in xfrm_aevent_is_on()
1847 struct sock *nlsk; in xfrm_acquire_is_on() local
1851 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_acquire_is_on()
1852 if (nlsk) in xfrm_acquire_is_on()
1853 ret = netlink_has_listeners(nlsk, XFRMNLGRP_ACQUIR in xfrm_acquire_is_on()
[all...]
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_user.c1318 /* A wrapper for nlmsg_multicast() checking that nlsk is still available.
1324 struct sock *nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_nlmsg_multicast() local
1327 if (!nlsk) { in xfrm_nlmsg_multicast()
1343 return nlmsg_multicast(nlsk, skb, pid, group, GFP_ATOMIC); in xfrm_nlmsg_multicast()
1480 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_spdinfo()
1540 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_sadinfo()
1560 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1638 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
2278 return nlmsg_unicast(net->xfrm.nlsk, r_sk in xfrm_get_default()
3837 struct sock *nlsk; xfrm_user_net_init() local
[all...]
/kernel/linux/linux-6.6/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.c1086 static int nft_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb, in nft_netlink_dump_start_rcu() argument
1096 err = netlink_dump_start(nlsk, skb, nlh, c); in nft_netlink_dump_start_rcu()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_tables_api.c969 static int nft_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb, in nft_netlink_dump_start_rcu() argument
979 err = netlink_dump_start(nlsk, skb, nlh, c); in nft_netlink_dump_start_rcu()
987 static int nf_tables_gettable(struct net *net, struct sock *nlsk, in nf_tables_gettable() argument
1005 return nft_netlink_dump_start_rcu(nlsk, skb, nlh, &c); in nf_tables_gettable()
1214 static int nf_tables_newtable(struct net *net, struct sock *nlsk, in nf_tables_newtable() argument
1405 static int nf_tables_deltable(struct net *net, struct sock *nlsk, in nf_tables_deltable() argument
1777 static int nf_tables_getchain(struct net *net, struct sock *nlsk, in nf_tables_getchain() argument
1796 return nft_netlink_dump_start_rcu(nlsk, skb, nlh, &c); in nf_tables_getchain()
2513 static int nf_tables_newchain(struct net *net, struct sock *nlsk, in nf_tables_newchain() argument
2611 static int nf_tables_delchain(struct net *net, struct sock *nlsk, in nf_tables_delchain() argument
3241 nf_tables_getrule(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_getrule() argument
3383 nf_tables_newrule(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_newrule() argument
3636 nf_tables_delrule(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_delrule() argument
4220 nf_tables_getset(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_getset() argument
4354 nf_tables_newset(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_newset() argument
4637 nf_tables_delset(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_delset() argument
5276 nf_tables_getsetelem(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_getsetelem() argument
5780 nf_tables_newsetelem(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_newsetelem() argument
5983 nf_tables_delsetelem(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_delsetelem() argument
6264 nf_tables_newobj(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_newobj() argument
6527 nf_tables_getobj(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_getobj() argument
6617 nf_tables_delobj(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_delobj() argument
7063 nf_tables_newflowtable(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_newflowtable() argument
7255 nf_tables_delflowtable(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_delflowtable() argument
7450 nf_tables_getflowtable(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_getflowtable() argument
7656 nf_tables_getgen(struct net *net, struct sock *nlsk, struct sk_buff *skb, const struct nlmsghdr *nlh, const struct nlattr * const nla[], struct netlink_ext_ack *extack) nf_tables_getgen() argument
[all...]

Completed in 40 milliseconds