| /linux/include/net/netfilter/ |
| H A 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);
|
| H A D | nf_conntrack_bridge.h | 8 struct nf_hook_ops; 11 struct nf_hook_ops *ops;
|
| /linux/net/netfilter/ |
| H A D | core.c | 52 sizeof(struct nf_hook_ops *) * num + in allocate_hook_entries_size() 75 struct nf_hook_ops **ops; in nf_hook_entries_free() 95 static const struct nf_hook_ops dummy_ops = { in accept_all() 102 const struct nf_hook_ops *reg) 105 struct nf_hook_ops **orig_ops = NULL; in nf_hook_entries_grow() 106 struct nf_hook_ops **new_ops; in nf_hook_entries_grow() 176 struct nf_hook_ops **orig_ops; in hooks_validate() 195 const struct nf_hook_ops *reg) in hooks_validate() 236 struct nf_hook_ops **orig_ops; in __nf_hook_entries_try_shrink() 237 struct nf_hook_ops **new_op in __nf_hook_entries_try_shrink() [all...] |
| H A D | nf_internals.h | 40 const struct nf_hook_ops *reg); 42 const struct nf_hook_ops *reg);
|
| H A 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()
|
| H A D | nf_nat_proto.c | 785 static const struct nf_hook_ops nf_nat_ipv4_ops[] = { 816 int nf_nat_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv4_register_fn() 823 void nf_nat_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv4_unregister_fn() 1046 static const struct nf_hook_ops nf_nat_ipv6_ops[] = { 1077 int nf_nat_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv6_register_fn() 1084 void nf_nat_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv6_unregister_fn() 1092 int nf_nat_inet_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_inet_register_fn() 1113 void nf_nat_inet_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_inet_unregister_fn()
|
| H A D | nft_chain_filter.c | 325 struct nf_hook_ops *ops; in nft_netdev_event() 351 sizeof(struct nf_hook_ops), in nft_netdev_event()
|
| /linux/net/ipv4/netfilter/ |
| H A D | iptable_nat.c | 17 struct nf_hook_ops *nf_nat_ops; 32 static const struct nf_hook_ops nf_nat_ipv4_ops[] = { 62 struct nf_hook_ops *ops; in ipt_nat_register_lookups() 94 struct nf_hook_ops *ops = xt_nat_net->nf_nat_ops; in ipt_nat_unregister_lookups()
|
| H A D | iptable_security.c | 36 static struct nf_hook_ops *sectbl_ops __read_mostly;
|
| H A D | arptable_filter.c | 29 static struct nf_hook_ops *arpfilter_ops __read_mostly;
|
| H A D | iptable_filter.c | 31 static struct nf_hook_ops *filter_ops __read_mostly;
|
| H A D | iptable_raw.c | 35 static struct nf_hook_ops *rawtable_ops __read_mostly;
|
| /linux/net/ipv6/netfilter/ |
| H A D | ip6table_nat.c | 19 struct nf_hook_ops *nf_nat_ops; 34 static const struct nf_hook_ops nf_nat_ipv6_ops[] = { 64 struct nf_hook_ops *ops; in ip6t_nat_register_lookups() 96 struct nf_hook_ops *ops = xt_nat_net->nf_nat_ops; in ip6t_nat_unregister_lookups()
|
| H A D | ip6table_security.c | 35 static struct nf_hook_ops *sectbl_ops __read_mostly;
|
| H A D | ip6table_filter.c | 30 static struct nf_hook_ops *filter_ops __read_mostly;
|
| H A D | ip6table_raw.c | 34 static struct nf_hook_ops *rawtable_ops __read_mostly;
|
| /linux/include/linux/ |
| H A D | netfilter.h | 74 struct nf_hook_ops; 98 struct nf_hook_ops { struct 144 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() 151 return (struct nf_hook_ops **)hook_end; in nf_hook_entries_get_hook_ops() 199 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *ops); 200 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *ops); 201 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg, 203 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg,
|
| /linux/include/linux/netfilter_bridge/ |
| H A D | ebtables.h | 99 struct nf_hook_ops *ops; 108 const struct nf_hook_ops *ops);
|
| /linux/include/linux/netfilter_ipv6/ |
| H A D | ip6_tables.h | 29 const struct nf_hook_ops *ops);
|
| /linux/security/smack/ |
| H A D | smack_netfilter.c | 38 static const struct nf_hook_ops smack_nf_ops[] = {
|
| /linux/include/linux/netfilter_ipv4/ |
| H A D | ip_tables.h | 27 const struct nf_hook_ops *ops);
|
| /linux/include/linux/netfilter_arp/ |
| H A D | arp_tables.h | 54 const struct nf_hook_ops *ops);
|
| /linux/net/bridge/netfilter/ |
| H A D | ebtable_nat.c | 53 static const struct nf_hook_ops ebt_ops_nat[] = {
|
| H A D | ebtable_filter.c | 53 static const struct nf_hook_ops ebt_ops_filter[] = {
|
| H A D | ebtable_broute.c | 86 static const struct nf_hook_ops ebt_ops_broute = {
|