Home
last modified time | relevance | path

Searched refs:nfnl (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/netfilter/
Dnfnetlink.c152 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()
625 struct sock *nfnl; in nfnetlink_net_init() local
634 nfnl = netlink_kernel_create(net, NETLINK_NETFILTER, &cfg); in nfnetlink_net_init()
635 if (!nfnl) in nfnetlink_net_init()
[all …]
Dnfnetlink_acct.c47 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()
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()
Dnfnetlink_cthelper.c415 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
Dnft_compat.c616 static int nfnl_compat_get_rcu(struct net *net, struct sock *nfnl, in nfnl_compat_get_rcu() argument
685 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_compat_get_rcu()
/kernel/linux/linux-5.10/include/net/
Dnet_namespace.h158 struct sock *nfnl; member