/net/netfilter/ |
H A D | xt_repldata.h | 19 unsigned int bytes = 0, hooknum = 0, i = 0; \ 37 for (; hook_mask != 0; hook_mask >>= 1, ++hooknum) { \ 40 tbl->repl.hook_entry[hooknum] = bytes; \ 41 tbl->repl.underflow[hooknum] = bytes; \
|
H A D | xt_NETMAP.c | 36 if (par->hooknum == NF_INET_PRE_ROUTING || 37 par->hooknum == NF_INET_LOCAL_OUT) 54 return nf_nat_setup_info(ct, &newrange, HOOK2MANIP(par->hooknum)); 75 NF_CT_ASSERT(par->hooknum == NF_INET_PRE_ROUTING || 76 par->hooknum == NF_INET_POST_ROUTING || 77 par->hooknum == NF_INET_LOCAL_OUT || 78 par->hooknum == NF_INET_LOCAL_IN); 83 if (par->hooknum == NF_INET_PRE_ROUTING || 84 par->hooknum == NF_INET_LOCAL_OUT) 99 return nf_nat_setup_info(ct, &newrange, HOOK2MANIP(par->hooknum)); [all...] |
H A D | nft_reject_inet.c | 34 nf_send_reset(pkt->skb, pkt->ops->hooknum); 46 pkt->ops->hooknum); 49 nf_send_reset6(net, pkt->skb, pkt->ops->hooknum); 54 pkt->ops->hooknum);
|
H A D | xt_REDIRECT.c | 42 if (par->hooknum == NF_INET_LOCAL_OUT) 107 NF_CT_ASSERT(par->hooknum == NF_INET_PRE_ROUTING || 108 par->hooknum == NF_INET_LOCAL_OUT); 114 if (par->hooknum == NF_INET_LOCAL_OUT)
|
H A D | nf_tables_inet.c | 29 if (afi->hooks[ops->hooknum]) 30 ops->hook = afi->hooks[ops->hooknum];
|
/net/ipv6/netfilter/ |
H A D | ip6t_REJECT.c | 48 nf_send_unreach6(net, skb, ICMPV6_NOROUTE, par->hooknum); 51 nf_send_unreach6(net, skb, ICMPV6_ADM_PROHIBITED, par->hooknum); 54 nf_send_unreach6(net, skb, ICMPV6_NOT_NEIGHBOUR, par->hooknum); 57 nf_send_unreach6(net, skb, ICMPV6_ADDR_UNREACH, par->hooknum); 60 nf_send_unreach6(net, skb, ICMPV6_PORT_UNREACH, par->hooknum); 66 nf_send_reset6(net, skb, par->hooknum);
|
H A D | nf_defrag_ipv6_hooks.c | 33 static enum ip6_defrag_users nf_ct6_defrag_user(unsigned int hooknum, argument 48 if (hooknum == NF_INET_PRE_ROUTING) 69 reasm = nf_ct_frag6_gather(skb, nf_ct6_defrag_user(ops->hooknum, skb)); 80 NF_HOOK_THRESH(NFPROTO_IPV6, ops->hooknum, reasm, 92 .hooknum = NF_INET_PRE_ROUTING, 99 .hooknum = NF_INET_LOCAL_OUT,
|
H A D | nft_reject_ipv6.c | 32 pkt->ops->hooknum); 35 nf_send_reset6(net, pkt->skb, pkt->ops->hooknum);
|
H A D | ip6table_nat.c | 41 return ip6t_do_table(skb, ops->hooknum, in, out, net->ipv6.ip6table_nat); 86 .hooknum = NF_INET_PRE_ROUTING, 94 .hooknum = NF_INET_POST_ROUTING, 102 .hooknum = NF_INET_LOCAL_OUT, 110 .hooknum = NF_INET_LOCAL_IN,
|
H A D | ip6table_mangle.c | 83 if (ops->hooknum == NF_INET_LOCAL_OUT) 85 if (ops->hooknum == NF_INET_POST_ROUTING) 86 return ip6t_do_table(skb, ops->hooknum, in, out, 89 return ip6t_do_table(skb, ops->hooknum, in, out,
|
H A D | nf_conntrack_l3proto_ipv6.c | 178 return nf_conntrack_in(dev_net(in), PF_INET6, ops->hooknum, skb); 192 return nf_conntrack_in(dev_net(out), PF_INET6, ops->hooknum, skb); 200 .hooknum = NF_INET_PRE_ROUTING, 207 .hooknum = NF_INET_LOCAL_OUT, 214 .hooknum = NF_INET_POST_ROUTING, 221 .hooknum = NF_INET_POST_ROUTING, 228 .hooknum = NF_INET_LOCAL_IN, 235 .hooknum = NF_INET_LOCAL_IN,
|
/net/bridge/netfilter/ |
H A D | nf_log_bridge.c | 20 unsigned int hooknum, 29 nf_log_packet(net, NFPROTO_IPV4, hooknum, skb, in, out, 33 nf_log_packet(net, NFPROTO_IPV6, hooknum, skb, in, out, 38 nf_log_packet(net, NFPROTO_ARP, hooknum, skb, in, out, 19 nf_log_bridge_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) argument
|
H A D | ebtable_filter.c | 64 return ebt_do_table(ops->hooknum, skb, in, out, 73 return ebt_do_table(ops->hooknum, skb, in, out, 82 .hooknum = NF_BR_LOCAL_IN, 89 .hooknum = NF_BR_FORWARD, 96 .hooknum = NF_BR_LOCAL_OUT,
|
H A D | ebtable_nat.c | 64 return ebt_do_table(ops->hooknum, skb, in, out, 73 return ebt_do_table(ops->hooknum, skb, in, out, 82 .hooknum = NF_BR_LOCAL_OUT, 89 .hooknum = NF_BR_POST_ROUTING, 96 .hooknum = NF_BR_PRE_ROUTING,
|
H A D | ebt_nflog.c | 34 nf_log_packet(net, PF_BRIDGE, par->hooknum, skb, par->in,
|
H A D | ebt_redirect.c | 26 if (par->hooknum != NF_BR_BROUTING)
|
/net/ipv4/netfilter/ |
H A D | nf_defrag_ipv4.c | 43 static enum ip_defrag_users nf_ct_defrag_user(unsigned int hooknum, argument 58 if (hooknum == NF_INET_PRE_ROUTING) 88 nf_ct_defrag_user(ops->hooknum, skb); 101 .hooknum = NF_INET_PRE_ROUTING, 108 .hooknum = NF_INET_LOCAL_OUT,
|
H A D | iptable_nat.c | 39 return ipt_do_table(skb, ops->hooknum, in, out, net->ipv4.nat_table); 84 .hooknum = NF_INET_PRE_ROUTING, 92 .hooknum = NF_INET_POST_ROUTING, 100 .hooknum = NF_INET_LOCAL_OUT, 108 .hooknum = NF_INET_LOCAL_IN,
|
H A D | iptable_mangle.c | 88 if (ops->hooknum == NF_INET_LOCAL_OUT) 90 if (ops->hooknum == NF_INET_POST_ROUTING) 91 return ipt_do_table(skb, ops->hooknum, in, out, 94 return ipt_do_table(skb, ops->hooknum, in, out,
|
H A D | iptable_filter.c | 42 if (ops->hooknum == NF_INET_LOCAL_OUT && 49 return ipt_do_table(skb, ops->hooknum, in, out,
|
H A D | iptable_raw.c | 29 if (ops->hooknum == NF_INET_LOCAL_OUT && 36 return ipt_do_table(skb, ops->hooknum, in, out, net->ipv4.iptable_raw);
|
H A D | iptable_security.c | 47 if (ops->hooknum == NF_INET_LOCAL_OUT && 54 return ipt_do_table(skb, ops->hooknum, in, out,
|
H A D | nf_conntrack_l3proto_ipv4.c | 156 return nf_conntrack_in(dev_net(in), PF_INET, ops->hooknum, skb); 169 return nf_conntrack_in(dev_net(out), PF_INET, ops->hooknum, skb); 179 .hooknum = NF_INET_PRE_ROUTING, 186 .hooknum = NF_INET_LOCAL_OUT, 193 .hooknum = NF_INET_POST_ROUTING, 200 .hooknum = NF_INET_POST_ROUTING, 207 .hooknum = NF_INET_LOCAL_IN, 214 .hooknum = NF_INET_LOCAL_IN,
|
H A D | nf_log_arp.c | 78 unsigned int hooknum, const struct sk_buff *skb, 95 nf_log_dump_packet_common(m, pf, hooknum, skb, in, out, loginfo, 77 nf_log_arp_packet(struct net *net, u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *prefix) argument
|
/net/netfilter/ipvs/ |
H A D | ip_vs_core.c | 640 static inline enum ip_defrag_users ip_vs_defrag_user(unsigned int hooknum) argument 642 if (NF_INET_LOCAL_IN == hooknum) 644 if (NF_INET_FORWARD == hooknum) 849 unsigned int hooknum) 864 if (ip_vs_gather_frags(skb, ip_vs_defrag_user(hooknum))) 924 unsigned int hooknum, struct ip_vs_iphdr *ipvsh) 1109 ip_vs_out(unsigned int hooknum, struct sk_buff *skb, int af) argument 1124 if (unlikely(skb->sk != NULL && hooknum == NF_INET_LOCAL_OUT && 1146 hooknum, &iph); 1155 int verdict = ip_vs_out_icmp(skb, &related, hooknum); 848 ip_vs_out_icmp(struct sk_buff *skb, int *related, unsigned int hooknum) argument 923 ip_vs_out_icmp_v6(struct sk_buff *skb, int *related, unsigned int hooknum, struct ip_vs_iphdr *ipvsh) argument 1292 ip_vs_in_icmp(struct sk_buff *skb, int *related, unsigned int hooknum) argument 1465 ip_vs_in_icmp_v6(struct sk_buff *skb, int *related, unsigned int hooknum, struct ip_vs_iphdr *iph) argument 1568 ip_vs_in(unsigned int hooknum, struct sk_buff *skb, int af) argument [all...] |