/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nfnetlink.c | 152 return netlink_has_listeners(net->nfnl, group); in nfnetlink_has_listeners() 159 return nlmsg_notify(net->nfnl, skb, portid, group, echo, flags); in nfnetlink_send() 165 return netlink_set_err(net->nfnl, portid, group, error); in nfnetlink_set_err() 173 err = nlmsg_unicast(net->nfnl, skb, portid); in nfnetlink_unicast() 241 err = nc->call_rcu(net, net->nfnl, skb, nlh, in nfnetlink_rcv_msg() 252 err = nc->call(net, net->nfnl, skb, nlh, in nfnetlink_rcv_msg() 456 err = nc->call_batch(net, net->nfnl, skb, nlh, in nfnetlink_rcv_batch() 624 struct sock *nfnl; in nfnetlink_net_init() local 633 nfnl = netlink_kernel_create(net, NETLINK_NETFILTER, &cfg); in nfnetlink_net_init() 634 if (!nfnl) in nfnetlink_net_init() [all...] |
H A D | nfnetlink_acct.c | 47 static int nfnl_acct_new(struct net *net, struct sock *nfnl, in nfnl_acct_new() argument 262 static int nfnl_acct_get(struct net *net, struct sock *nfnl, in nfnl_acct_get() argument 279 return netlink_dump_start(nfnl, skb, nlh, &c); in nfnl_acct_get() 306 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_acct_get() 326 /* We are protected by nfnl mutex. */ in nfnl_acct_try_del() 335 static int nfnl_acct_del(struct net *net, struct sock *nfnl, in nfnl_acct_del() argument 455 netlink_broadcast(net->nfnl, skb, 0, NFNLGRP_ACCT_QUOTA, in nfnl_overquota_report()
|
H A D | nfnetlink_cthelper.c | 415 static int nfnl_cthelper_new(struct net *net, struct sock *nfnl, in nfnl_cthelper_new() argument 614 static int nfnl_cthelper_get(struct net *net, struct sock *nfnl, in nfnl_cthelper_get() argument 634 return netlink_dump_start(nfnl, skb, nlh, &c); in nfnl_cthelper_get() 674 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_cthelper_get() 685 static int nfnl_cthelper_del(struct net *net, struct sock *nfnl, in nfnl_cthelper_del() argument
|
H A D | nft_compat.c | 635 static int nfnl_compat_get_rcu(struct net *net, struct sock *nfnl, in nfnl_compat_get_rcu() argument 704 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_compat_get_rcu()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nfnetlink.c | 53 struct sock *nfnl; member 172 return netlink_has_listeners(nfnlnet->nfnl, group); in nfnetlink_has_listeners() 181 return nlmsg_notify(nfnlnet->nfnl, skb, portid, group, echo, flags); in nfnetlink_send() 189 return netlink_set_err(nfnlnet->nfnl, portid, group, error); in nfnetlink_set_err() 198 err = nlmsg_unicast(nfnlnet->nfnl, skb, portid); in nfnetlink_unicast() 211 netlink_broadcast(nfnlnet->nfnl, skb, portid, group, allocation); in nfnetlink_broadcast() 263 .sk = nfnlnet->nfnl, in nfnetlink_rcv_msg() 500 .sk = nfnlnet->nfnl, in nfnetlink_rcv_batch() 768 nfnlnet->nfnl = netlink_kernel_create(net, NETLINK_NETFILTER, &cfg); in nfnetlink_net_init() 769 if (!nfnlnet->nfnl) in nfnetlink_net_init() [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | net_namespace.h | 158 struct sock *nfnl; member
|