Home
last modified time | relevance | path

Searched refs:nft_af_info (Results 1 – 11 of 11) sorted by relevance

/linux-4.4.14/include/net/netns/
Dnftables.h6 struct nft_af_info;
11 struct nft_af_info *ipv4;
12 struct nft_af_info *ipv6;
13 struct nft_af_info *inet;
14 struct nft_af_info *arp;
15 struct nft_af_info *bridge;
16 struct nft_af_info *netdev;
/linux-4.4.14/net/netfilter/
Dnf_tables_inet.c21 struct nft_af_info *afi; in nft_inet_hook_ops_init()
33 static struct nft_af_info nft_af_inet __read_mostly = {
43 net->nft.inet = kmalloc(sizeof(struct nft_af_info), GFP_KERNEL); in nf_tables_inet_init_net()
Dnf_tables_netdev.c112 static struct nft_af_info nft_af_netdev __read_mostly = {
125 net->nft.netdev = kmalloc(sizeof(struct nft_af_info), GFP_KERNEL); in nf_tables_netdev_init_net()
159 static void nft_netdev_event(unsigned long event, struct nft_af_info *afi, in nft_netdev_event()
202 struct nft_af_info *afi; in nf_tables_netdev_event()
Dnf_tables_api.c34 int nft_register_afinfo(struct net *net, struct nft_af_info *afi) in nft_register_afinfo()
51 void nft_unregister_afinfo(struct nft_af_info *afi) in nft_unregister_afinfo()
59 static struct nft_af_info *nft_afinfo_lookup(struct net *net, int family) in nft_afinfo_lookup()
61 struct nft_af_info *afi; in nft_afinfo_lookup()
70 static struct nft_af_info *
73 struct nft_af_info *afi; in nf_tables_afinfo_lookup()
95 struct nft_af_info *afi, in nft_ctx_init()
365 static struct nft_table *nft_table_lookup(const struct nft_af_info *afi, in nft_table_lookup()
377 static struct nft_table *nf_tables_table_lookup(const struct nft_af_info *afi, in nf_tables_table_lookup()
413 nf_tables_chain_type_lookup(const struct nft_af_info *afi, in nf_tables_chain_type_lookup()
[all …]
/linux-4.4.14/net/ipv4/netfilter/
Dnf_tables_arp.c29 static struct nft_af_info nft_af_arp __read_mostly = {
43 net->nft.arp = kmalloc(sizeof(struct nft_af_info), GFP_KERNEL); in nf_tables_arp_init_net()
Dnf_tables_ipv4.c47 struct nft_af_info nft_af_ipv4 __read_mostly = {
64 net->nft.ipv4 = kmalloc(sizeof(struct nft_af_info), GFP_KERNEL); in nf_tables_ipv4_init_net()
/linux-4.4.14/net/ipv6/netfilter/
Dnf_tables_ipv6.c46 struct nft_af_info nft_af_ipv6 __read_mostly = {
63 net->nft.ipv6 = kmalloc(sizeof(struct nft_af_info), GFP_KERNEL); in nf_tables_ipv6_init_net()
/linux-4.4.14/net/bridge/netfilter/
Dnf_tables_bridge.c111 static struct nft_af_info nft_af_bridge __read_mostly = {
127 net->nft.bridge = kmalloc(sizeof(struct nft_af_info), GFP_KERNEL); in nf_tables_bridge_init_net()
/linux-4.4.14/include/net/netfilter/
Dnf_tables_ipv6.h29 extern struct nft_af_info nft_af_ipv6;
Dnf_tables_ipv4.h22 extern struct nft_af_info nft_af_ipv4;
Dnf_tables.h101 struct nft_af_info *afi;
871 struct nft_af_info { struct
884 int nft_register_afinfo(struct net *, struct nft_af_info *); argument
885 void nft_unregister_afinfo(struct nft_af_info *);