Home
last modified time | relevance | path

Searched refs:nf_hook_ops (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v4.19/net/netfilter/
Dcore.c54 sizeof(struct nf_hook_ops *) * num + in allocate_hook_entries_size()
77 struct nf_hook_ops **ops; in nf_hook_entries_free()
97 static const struct nf_hook_ops dummy_ops = {
104 const struct nf_hook_ops *reg) in nf_hook_entries_grow()
107 struct nf_hook_ops **orig_ops = NULL; in nf_hook_entries_grow()
108 struct nf_hook_ops **new_ops; in nf_hook_entries_grow()
166 struct nf_hook_ops **orig_ops; in hooks_validate()
185 const struct nf_hook_ops *reg) in nf_hook_entries_insert_raw()
226 struct nf_hook_ops **orig_ops; in __nf_hook_entries_try_shrink()
227 struct nf_hook_ops **new_ops; in __nf_hook_entries_try_shrink()
[all …]
Dnf_internals.h20 const struct nf_hook_ops *reg);
22 const struct nf_hook_ops *reg);
Dnf_nat_core.c56 struct nf_hook_ops *nat_hook_ops;
904 int nf_nat_register_fn(struct net *net, const struct nf_hook_ops *ops, in nf_nat_register_fn()
905 const struct nf_hook_ops *orig_nat_ops, unsigned int ops_count) in nf_nat_register_fn()
911 struct nf_hook_ops *nat_ops; in nf_nat_register_fn()
982 void nf_nat_unregister_fn(struct net *net, const struct nf_hook_ops *ops, in nf_nat_unregister_fn()
988 struct nf_hook_ops *nat_ops; in nf_nat_unregister_fn()
/Linux-v4.19/include/net/netfilter/
Dnf_nat_l3proto.h51 int nf_nat_l3proto_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops);
52 void nf_nat_l3proto_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops);
54 int nf_nat_l3proto_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops);
55 void nf_nat_l3proto_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops);
Dnf_nat.h78 int nf_nat_register_fn(struct net *net, const struct nf_hook_ops *ops,
79 const struct nf_hook_ops *nat_ops, unsigned int ops_count);
80 void nf_nat_unregister_fn(struct net *net, const struct nf_hook_ops *ops,
Dbr_netfilter.h66 br_nf_pre_routing_ipv6(const struct nf_hook_ops *ops, struct sk_buff *skb, in br_nf_pre_routing_ipv6()
/Linux-v4.19/include/linux/
Dnetfilter.h47 struct nf_hook_ops;
64 struct nf_hook_ops { 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()
112 return (struct nf_hook_ops **)hook_end; in nf_hook_entries_get_hook_ops()
167 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *ops);
168 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *ops);
169 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg,
171 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg,
/Linux-v4.19/include/linux/netfilter_ipv6/
Dip6_tables.h31 const struct nf_hook_ops *ops, struct xt_table **res);
33 const struct nf_hook_ops *ops);
/Linux-v4.19/net/ipv4/netfilter/
Dnft_chain_nat_ipv4.c41 static int nft_nat_ipv4_reg(struct net *net, const struct nf_hook_ops *ops) in nft_nat_ipv4_reg()
46 static void nft_nat_ipv4_unreg(struct net *net, const struct nf_hook_ops *ops) in nft_nat_ipv4_unreg()
Darptable_filter.c39 static struct nf_hook_ops *arpfilter_ops __read_mostly;
Diptable_security.c49 static struct nf_hook_ops *sectbl_ops __read_mostly;
Dnf_nat_l3proto_ipv4.c350 static const struct nf_hook_ops nf_nat_ipv4_ops[] = {
381 int nf_nat_l3proto_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_l3proto_ipv4_register_fn()
387 void nf_nat_l3proto_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_l3proto_ipv4_unregister_fn()
Diptable_filter.c44 static struct nf_hook_ops *filter_ops __read_mostly;
Diptable_raw.c46 static struct nf_hook_ops *rawtable_ops __read_mostly;
/Linux-v4.19/net/ipv6/netfilter/
Dnft_chain_nat_ipv6.c39 static int nft_nat_ipv6_reg(struct net *net, const struct nf_hook_ops *ops) in nft_nat_ipv6_reg()
44 static void nft_nat_ipv6_unreg(struct net *net, const struct nf_hook_ops *ops) in nft_nat_ipv6_unreg()
Dip6table_security.c48 static struct nf_hook_ops *sectbl_ops __read_mostly;
Dnf_nat_l3proto_ipv6.c373 static const struct nf_hook_ops nf_nat_ipv6_ops[] = {
404 int nf_nat_l3proto_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_l3proto_ipv6_register_fn()
410 void nf_nat_l3proto_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_l3proto_ipv6_unregister_fn()
Dip6table_filter.c44 static struct nf_hook_ops *filter_ops __read_mostly;
Dip6table_raw.c45 static struct nf_hook_ops *rawtable_ops __read_mostly;
/Linux-v4.19/include/linux/netfilter_arp/
Darp_tables.h54 const struct nf_hook_ops *ops, struct xt_table **res);
56 const struct nf_hook_ops *ops);
/Linux-v4.19/include/linux/netfilter_ipv4/
Dip_tables.h30 const struct nf_hook_ops *ops, struct xt_table **res);
32 const struct nf_hook_ops *ops);
/Linux-v4.19/include/linux/netfilter_bridge/
Debtables.h110 const struct nf_hook_ops *ops,
113 const struct nf_hook_ops *);
/Linux-v4.19/security/smack/
Dsmack_netfilter.c61 static const struct nf_hook_ops smack_nf_ops[] = {
/Linux-v4.19/net/bridge/netfilter/
Debtable_filter.c74 static const struct nf_hook_ops ebt_ops_filter[] = {
Debtable_nat.c74 static const struct nf_hook_ops ebt_ops_nat[] = {

12