Home
last modified time | relevance | path

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

/linux-6.12.1/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.h39 void nf_hook_entries_delete_raw(struct nf_hook_entries __rcu **pp,
41 int nf_hook_entries_insert_raw(struct nf_hook_entries __rcu **pp,
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()
Dnfnetlink_queue.c232 const struct nf_hook_entries *hooks, in nf_iterate()
255 static struct nf_hook_entries *nf_hook_entries_head(const struct net *net, u8 pf, u8 hooknum) in nf_hook_entries_head()
315 const struct nf_hook_entries *hooks; in nf_reinject()
Dnf_nat_core.c43 struct nf_hook_entries __rcu *entries;
946 struct nf_hook_entries *e = rcu_dereference(lpriv->entries); in nf_nat_inet_fn()
/linux-6.12.1/include/net/netns/
Dnetfilter.h22 struct nf_hook_entries __rcu *hooks_ipv4[NF_INET_NUMHOOKS];
23 struct nf_hook_entries __rcu *hooks_ipv6[NF_INET_NUMHOOKS];
25 struct nf_hook_entries __rcu *hooks_arp[NF_ARP_NUMHOOKS];
28 struct nf_hook_entries __rcu *hooks_bridge[NF_INET_NUMHOOKS];
/linux-6.12.1/include/linux/
Dnetfilter.h119 struct nf_hook_entries { struct
140 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
212 const struct nf_hook_entries *e, unsigned int i);
215 const struct nf_hook_entries *e);
228 struct nf_hook_entries *hook_head = NULL; in nf_hook()
323 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.h2049 struct nf_hook_entries __rcu *nf_hooks_egress;
2255 struct nf_hook_entries __rcu *nf_hooks_ingress;
/linux-6.12.1/net/bridge/
Dbr_input.c256 struct nf_hook_entries *e = NULL; in nf_hook_bridge_pre()
Dbr_netfilter_hooks.c1160 const struct nf_hook_entries *e; in br_nf_hook_thresh()