Home
last modified time | relevance | path

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

/linux-6.6.21/net/netfilter/
Dcore.c50 static struct nf_hook_entries *allocate_hook_entries_size(u16 num) in allocate_hook_entries_size()
52 struct nf_hook_entries *e; in allocate_hook_entries_size()
75 static void nf_hook_entries_free(struct nf_hook_entries *e) in nf_hook_entries_free()
103 static struct nf_hook_entries *
104 nf_hook_entries_grow(const struct nf_hook_entries *old, in nf_hook_entries_grow()
110 struct nf_hook_entries *new; in nf_hook_entries_grow()
176 static void hooks_validate(const struct nf_hook_entries *hooks) in hooks_validate()
197 int nf_hook_entries_insert_raw(struct nf_hook_entries __rcu **pp, in nf_hook_entries_insert_raw()
200 struct nf_hook_entries *new_hooks; in nf_hook_entries_insert_raw()
201 struct nf_hook_entries *p; in nf_hook_entries_insert_raw()
[all …]
Dnf_internals.h33 void nf_hook_entries_delete_raw(struct nf_hook_entries __rcu **pp,
35 int nf_hook_entries_insert_raw(struct nf_hook_entries __rcu **pp,
Dnf_queue.c254 const struct nf_hook_entries *hooks, in nf_iterate()
277 static struct nf_hook_entries *nf_hook_entries_head(const struct net *net, u8 pf, u8 hooknum) in nf_hook_entries_head()
300 const struct nf_hook_entries *hooks; in nf_reinject()
Dnfnetlink_hook.c240 static const struct nf_hook_entries *
243 const struct nf_hook_entries *hook_head = NULL; in nfnl_hook_entries_head()
310 const struct nf_hook_entries *e; in nfnl_hook_dump()
Dnf_nat_core.c43 struct nf_hook_entries __rcu *entries;
827 struct nf_hook_entries *e = rcu_dereference(lpriv->entries); in nf_nat_inet_fn()
/linux-6.6.21/include/net/netns/
Dnetfilter.h19 struct nf_hook_entries __rcu *hooks_ipv4[NF_INET_NUMHOOKS];
20 struct nf_hook_entries __rcu *hooks_ipv6[NF_INET_NUMHOOKS];
22 struct nf_hook_entries __rcu *hooks_arp[NF_ARP_NUMHOOKS];
25 struct nf_hook_entries __rcu *hooks_bridge[NF_INET_NUMHOOKS];
/linux-6.6.21/include/linux/
Dnetfilter.h109 struct nf_hook_entries { struct
130 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
202 const struct nf_hook_entries *e, unsigned int i);
205 const struct nf_hook_entries *e);
218 struct nf_hook_entries *hook_head = NULL; in nf_hook()
313 struct nf_hook_entries *hook_head = NULL; in NF_HOOK_LIST()
Dnetfilter_netdev.h21 struct nf_hook_entries *e = rcu_dereference(skb->dev->nf_hooks_ingress); in nf_hook_ingress()
88 struct nf_hook_entries *e; in nf_hook_egress()
Dnetdevice.h2263 struct nf_hook_entries __rcu *nf_hooks_ingress;
2291 struct nf_hook_entries __rcu *nf_hooks_egress;
/linux-6.6.21/net/bridge/
Dbr_input.c251 struct nf_hook_entries *e = NULL; in nf_hook_bridge_pre()
Dbr_netfilter_hooks.c1135 const struct nf_hook_entries *e; in br_nf_hook_thresh()