/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nf_nat.h | 71 int nf_nat_register_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops, 72 const struct nf_hook_ops *nat_ops, unsigned int ops_count); 73 void nf_nat_unregister_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops, 94 int nf_nat_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops); 95 void nf_nat_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops); 97 int nf_nat_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops); 98 void nf_nat_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops); 100 int nf_nat_inet_register_fn(struct net *net, const struct nf_hook_ops *ops); 101 void nf_nat_inet_unregister_fn(struct net *net, const struct nf_hook_ops *ops);
|
D | nf_conntrack_bridge.h | 8 struct nf_hook_ops; 11 struct nf_hook_ops *ops;
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | core.c | 55 sizeof(struct nf_hook_ops *) * num + in allocate_hook_entries_size() 78 struct nf_hook_ops **ops; in nf_hook_entries_free() 98 static const struct nf_hook_ops dummy_ops = { 105 const struct nf_hook_ops *reg) in nf_hook_entries_grow() 108 struct nf_hook_ops **orig_ops = NULL; in nf_hook_entries_grow() 109 struct nf_hook_ops **new_ops; in nf_hook_entries_grow() 167 struct nf_hook_ops **orig_ops; in hooks_validate() 186 const struct nf_hook_ops *reg) in nf_hook_entries_insert_raw() 227 struct nf_hook_ops **orig_ops; in __nf_hook_entries_try_shrink() 228 struct nf_hook_ops **new_ops; in __nf_hook_entries_try_shrink() [all …]
|
D | nf_internals.h | 34 const struct nf_hook_ops *reg); 36 const struct nf_hook_ops *reg);
|
D | nft_chain_nat.c | 78 static int nft_nat_inet_reg(struct net *net, const struct nf_hook_ops *ops) in nft_nat_inet_reg() 83 static void nft_nat_inet_unreg(struct net *net, const struct nf_hook_ops *ops) in nft_nat_inet_unreg()
|
D | nf_nat_proto.c | 753 static const struct nf_hook_ops nf_nat_ipv4_ops[] = { 784 int nf_nat_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv4_register_fn() 791 void nf_nat_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv4_unregister_fn() 992 static const struct nf_hook_ops nf_nat_ipv6_ops[] = { 1023 int nf_nat_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv6_register_fn() 1030 void nf_nat_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv6_unregister_fn() 1038 int nf_nat_inet_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_inet_register_fn() 1059 void nf_nat_inet_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_inet_unregister_fn()
|
D | nf_nat_core.c | 46 struct nf_hook_ops *nat_hook_ops; 1015 int nf_nat_register_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops, in nf_nat_register_fn() 1016 const struct nf_hook_ops *orig_nat_ops, unsigned int ops_count) in nf_nat_register_fn() 1022 struct nf_hook_ops *nat_ops; in nf_nat_register_fn() 1090 void nf_nat_unregister_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops, in nf_nat_unregister_fn() 1096 struct nf_hook_ops *nat_ops; in nf_nat_unregister_fn()
|
/kernel/linux/linux-5.10/include/linux/netfilter_ipv6/ |
D | ip6_tables.h | 29 const struct nf_hook_ops *ops, struct xt_table **res); 31 const struct nf_hook_ops *ops); 33 const struct nf_hook_ops *ops);
|
/kernel/linux/linux-5.10/include/linux/netfilter_ipv4/ |
D | ip_tables.h | 27 const struct nf_hook_ops *ops, struct xt_table **res); 30 const struct nf_hook_ops *ops); 35 const struct nf_hook_ops *ops);
|
/kernel/linux/linux-5.10/include/linux/ |
D | netfilter.h | 63 struct nf_hook_ops; 80 struct nf_hook_ops { struct 122 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() 129 return (struct nf_hook_ops **)hook_end; in nf_hook_entries_get_hook_ops() 177 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *ops); 178 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *ops); 179 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg, 181 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg,
|
/kernel/linux/linux-5.10/include/linux/netfilter_arp/ |
D | arp_tables.h | 54 const struct nf_hook_ops *ops, struct xt_table **res); 57 const struct nf_hook_ops *ops);
|
/kernel/linux/linux-5.10/include/linux/netfilter_bridge/ |
D | ebtables.h | 107 const struct nf_hook_ops *ops, 111 const struct nf_hook_ops *ops);
|
/kernel/linux/linux-5.10/security/smack/ |
D | smack_netfilter.c | 58 static const struct nf_hook_ops smack_nf_ops[] = {
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
D | ebtable_nat.c | 67 static const struct nf_hook_ops ebt_ops_nat[] = {
|
D | ebtable_filter.c | 67 static const struct nf_hook_ops ebt_ops_filter[] = {
|
D | ebtable_broute.c | 87 static const struct nf_hook_ops ebt_ops_broute = {
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | iptable_security.c | 46 static struct nf_hook_ops *sectbl_ops __read_mostly;
|
D | arptable_filter.c | 40 static struct nf_hook_ops *arpfilter_ops __read_mostly;
|
D | iptable_filter.c | 40 static struct nf_hook_ops *filter_ops __read_mostly;
|
D | iptable_raw.c | 47 static struct nf_hook_ops *rawtable_ops __read_mostly;
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
D | ip6table_security.c | 45 static struct nf_hook_ops *sectbl_ops __read_mostly;
|
D | ip6table_filter.c | 41 static struct nf_hook_ops *filter_ops __read_mostly;
|
D | nf_defrag_ipv6_hooks.c | 75 static const struct nf_hook_ops ipv6_defrag_ops[] = {
|
D | ip6table_raw.c | 46 static struct nf_hook_ops *rawtable_ops __read_mostly;
|
/kernel/linux/linux-5.10/net/decnet/netfilter/ |
D | dn_rtmsg.c | 116 static const struct nf_hook_ops dnrmg_ops = {
|