Home
last modified time | relevance | path

Searched refs:nf_hook_entries (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/include/net/netns/
Dnetfilter.h20 struct nf_hook_entries __rcu *hooks_ipv4[NF_INET_NUMHOOKS];
21 struct nf_hook_entries __rcu *hooks_ipv6[NF_INET_NUMHOOKS];
23 struct nf_hook_entries __rcu *hooks_arp[NF_ARP_NUMHOOKS];
26 struct nf_hook_entries __rcu *hooks_bridge[NF_INET_NUMHOOKS];
29 struct nf_hook_entries __rcu *hooks_decnet[NF_DN_NUMHOOKS];
/Linux-v4.19/net/netfilter/
Dcore.c49 static struct nf_hook_entries *allocate_hook_entries_size(u16 num) in allocate_hook_entries_size()
51 struct nf_hook_entries *e; in allocate_hook_entries_size()
74 static void nf_hook_entries_free(struct nf_hook_entries *e) in nf_hook_entries_free()
102 static struct nf_hook_entries *
103 nf_hook_entries_grow(const struct nf_hook_entries *old, in nf_hook_entries_grow()
109 struct nf_hook_entries *new; in nf_hook_entries_grow()
163 static void hooks_validate(const struct nf_hook_entries *hooks) in hooks_validate()
184 int nf_hook_entries_insert_raw(struct nf_hook_entries __rcu **pp, in nf_hook_entries_insert_raw()
187 struct nf_hook_entries *new_hooks; in nf_hook_entries_insert_raw()
188 struct nf_hook_entries *p; in nf_hook_entries_insert_raw()
[all …]
Dnf_internals.h11 const struct nf_hook_entries *entries, unsigned int index,
19 void nf_hook_entries_delete_raw(struct nf_hook_entries __rcu **pp,
21 int nf_hook_entries_insert_raw(struct nf_hook_entries __rcu **pp,
Dnf_queue.c143 const struct nf_hook_entries *entries, in __nf_queue()
212 const struct nf_hook_entries *entries, unsigned int index, in nf_queue()
230 const struct nf_hook_entries *hooks, in nf_iterate()
252 static struct nf_hook_entries *nf_hook_entries_head(const struct net *net, u8 pf, u8 hooknum) in nf_hook_entries_head()
275 const struct nf_hook_entries *hooks; in nf_reinject()
Dnf_nat_core.c50 struct nf_hook_entries __rcu *entries;
578 struct nf_hook_entries *e = rcu_dereference(lpriv->entries); in nf_nat_inet_fn()
/Linux-v4.19/include/linux/
Dnetfilter.h85 struct nf_hook_entries { struct
105 static inline struct nf_hook_ops **nf_hook_entries_get_hook_ops(const struct nf_hook_entries *e) in nf_hook_entries_get_hook_ops() argument
184 const struct nf_hook_entries *e, unsigned int i);
198 struct nf_hook_entries *hook_head = NULL; in nf_hook()
Dnetfilter_ingress.h21 struct nf_hook_entries *e = rcu_dereference(skb->dev->nf_hooks_ingress); in nf_hook_ingress()
Dnetdevice.h1910 struct nf_hook_entries __rcu *nf_hooks_ingress;
/Linux-v4.19/net/bridge/
Dbr_netfilter_hooks.c992 const struct nf_hook_entries *e; in br_nf_hook_thresh()