Home
last modified time | relevance | path

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

/Linux-v5.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
267 static int nfnl_acct_get(struct net *net, struct sock *nfnl, in nfnl_acct_get() argument
284 return netlink_dump_start(nfnl, skb, nlh, &c); in nfnl_acct_get()
311 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
340 static int nfnl_acct_del(struct net *net, struct sock *nfnl, in nfnl_acct_del() argument
460 netlink_broadcast(net->nfnl, skb, 0, NFNLGRP_ACCT_QUOTA, in nfnl_overquota_report()
Dnfnetlink_cthelper.c411 static int nfnl_cthelper_new(struct net *net, struct sock *nfnl, in nfnl_cthelper_new() argument
615 static int nfnl_cthelper_get(struct net *net, struct sock *nfnl, in nfnl_cthelper_get() argument
635 return netlink_dump_start(nfnl, skb, nlh, &c); in nfnl_cthelper_get()
675 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_cthelper_get()
686 static int nfnl_cthelper_del(struct net *net, struct sock *nfnl, in nfnl_cthelper_del() argument
Dnft_compat.c621 static int nfnl_compat_get_rcu(struct net *net, struct sock *nfnl, in nfnl_compat_get_rcu() argument
690 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_compat_get_rcu()
/Linux-v5.10/include/net/
Dnet_namespace.h152 struct sock *nfnl; member