Home
last modified time | relevance | path

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

/linux-4.1.27/net/netlink/
Ddiag.c110 struct netlink_sock *nlsk; in __netlink_diag_dump() local
119 rht_for_each_entry_rcu(nlsk, pos, htbl, i, node) { in __netlink_diag_dump()
120 sk = (struct sock *)nlsk; in __netlink_diag_dump()
/linux-4.1.27/include/net/netns/
Dxfrm.h60 struct sock *nlsk; member
/linux-4.1.27/include/net/
Dxfrm.h1663 struct sock *nlsk; in xfrm_aevent_is_on() local
1667 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_aevent_is_on()
1668 if (nlsk) in xfrm_aevent_is_on()
1669 ret = netlink_has_listeners(nlsk, XFRMNLGRP_AEVENTS); in xfrm_aevent_is_on()
1676 struct sock *nlsk; in xfrm_acquire_is_on() local
1680 nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_acquire_is_on()
1681 if (nlsk) in xfrm_acquire_is_on()
1682 ret = netlink_has_listeners(nlsk, XFRMNLGRP_ACQUIRE); in xfrm_acquire_is_on()
/linux-4.1.27/net/netfilter/
Dnf_tables_api.c507 static int nf_tables_gettable(struct sock *nlsk, struct sk_buff *skb, in nf_tables_gettable() argument
523 return netlink_dump_start(nlsk, skb, nlh, &c); in nf_tables_gettable()
546 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_gettable()
638 static int nf_tables_newtable(struct sock *nlsk, struct sk_buff *skb, in nf_tables_newtable() argument
774 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()
1176 static int nf_tables_newchain(struct sock *nlsk, struct sk_buff *skb, in nf_tables_newchain() argument
1405 static int nf_tables_delchain(struct sock *nlsk, struct sk_buff *skb, in nf_tables_delchain() argument
[all …]
/linux-4.1.27/kernel/
Daudit.c438 struct sock *sock = aunet->nlsk; in kauditd_send_multicast_skb()
536 netlink_unicast(aunet->nlsk, skb, dest->portid, 0); in audit_send_list()
580 netlink_unicast(aunet->nlsk , reply->skb, reply->portid, 0); in audit_send_reply_thread()
1123 aunet->nlsk = netlink_kernel_create(net, NETLINK_AUDIT, &cfg); in audit_net_init()
1124 if (aunet->nlsk == NULL) { in audit_net_init()
1128 aunet->nlsk->sk_sndtimeo = MAX_SCHEDULE_TIMEOUT; in audit_net_init()
1135 struct sock *sock = aunet->nlsk; in audit_net_exit()
1141 RCU_INIT_POINTER(aunet->nlsk, NULL); in audit_net_exit()
Daudit.h249 struct sock *nlsk; member
/linux-4.1.27/net/xfrm/
Dxfrm_user.c956 struct sock *nlsk = rcu_dereference(net->xfrm.nlsk); in xfrm_nlmsg_multicast() local
958 if (nlsk) in xfrm_nlmsg_multicast()
959 return nlmsg_multicast(nlsk, skb, pid, group, GFP_ATOMIC); in xfrm_nlmsg_multicast()
1087 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_spdinfo()
1145 return nlmsg_unicast(net->xfrm.nlsk, r_skb, sportid); in xfrm_get_sadinfo()
1165 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1223 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
1738 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, in xfrm_get_policy()
1892 err = nlmsg_unicast(net->xfrm.nlsk, r_skb, NETLINK_CB(skb).portid); in xfrm_get_ae()
2453 return netlink_dump_start(net->xfrm.nlsk, skb, nlh, &c); in xfrm_user_rcv_msg()
[all …]