Home
last modified time | relevance | path

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

/linux-4.4.14/net/netfilter/
Dcore.c66 const struct nf_hook_ops *reg) in nf_find_hook_list()
82 const struct nf_hook_ops *orig_ops;
83 struct nf_hook_ops ops;
86 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_register_net_hook()
90 struct nf_hook_ops *elem; in nf_register_net_hook()
123 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_unregister_net_hook()
127 struct nf_hook_ops *elem; in nf_unregister_net_hook()
161 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg, in nf_register_net_hooks()
181 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg, in nf_unregister_net_hooks()
191 int nf_register_hook(struct nf_hook_ops *reg) in nf_register_hook()
[all …]
Dnf_internals.h17 struct nf_hook_state *state, struct nf_hook_ops **elemp);
20 int nf_queue(struct sk_buff *skb, struct nf_hook_ops *elem,
22 void nf_queue_nf_hook_drop(struct net *net, struct nf_hook_ops *ops);
Dnf_queue.c101 void nf_queue_nf_hook_drop(struct net *net, struct nf_hook_ops *ops) in nf_queue_nf_hook_drop()
117 struct nf_hook_ops *elem, in nf_queue()
170 struct nf_hook_ops *elem = entry->elem; in nf_reinject()
Dnf_tables_inet.c19 static void nft_inet_hook_ops_init(struct nf_hook_ops *ops, unsigned int n) in nft_inet_hook_ops_init()
Dnft_compat.c157 const struct nf_hook_ops *ops = &basechain->ops[0]; in nft_target_set_tgchk_param()
293 const struct nf_hook_ops *ops = &basechain->ops[0]; in nft_target_validate()
374 const struct nf_hook_ops *ops = &basechain->ops[0]; in nft_match_set_mtchk_param()
475 const struct nf_hook_ops *ops = &basechain->ops[0]; in nft_match_validate()
Dx_tables.c1418 struct nf_hook_ops *xt_hook_link(const struct xt_table *table, nf_hookfn *fn) in xt_hook_link()
1423 struct nf_hook_ops *ops; in xt_hook_link()
1456 void xt_hook_unlink(const struct xt_table *table, struct nf_hook_ops *ops) in xt_hook_unlink()
Dnfnetlink_queue.c861 return entry->elem == (struct nf_hook_ops *)ops_ptr; in nf_hook_cmp()
864 static void nfqnl_nf_hook_drop(struct net *net, struct nf_hook_ops *hook) in nfqnl_nf_hook_drop()
Dnf_tables_api.c987 const struct nf_hook_ops *ops = &basechain->ops[0]; in nf_tables_fill_chain_info()
1343 struct nf_hook_ops *ops; in nf_tables_newchain()
/linux-4.4.14/include/linux/
Dnetfilter.h46 struct nf_hook_ops;
87 struct nf_hook_ops { struct
125 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *ops);
126 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *ops);
127 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg,
129 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg,
132 int nf_register_hook(struct nf_hook_ops *reg);
133 void nf_unregister_hook(struct nf_hook_ops *reg);
134 int nf_register_hooks(struct nf_hook_ops *reg, unsigned int n);
135 void nf_unregister_hooks(struct nf_hook_ops *reg, unsigned int n);
/linux-4.4.14/include/net/netfilter/
Dnf_queue.h14 struct nf_hook_ops *elem;
28 struct nf_hook_ops *ops);
Dbr_netfilter.h59 br_nf_pre_routing_ipv6(const struct nf_hook_ops *ops, struct sk_buff *skb, in br_nf_pre_routing_ipv6()
Dnf_tables.h811 struct nf_hook_ops ops[NFT_HOOK_OPS_MAX];
879 void (*hook_ops_init)(struct nf_hook_ops *,
/linux-4.4.14/security/smack/
Dsmack_netfilter.c60 static struct nf_hook_ops smack_nf_ops[] = {
/linux-4.4.14/net/ipv6/netfilter/
Dip6table_raw.c28 static struct nf_hook_ops *rawtable_ops __read_mostly;
Dip6table_security.c45 static struct nf_hook_ops *sectbl_ops __read_mostly;
Dip6table_filter.c41 static struct nf_hook_ops *filter_ops __read_mostly;
Dnf_defrag_ipv6_hooks.c85 static struct nf_hook_ops ipv6_defrag_ops[] = {
Dip6table_nat.c69 static struct nf_hook_ops nf_nat_ipv6_ops[] __read_mostly = {
Dip6table_mangle.c90 static struct nf_hook_ops *mangle_ops __read_mostly;
Dnf_conntrack_l3proto_ipv6.c187 static struct nf_hook_ops ipv6_conntrack_ops[] __read_mostly = {
Dip6t_SYNPROXY.c458 static struct nf_hook_ops ipv6_synproxy_ops[] __read_mostly = {
/linux-4.4.14/net/ipv4/netfilter/
Darptable_filter.c36 static struct nf_hook_ops *arpfilter_ops __read_mostly;
Diptable_security.c52 static struct nf_hook_ops *sectbl_ops __read_mostly;
Diptable_raw.c35 static struct nf_hook_ops *rawtable_ops __read_mostly;
Diptable_filter.c48 static struct nf_hook_ops *filter_ops __read_mostly;
Dnf_defrag_ipv4.c92 static struct nf_hook_ops ipv4_defrag_ops[] = {
Diptable_nat.c67 static struct nf_hook_ops nf_nat_ipv4_ops[] __read_mostly = {
Diptable_mangle.c94 static struct nf_hook_ops *mangle_ops __read_mostly;
Dnf_conntrack_l3proto_ipv4.c166 static struct nf_hook_ops ipv4_conntrack_ops[] __read_mostly = {
Dipt_SYNPROXY.c437 static struct nf_hook_ops ipv4_synproxy_ops[] __read_mostly = {
Dipt_CLUSTERIP.c563 static struct nf_hook_ops cip_arp_ops __read_mostly = {
/linux-4.4.14/net/bridge/netfilter/
Debtable_nat.c73 static struct nf_hook_ops ebt_ops_nat[] __read_mostly = {
Debtable_filter.c73 static struct nf_hook_ops ebt_ops_filter[] __read_mostly = {
/linux-4.4.14/include/linux/netfilter/
Dx_tables.h418 struct nf_hook_ops *xt_hook_link(const struct xt_table *, nf_hookfn *);
419 void xt_hook_unlink(const struct xt_table *, struct nf_hook_ops *);
/linux-4.4.14/net/decnet/netfilter/
Ddn_rtmsg.c116 static struct nf_hook_ops dnrmg_ops __read_mostly = {
/linux-4.4.14/net/bridge/
Dbr_netfilter_hooks.c896 static struct nf_hook_ops br_nf_ops[] __read_mostly = {
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_core.c1941 static struct nf_hook_ops ip_vs_ops[] __read_mostly = {
/linux-4.4.14/security/selinux/
Dhooks.c6130 static struct nf_hook_ops selinux_nf_ops[] = {