Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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;
/OK3568_Linux_fs/kernel/net/netfilter/
H A 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 …]
H A Dnf_internals.h34 const struct nf_hook_ops *reg);
36 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.c753 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()
H A Dnf_nat_core.c46 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()
H A Dnft_compat.c167 const struct nf_hook_ops *ops = &basechain->ops; in nft_target_set_tgchk_param()
333 const struct nf_hook_ops *ops = &basechain->ops; in nft_target_validate()
429 const struct nf_hook_ops *ops = &basechain->ops; in nft_match_set_mtchk_param()
575 const struct nf_hook_ops *ops = &basechain->ops; in nft_match_validate()
/OK3568_Linux_fs/kernel/include/linux/netfilter_ipv6/
H A Dip6_tables.h29 const struct nf_hook_ops *ops, struct xt_table **res);
31 const struct nf_hook_ops *ops);
33 const struct nf_hook_ops *ops);
/OK3568_Linux_fs/kernel/include/linux/netfilter_ipv4/
H A Dip_tables.h27 const struct nf_hook_ops *ops, struct xt_table **res);
30 const struct nf_hook_ops *ops);
35 const struct nf_hook_ops *ops);
/OK3568_Linux_fs/kernel/include/linux/
H A Dnetfilter.h64 struct nf_hook_ops;
81 struct nf_hook_ops { struct
123 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()
130 return (struct nf_hook_ops **)hook_end; in nf_hook_entries_get_hook_ops()
180 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *ops);
181 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *ops);
182 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg,
184 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg,
/OK3568_Linux_fs/kernel/include/linux/netfilter_arp/
H A Darp_tables.h54 const struct nf_hook_ops *ops, struct xt_table **res);
57 const struct nf_hook_ops *ops);
/OK3568_Linux_fs/kernel/include/linux/netfilter_bridge/
H A Debtables.h107 const struct nf_hook_ops *ops,
111 const struct nf_hook_ops *ops);
/OK3568_Linux_fs/kernel/security/smack/
H A Dsmack_netfilter.c58 static const struct nf_hook_ops smack_nf_ops[] = {
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Diptable_security.c46 static struct nf_hook_ops *sectbl_ops __read_mostly;
H A Darptable_filter.c40 static struct nf_hook_ops *arpfilter_ops __read_mostly;
H A Diptable_filter.c40 static struct nf_hook_ops *filter_ops __read_mostly;
H A Diptable_raw.c47 static struct nf_hook_ops *rawtable_ops __read_mostly;
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dip6table_security.c45 static struct nf_hook_ops *sectbl_ops __read_mostly;
H A Dip6table_filter.c41 static struct nf_hook_ops *filter_ops __read_mostly;
H A Dnf_defrag_ipv6_hooks.c75 static const struct nf_hook_ops ipv6_defrag_ops[] = {
H A Dip6table_raw.c46 static struct nf_hook_ops *rawtable_ops __read_mostly;
/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A Debtable_filter.c67 static const struct nf_hook_ops ebt_ops_filter[] = {
H A Debtable_nat.c67 static const struct nf_hook_ops ebt_ops_nat[] = {
H A Debtable_broute.c87 static const struct nf_hook_ops ebt_ops_broute = {

12