/linux-4.1.27/include/net/netfilter/ |
D | nf_nat_l3proto.h | 46 unsigned int nf_nat_ipv4_in(const struct nf_hook_ops *ops, struct sk_buff *skb, 48 unsigned int (*do_chain)(const struct nf_hook_ops *ops, 53 unsigned int nf_nat_ipv4_out(const struct nf_hook_ops *ops, struct sk_buff *skb, 55 unsigned int (*do_chain)(const struct nf_hook_ops *ops, 60 unsigned int nf_nat_ipv4_local_fn(const struct nf_hook_ops *ops, 63 unsigned int (*do_chain)(const struct nf_hook_ops *ops, 68 unsigned int nf_nat_ipv4_fn(const struct nf_hook_ops *ops, struct sk_buff *skb, 70 unsigned int (*do_chain)(const struct nf_hook_ops *ops, 79 unsigned int nf_nat_ipv6_in(const struct nf_hook_ops *ops, struct sk_buff *skb, 81 unsigned int (*do_chain)(const struct nf_hook_ops *ops, [all …]
|
D | nf_queue.h | 14 struct nf_hook_ops *elem; 28 struct nf_hook_ops *ops);
|
D | nf_tables_ipv6.h | 9 const struct nf_hook_ops *ops, in nft_set_pktinfo_ipv6()
|
D | nf_tables_ipv4.h | 9 const struct nf_hook_ops *ops, in nft_set_pktinfo_ipv4()
|
D | nf_tables.h | 19 const struct nf_hook_ops *ops; 28 const struct nf_hook_ops *ops, in nft_set_pktinfo() 796 struct nf_hook_ops ops[NFT_HOOK_OPS_MAX]; 810 const struct nf_hook_ops *ops); 852 void (*hook_ops_init)(struct nf_hook_ops *,
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | nft_chain_nat_ipv4.c | 29 static unsigned int nft_nat_do_chain(const struct nf_hook_ops *ops, in nft_nat_do_chain() 41 static unsigned int nft_nat_ipv4_fn(const struct nf_hook_ops *ops, in nft_nat_ipv4_fn() 48 static unsigned int nft_nat_ipv4_in(const struct nf_hook_ops *ops, in nft_nat_ipv4_in() 55 static unsigned int nft_nat_ipv4_out(const struct nf_hook_ops *ops, in nft_nat_ipv4_out() 62 static unsigned int nft_nat_ipv4_local_fn(const struct nf_hook_ops *ops, in nft_nat_ipv4_local_fn()
|
D | iptable_nat.c | 31 static unsigned int iptable_nat_do_chain(const struct nf_hook_ops *ops, in iptable_nat_do_chain() 41 static unsigned int iptable_nat_ipv4_fn(const struct nf_hook_ops *ops, in iptable_nat_ipv4_fn() 48 static unsigned int iptable_nat_ipv4_in(const struct nf_hook_ops *ops, in iptable_nat_ipv4_in() 55 static unsigned int iptable_nat_ipv4_out(const struct nf_hook_ops *ops, in iptable_nat_ipv4_out() 62 static unsigned int iptable_nat_ipv4_local_fn(const struct nf_hook_ops *ops, in iptable_nat_ipv4_local_fn() 69 static struct nf_hook_ops nf_nat_ipv4_ops[] __read_mostly = {
|
D | nf_nat_l3proto_ipv4.c | 258 nf_nat_ipv4_fn(const struct nf_hook_ops *ops, struct sk_buff *skb, in nf_nat_ipv4_fn() 260 unsigned int (*do_chain)(const struct nf_hook_ops *ops, in nf_nat_ipv4_fn() 348 nf_nat_ipv4_in(const struct nf_hook_ops *ops, struct sk_buff *skb, in nf_nat_ipv4_in() 350 unsigned int (*do_chain)(const struct nf_hook_ops *ops, in nf_nat_ipv4_in() 368 nf_nat_ipv4_out(const struct nf_hook_ops *ops, struct sk_buff *skb, in nf_nat_ipv4_out() 370 unsigned int (*do_chain)(const struct nf_hook_ops *ops, in nf_nat_ipv4_out() 410 nf_nat_ipv4_local_fn(const struct nf_hook_ops *ops, struct sk_buff *skb, in nf_nat_ipv4_local_fn() 412 unsigned int (*do_chain)(const struct nf_hook_ops *ops, in nf_nat_ipv4_local_fn()
|
D | arptable_filter.c | 30 arptable_filter_hook(const struct nf_hook_ops *ops, struct sk_buff *skb, in arptable_filter_hook() 39 static struct nf_hook_ops *arpfilter_ops __read_mostly;
|
D | iptable_raw.c | 23 iptable_raw_hook(const struct nf_hook_ops *ops, struct sk_buff *skb, in iptable_raw_hook() 38 static struct nf_hook_ops *rawtable_ops __read_mostly;
|
D | iptable_security.c | 40 iptable_security_hook(const struct nf_hook_ops *ops, struct sk_buff *skb, in iptable_security_hook() 56 static struct nf_hook_ops *sectbl_ops __read_mostly;
|
D | iptable_filter.c | 36 iptable_filter_hook(const struct nf_hook_ops *ops, struct sk_buff *skb, in iptable_filter_hook() 51 static struct nf_hook_ops *filter_ops __read_mostly;
|
D | nf_defrag_ipv4.c | 64 static unsigned int ipv4_conntrack_defrag(const struct nf_hook_ops *ops, in ipv4_conntrack_defrag() 94 static struct nf_hook_ops ipv4_defrag_ops[] = {
|
D | nf_tables_ipv4.c | 21 static unsigned int nft_do_chain_ipv4(const struct nf_hook_ops *ops, in nft_do_chain_ipv4() 32 static unsigned int nft_ipv4_output(const struct nf_hook_ops *ops, in nft_ipv4_output()
|
D | nf_conntrack_l3proto_ipv4.c | 95 static unsigned int ipv4_helper(const struct nf_hook_ops *ops, in ipv4_helper() 122 static unsigned int ipv4_confirm(const struct nf_hook_ops *ops, in ipv4_confirm() 146 static unsigned int ipv4_conntrack_in(const struct nf_hook_ops *ops, in ipv4_conntrack_in() 153 static unsigned int ipv4_conntrack_local(const struct nf_hook_ops *ops, in ipv4_conntrack_local() 166 static struct nf_hook_ops ipv4_conntrack_ops[] __read_mostly = {
|
D | iptable_mangle.c | 83 iptable_mangle_hook(const struct nf_hook_ops *ops, in iptable_mangle_hook() 97 static struct nf_hook_ops *mangle_ops __read_mostly;
|
D | nft_chain_route_ipv4.c | 24 static unsigned int nf_route_table_hook(const struct nf_hook_ops *ops, in nf_route_table_hook()
|
D | nf_tables_arp.c | 18 nft_do_chain_arp(const struct nf_hook_ops *ops, in nft_do_chain_arp()
|
D | ipt_SYNPROXY.c | 301 static unsigned int ipv4_synproxy_hook(const struct nf_hook_ops *ops, in ipv4_synproxy_hook() 432 static struct nf_hook_ops ipv4_synproxy_ops[] __read_mostly = {
|
D | ipt_CLUSTERIP.c | 505 arp_mangle(const struct nf_hook_ops *ops, in arp_mangle() 558 static struct nf_hook_ops cip_arp_ops __read_mostly = {
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nft_chain_nat_ipv6.c | 27 static unsigned int nft_nat_do_chain(const struct nf_hook_ops *ops, in nft_nat_do_chain() 39 static unsigned int nft_nat_ipv6_fn(const struct nf_hook_ops *ops, in nft_nat_ipv6_fn() 46 static unsigned int nft_nat_ipv6_in(const struct nf_hook_ops *ops, in nft_nat_ipv6_in() 53 static unsigned int nft_nat_ipv6_out(const struct nf_hook_ops *ops, in nft_nat_ipv6_out() 60 static unsigned int nft_nat_ipv6_local_fn(const struct nf_hook_ops *ops, in nft_nat_ipv6_local_fn()
|
D | ip6table_nat.c | 33 static unsigned int ip6table_nat_do_chain(const struct nf_hook_ops *ops, in ip6table_nat_do_chain() 43 static unsigned int ip6table_nat_fn(const struct nf_hook_ops *ops, in ip6table_nat_fn() 50 static unsigned int ip6table_nat_in(const struct nf_hook_ops *ops, in ip6table_nat_in() 57 static unsigned int ip6table_nat_out(const struct nf_hook_ops *ops, in ip6table_nat_out() 64 static unsigned int ip6table_nat_local_fn(const struct nf_hook_ops *ops, in ip6table_nat_local_fn() 71 static struct nf_hook_ops nf_nat_ipv6_ops[] __read_mostly = {
|
D | nf_nat_l3proto_ipv6.c | 265 nf_nat_ipv6_fn(const struct nf_hook_ops *ops, struct sk_buff *skb, in nf_nat_ipv6_fn() 267 unsigned int (*do_chain)(const struct nf_hook_ops *ops, in nf_nat_ipv6_fn() 356 nf_nat_ipv6_in(const struct nf_hook_ops *ops, struct sk_buff *skb, in nf_nat_ipv6_in() 358 unsigned int (*do_chain)(const struct nf_hook_ops *ops, in nf_nat_ipv6_in() 376 nf_nat_ipv6_out(const struct nf_hook_ops *ops, struct sk_buff *skb, in nf_nat_ipv6_out() 378 unsigned int (*do_chain)(const struct nf_hook_ops *ops, in nf_nat_ipv6_out() 417 nf_nat_ipv6_local_fn(const struct nf_hook_ops *ops, struct sk_buff *skb, in nf_nat_ipv6_local_fn() 419 unsigned int (*do_chain)(const struct nf_hook_ops *ops, in nf_nat_ipv6_local_fn()
|
D | ip6table_raw.c | 22 ip6table_raw_hook(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip6table_raw_hook() 30 static struct nf_hook_ops *rawtable_ops __read_mostly;
|
D | ip6table_security.c | 39 ip6table_security_hook(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip6table_security_hook() 48 static struct nf_hook_ops *sectbl_ops __read_mostly;
|
D | ip6table_filter.c | 35 ip6table_filter_hook(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip6table_filter_hook() 43 static struct nf_hook_ops *filter_ops __read_mostly;
|
D | nf_defrag_ipv6_hooks.c | 55 static unsigned int ipv6_defrag(const struct nf_hook_ops *ops, in ipv6_defrag() 85 static struct nf_hook_ops ipv6_defrag_ops[] = {
|
D | nf_tables_ipv6.c | 19 static unsigned int nft_do_chain_ipv6(const struct nf_hook_ops *ops, in nft_do_chain_ipv6() 32 static unsigned int nft_ipv6_output(const struct nf_hook_ops *ops, in nft_ipv6_output()
|
D | nf_conntrack_l3proto_ipv6.c | 98 static unsigned int ipv6_helper(const struct nf_hook_ops *ops, in ipv6_helper() 134 static unsigned int ipv6_confirm(const struct nf_hook_ops *ops, in ipv6_confirm() 168 static unsigned int ipv6_conntrack_in(const struct nf_hook_ops *ops, in ipv6_conntrack_in() 175 static unsigned int ipv6_conntrack_local(const struct nf_hook_ops *ops, in ipv6_conntrack_local() 187 static struct nf_hook_ops ipv6_conntrack_ops[] __read_mostly = {
|
D | ip6table_mangle.c | 79 ip6table_mangle_hook(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip6table_mangle_hook() 92 static struct nf_hook_ops *mangle_ops __read_mostly;
|
D | nft_chain_route_ipv6.c | 25 static unsigned int nf_route_table_hook(const struct nf_hook_ops *ops, in nf_route_table_hook()
|
D | ip6t_SYNPROXY.c | 316 static unsigned int ipv6_synproxy_hook(const struct nf_hook_ops *ops, in ipv6_synproxy_hook() 455 static struct nf_hook_ops ipv6_synproxy_ops[] __read_mostly = {
|
/linux-4.1.27/net/netfilter/ |
D | core.c | 65 int nf_register_hook(struct nf_hook_ops *reg) in nf_register_hook() 67 struct nf_hook_ops *elem; in nf_register_hook() 83 void nf_unregister_hook(struct nf_hook_ops *reg) in nf_unregister_hook() 96 int nf_register_hooks(struct nf_hook_ops *reg, unsigned int n) in nf_register_hooks() 115 void nf_unregister_hooks(struct nf_hook_ops *reg, unsigned int n) in nf_unregister_hooks() 125 struct nf_hook_ops **elemp) in nf_iterate() 163 struct nf_hook_ops *elem; in nf_hook_slow() 171 struct nf_hook_ops, list); in nf_hook_slow()
|
D | nf_internals.h | 17 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 nf_hook_ops *ops);
|
D | nf_queue.c | 108 void nf_queue_nf_hook_drop(struct nf_hook_ops *ops) in nf_queue_nf_hook_drop() 130 struct nf_hook_ops *elem, in nf_queue() 192 struct nf_hook_ops *elem = entry->elem; in nf_reinject() 202 elem = list_entry(elem->list.prev, struct nf_hook_ops, list); in nf_reinject()
|
D | nf_tables_inet.c | 19 static void nft_inet_hook_ops_init(struct nf_hook_ops *ops, unsigned int n) in nft_inet_hook_ops_init()
|
D | nft_compat.c | 157 const struct nf_hook_ops *ops = &basechain->ops[0]; in nft_target_set_tgchk_param() 292 const struct nf_hook_ops *ops = &basechain->ops[0]; in nft_target_validate() 373 const struct nf_hook_ops *ops = &basechain->ops[0]; in nft_match_set_mtchk_param() 473 const struct nf_hook_ops *ops = &basechain->ops[0]; in nft_match_validate()
|
D | nf_tables_core.c | 114 nft_do_chain(struct nft_pktinfo *pkt, const struct nf_hook_ops *ops) in nft_do_chain()
|
D | x_tables.c | 1193 struct nf_hook_ops *xt_hook_link(const struct xt_table *table, nf_hookfn *fn) in xt_hook_link() 1198 struct nf_hook_ops *ops; in xt_hook_link() 1232 void xt_hook_unlink(const struct xt_table *table, struct nf_hook_ops *ops) in xt_hook_unlink()
|
D | nfnetlink_queue_core.c | 829 return entry->elem == (struct nf_hook_ops *)ops_ptr; in nf_hook_cmp() 832 static void nfqnl_nf_hook_drop(struct net *net, struct nf_hook_ops *hook) in nfqnl_nf_hook_drop()
|
D | nf_tables_api.c | 947 const struct nf_hook_ops *ops = &basechain->ops[0]; in nf_tables_fill_chain_info() 1296 struct nf_hook_ops *ops; in nf_tables_newchain()
|
/linux-4.1.27/security/smack/ |
D | smack_netfilter.c | 24 static unsigned int smack_ipv6_output(const struct nf_hook_ops *ops, in smack_ipv6_output() 41 static unsigned int smack_ipv4_output(const struct nf_hook_ops *ops, in smack_ipv4_output() 57 static struct nf_hook_ops smack_nf_ops[] = {
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebtable_filter.c | 60 ebt_in_hook(const struct nf_hook_ops *ops, struct sk_buff *skb, in ebt_in_hook() 68 ebt_out_hook(const struct nf_hook_ops *ops, struct sk_buff *skb, in ebt_out_hook() 75 static struct nf_hook_ops ebt_ops_filter[] __read_mostly = {
|
D | ebtable_nat.c | 60 ebt_nat_in(const struct nf_hook_ops *ops, struct sk_buff *skb, in ebt_nat_in() 68 ebt_nat_out(const struct nf_hook_ops *ops, struct sk_buff *skb, in ebt_nat_out() 75 static struct nf_hook_ops ebt_ops_nat[] __read_mostly = {
|
D | nf_tables_bridge.c | 68 const struct nf_hook_ops *ops, in nft_bridge_set_pktinfo_ipv4() 79 const struct nf_hook_ops *ops, in nft_bridge_set_pktinfo_ipv6() 92 nft_do_chain_bridge(const struct nf_hook_ops *ops, in nft_do_chain_bridge()
|
/linux-4.1.27/include/linux/ |
D | netfilter.h | 46 struct nf_hook_ops; 77 typedef unsigned int nf_hookfn(const struct nf_hook_ops *ops, 81 struct nf_hook_ops { struct 119 int nf_register_hook(struct nf_hook_ops *reg); 120 void nf_unregister_hook(struct nf_hook_ops *reg); 121 int nf_register_hooks(struct nf_hook_ops *reg, unsigned int n); 122 void nf_unregister_hooks(struct nf_hook_ops *reg, unsigned int n);
|
/linux-4.1.27/net/decnet/netfilter/ |
D | dn_rtmsg.c | 90 static unsigned int dnrmg_hook(const struct nf_hook_ops *ops, in dnrmg_hook() 116 static struct nf_hook_ops dnrmg_ops __read_mostly = {
|
/linux-4.1.27/net/bridge/ |
D | br_netfilter.c | 569 static unsigned int br_nf_pre_routing_ipv6(const struct nf_hook_ops *ops, in br_nf_pre_routing_ipv6() 618 static unsigned int br_nf_pre_routing(const struct nf_hook_ops *ops, in br_nf_pre_routing() 680 static unsigned int br_nf_local_in(const struct nf_hook_ops *ops, in br_nf_local_in() 724 static unsigned int br_nf_forward_ip(const struct nf_hook_ops *ops, in br_nf_forward_ip() 784 static unsigned int br_nf_forward_arp(const struct nf_hook_ops *ops, in br_nf_forward_arp() 884 static unsigned int br_nf_post_routing(const struct nf_hook_ops *ops, in br_nf_post_routing() 933 static unsigned int ip_sabotage_in(const struct nf_hook_ops *ops, in ip_sabotage_in() 990 static struct nf_hook_ops br_nf_ops[] __read_mostly = {
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_core.c | 1286 ip_vs_reply4(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip_vs_reply4() 1297 ip_vs_local_reply4(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip_vs_local_reply4() 1311 ip_vs_reply6(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip_vs_reply6() 1322 ip_vs_local_reply6(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip_vs_local_reply6() 1779 ip_vs_remote_request4(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip_vs_remote_request4() 1790 ip_vs_local_request4(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip_vs_local_request4() 1803 ip_vs_remote_request6(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip_vs_remote_request6() 1814 ip_vs_local_request6(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip_vs_local_request6() 1833 ip_vs_forward_icmp(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip_vs_forward_icmp() 1854 ip_vs_forward_icmp_v6(const struct nf_hook_ops *ops, struct sk_buff *skb, in ip_vs_forward_icmp_v6() [all …]
|
/linux-4.1.27/include/linux/netfilter/ |
D | x_tables.h | 354 struct nf_hook_ops *xt_hook_link(const struct xt_table *, nf_hookfn *); 355 void xt_hook_unlink(const struct xt_table *, struct nf_hook_ops *);
|
/linux-4.1.27/security/selinux/ |
D | hooks.c | 4849 static unsigned int selinux_ipv4_forward(const struct nf_hook_ops *ops, in selinux_ipv4_forward() 4857 static unsigned int selinux_ipv6_forward(const struct nf_hook_ops *ops, in selinux_ipv6_forward() 4907 static unsigned int selinux_ipv4_output(const struct nf_hook_ops *ops, in selinux_ipv4_output() 5082 static unsigned int selinux_ipv4_postroute(const struct nf_hook_ops *ops, in selinux_ipv4_postroute() 5090 static unsigned int selinux_ipv6_postroute(const struct nf_hook_ops *ops, in selinux_ipv6_postroute() 6112 static struct nf_hook_ops selinux_nf_ops[] = {
|