Home
last modified time | relevance | path

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

/linux-6.1.9/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()
164 static void hooks_validate(const struct nf_hook_entries *hooks) in hooks_validate()
185 int nf_hook_entries_insert_raw(struct nf_hook_entries __rcu **pp, in nf_hook_entries_insert_raw()
188 struct nf_hook_entries *new_hooks; in nf_hook_entries_insert_raw()
189 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.c256 const struct nf_hook_entries *hooks, in nf_iterate()
279 static struct nf_hook_entries *nf_hook_entries_head(const struct net *net, u8 pf, u8 hooknum) in nf_hook_entries_head()
302 const struct nf_hook_entries *hooks; in nf_reinject()
Dnfnetlink_hook.c185 static const struct nf_hook_entries *
188 const struct nf_hook_entries *hook_head = NULL; in nfnl_hook_entries_head()
255 const struct nf_hook_entries *e; in nfnl_hook_dump()
Dnf_nat_core.c40 struct nf_hook_entries __rcu *entries;
743 struct nf_hook_entries *e = rcu_dereference(lpriv->entries); in nf_nat_inet_fn()
/linux-6.1.9/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.1.9/include/linux/
Dnetfilter.h107 struct nf_hook_entries { struct
128 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
200 const struct nf_hook_entries *e, unsigned int i);
203 const struct nf_hook_entries *e);
216 struct nf_hook_entries *hook_head = NULL; in nf_hook()
311 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.h2206 struct nf_hook_entries __rcu *nf_hooks_ingress;
2234 struct nf_hook_entries __rcu *nf_hooks_egress;
/linux-6.1.9/net/bridge/
Dbr_input.c234 struct nf_hook_entries *e = NULL; in nf_hook_bridge_pre()
Dbr_netfilter_hooks.c1006 const struct nf_hook_entries *e; in br_nf_hook_thresh()