/Linux-v4.19/net/netfilter/ |
D | core.c | 54 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 …]
|
D | nf_internals.h | 20 const struct nf_hook_ops *reg); 22 const struct nf_hook_ops *reg);
|
D | nf_nat_core.c | 56 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/ |
D | nf_nat_l3proto.h | 51 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);
|
D | nf_nat.h | 78 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,
|
D | br_netfilter.h | 66 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/ |
D | netfilter.h | 47 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/ |
D | ip6_tables.h | 31 const struct nf_hook_ops *ops, struct xt_table **res); 33 const struct nf_hook_ops *ops);
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | nft_chain_nat_ipv4.c | 41 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()
|
D | arptable_filter.c | 39 static struct nf_hook_ops *arpfilter_ops __read_mostly;
|
D | iptable_security.c | 49 static struct nf_hook_ops *sectbl_ops __read_mostly;
|
D | nf_nat_l3proto_ipv4.c | 350 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()
|
D | iptable_filter.c | 44 static struct nf_hook_ops *filter_ops __read_mostly;
|
D | iptable_raw.c | 46 static struct nf_hook_ops *rawtable_ops __read_mostly;
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | nft_chain_nat_ipv6.c | 39 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()
|
D | ip6table_security.c | 48 static struct nf_hook_ops *sectbl_ops __read_mostly;
|
D | nf_nat_l3proto_ipv6.c | 373 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()
|
D | ip6table_filter.c | 44 static struct nf_hook_ops *filter_ops __read_mostly;
|
D | ip6table_raw.c | 45 static struct nf_hook_ops *rawtable_ops __read_mostly;
|
/Linux-v4.19/include/linux/netfilter_arp/ |
D | arp_tables.h | 54 const struct nf_hook_ops *ops, struct xt_table **res); 56 const struct nf_hook_ops *ops);
|
/Linux-v4.19/include/linux/netfilter_ipv4/ |
D | ip_tables.h | 30 const struct nf_hook_ops *ops, struct xt_table **res); 32 const struct nf_hook_ops *ops);
|
/Linux-v4.19/include/linux/netfilter_bridge/ |
D | ebtables.h | 110 const struct nf_hook_ops *ops, 113 const struct nf_hook_ops *);
|
/Linux-v4.19/security/smack/ |
D | smack_netfilter.c | 61 static const struct nf_hook_ops smack_nf_ops[] = {
|
/Linux-v4.19/net/bridge/netfilter/ |
D | ebtable_filter.c | 74 static const struct nf_hook_ops ebt_ops_filter[] = {
|
D | ebtable_nat.c | 74 static const struct nf_hook_ops ebt_ops_nat[] = {
|