Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/net/netfilter/
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);
Dnf_conntrack_bridge.h8 struct nf_hook_ops;
11 struct nf_hook_ops *ops;
/linux-6.1.9/net/netfilter/
Dcore.c55 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 …]
Dnf_internals.h34 const struct nf_hook_ops *reg);
36 const struct nf_hook_ops *reg);
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()
Dnf_nat_proto.c791 static const struct nf_hook_ops nf_nat_ipv4_ops[] = {
822 int nf_nat_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv4_register_fn()
829 void nf_nat_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv4_unregister_fn()
1030 static const struct nf_hook_ops nf_nat_ipv6_ops[] = {
1061 int nf_nat_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv6_register_fn()
1068 void nf_nat_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_ipv6_unregister_fn()
1076 int nf_nat_inet_register_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_inet_register_fn()
1097 void nf_nat_inet_unregister_fn(struct net *net, const struct nf_hook_ops *ops) in nf_nat_inet_unregister_fn()
Dnfnetlink_hook.c63 const struct nf_hook_ops *ops) in nfnl_hook_put_nft_chain_info()
116 const struct nf_hook_ops *ops, in nfnl_hook_dump_one()
254 struct nf_hook_ops * const *ops; in nfnl_hook_dump()
Dnf_nat_core.c46 struct nf_hook_ops *nat_hook_ops;
991 int nf_nat_register_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops, in nf_nat_register_fn()
992 const struct nf_hook_ops *orig_nat_ops, unsigned int ops_count) in nf_nat_register_fn()
998 struct nf_hook_ops *nat_ops; in nf_nat_register_fn()
1066 void nf_nat_unregister_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops, in nf_nat_unregister_fn()
1072 struct nf_hook_ops *nat_ops; in nf_nat_unregister_fn()
/linux-6.1.9/net/ipv4/netfilter/
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()
Diptable_security.c36 static struct nf_hook_ops *sectbl_ops __read_mostly;
Darptable_filter.c29 static struct nf_hook_ops *arpfilter_ops __read_mostly;
Diptable_filter.c31 static struct nf_hook_ops *filter_ops __read_mostly;
Diptable_raw.c35 static struct nf_hook_ops *rawtable_ops __read_mostly;
/linux-6.1.9/net/ipv6/netfilter/
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()
Dip6table_security.c35 static struct nf_hook_ops *sectbl_ops __read_mostly;
Dip6table_filter.c30 static struct nf_hook_ops *filter_ops __read_mostly;
Dip6table_raw.c34 static struct nf_hook_ops *rawtable_ops __read_mostly;
/linux-6.1.9/include/linux/
Dnetfilter.h63 struct nf_hook_ops;
85 struct nf_hook_ops { struct
128 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()
135 return (struct nf_hook_ops **)hook_end; in nf_hook_entries_get_hook_ops()
183 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *ops);
184 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *ops);
185 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg,
187 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg,
/linux-6.1.9/include/linux/netfilter_bridge/
Debtables.h99 struct nf_hook_ops *ops;
108 const struct nf_hook_ops *ops);
/linux-6.1.9/include/linux/netfilter_ipv6/
Dip6_tables.h29 const struct nf_hook_ops *ops);
/linux-6.1.9/security/smack/
Dsmack_netfilter.c38 static const struct nf_hook_ops smack_nf_ops[] = {
/linux-6.1.9/include/linux/netfilter_ipv4/
Dip_tables.h27 const struct nf_hook_ops *ops);
/linux-6.1.9/include/linux/netfilter_arp/
Darp_tables.h54 const struct nf_hook_ops *ops);
/linux-6.1.9/net/bridge/netfilter/
Debtable_filter.c53 static const struct nf_hook_ops ebt_ops_filter[] = {
Debtable_nat.c53 static const struct nf_hook_ops ebt_ops_nat[] = {

12