Home
last modified time | relevance | path

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

123

/linux/include/net/netfilter/
H A Dnf_nat.h71 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 Dnf_conntrack_bridge.h8 struct nf_hook_ops;
11 struct nf_hook_ops *ops;
/linux/net/netfilter/
H A Dcore.c52 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 = {
102 const struct nf_hook_ops *reg) in nf_hook_entries_grow()
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 nf_hook_entries_insert_raw()
236 struct nf_hook_ops **orig_ops; in __nf_hook_entries_try_shrink()
237 struct nf_hook_ops **new_ops; in __nf_hook_entries_try_shrink()
[all …]
H A Dnf_internals.h40 const struct nf_hook_ops *reg);
42 const struct nf_hook_ops *reg);
H A Dnft_chain_nat.c78 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 Dnf_nat_proto.c786 static const struct nf_hook_ops nf_nat_ipv4_ops[] = {
817 int nf_nat_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv4_register_fn()
824 void nf_nat_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv4_unregister_fn()
1047 static const struct nf_hook_ops nf_nat_ipv6_ops[] = {
1078 int nf_nat_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv6_register_fn()
1085 void nf_nat_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv6_unregister_fn()
1093 int nf_nat_inet_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_inet_register_fn()
1114 void nf_nat_inet_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_inet_unregister_fn()
H A Dnf_nat_core.c49 struct nf_hook_ops *nat_hook_ops;
1180 int nf_nat_register_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops, in nf_nat_register_fn()
1181 const struct nf_hook_ops *orig_nat_ops, unsigned int ops_count) in nf_nat_register_fn()
1187 struct nf_hook_ops *nat_ops; in nf_nat_register_fn()
1255 void nf_nat_unregister_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops, in nf_nat_unregister_fn()
1261 struct nf_hook_ops *nat_ops; in nf_nat_unregister_fn()
H A Dnft_chain_filter.c325 struct nf_hook_ops *ops; in nft_netdev_event()
351 sizeof(struct nf_hook_ops), in nft_netdev_event()
/linux/net/ipv6/netfilter/
H A Dip6table_nat.c19 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 Dip6table_security.c35 static struct nf_hook_ops *sectbl_ops __read_mostly;
H A Dip6table_filter.c30 static struct nf_hook_ops *filter_ops __read_mostly;
H A Dip6table_raw.c34 static struct nf_hook_ops *rawtable_ops __read_mostly;
/linux/net/ipv4/netfilter/
H A Diptable_nat.c17 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 Darptable_filter.c29 static struct nf_hook_ops *arpfilter_ops __read_mostly;
H A Diptable_security.c36 static struct nf_hook_ops *sectbl_ops __read_mostly;
H A Diptable_filter.c31 static struct nf_hook_ops *filter_ops __read_mostly;
/linux/include/linux/
H A Dnetfilter.h74 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 Debtables.h99 struct nf_hook_ops *ops;
108 const struct nf_hook_ops *ops);
/linux/include/linux/netfilter_ipv6/
H A Dip6_tables.h29 const struct nf_hook_ops *ops);
/linux/security/smack/
H A Dsmack_netfilter.c38 static const struct nf_hook_ops smack_nf_ops[] = {
/linux/include/linux/netfilter_ipv4/
H A Dip_tables.h27 const struct nf_hook_ops *ops);
/linux/include/linux/netfilter_arp/
H A Darp_tables.h54 const struct nf_hook_ops *ops);
/linux/net/bridge/netfilter/
H A Debtable_nat.c53 static const struct nf_hook_ops ebt_ops_nat[] = {
H A Debtable_filter.c53 static const struct nf_hook_ops ebt_ops_filter[] = {
/linux/include/linux/netfilter/
H A Dx_tables.h223 struct nf_hook_ops *ops;
440 struct nf_hook_ops *xt_hook_ops_alloc(const struct xt_table *, nf_hookfn *);

123