Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A 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 …]
H A 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,
H A 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()
H A 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()
H A 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/include/net/netns/
H A 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/include/linux/
H A 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()
H A 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()
H A Dnetdevice.h2086 struct nf_hook_entries __rcu *nf_hooks_egress;
2292 struct nf_hook_entries __rcu *nf_hooks_ingress;
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst110 struct nf_hook_entries* nf_hooks_ingress
122 struct nf_hook_entries* nf_hooks_egress read_mostly
/linux/net/bridge/
H A Dbr_input.c256 struct nf_hook_entries *e = NULL; in nf_hook_bridge_pre()
H A Dbr_netfilter_hooks.c1163 const struct nf_hook_entries *e; in br_nf_hook_thresh()