Home
last modified time | relevance | path

Searched refs:NF_IP_PRE_ROUTING (Results 1 – 20 of 20) sorted by relevance

/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_rule.c29 #define NAT_VALID_HOOKS ((1<<NF_IP_PRE_ROUTING) | (1<<NF_IP_POST_ROUTING) | (1<<NF_IP_LOCAL_OUT))
58 { [NF_IP_PRE_ROUTING] 0,
61 { [NF_IP_PRE_ROUTING] 0,
141 IP_NF_ASSERT(hooknum == NF_IP_PRE_ROUTING in ipt_dnat_target()
215 if (hook_mask & ~((1 << NF_IP_PRE_ROUTING) | (1 << NF_IP_LOCAL_OUT))) { in ipt_dnat_checkentry()
Diptable_mangle.c17 #define MANGLE_VALID_HOOKS ((1 << NF_IP_PRE_ROUTING) | \
51 { [NF_IP_PRE_ROUTING] 0,
56 { [NF_IP_PRE_ROUTING] 0,
173 = { { { NULL, NULL }, ipt_route_hook, PF_INET, NF_IP_PRE_ROUTING,
Dip_fw_compat_masq.c113 icmp_reply_translation(skb, ct, NF_IP_PRE_ROUTING, in check_for_masq_error()
139 ct = icmp_error_track(*pskb, &ctinfo, NF_IP_PRE_ROUTING); in check_for_demasq()
147 NF_IP_PRE_ROUTING, in check_for_demasq()
175 ret = ip_conntrack_in(NF_IP_PRE_ROUTING, pskb, in check_for_demasq()
188 NF_IP_PRE_ROUTING, in check_for_demasq()
Dip_fw_compat.c104 case NF_IP_PRE_ROUTING: in fw_in()
168 if (hooknum == NF_IP_PRE_ROUTING) { in fw_in()
192 if (hooknum == NF_IP_PRE_ROUTING) in fw_in()
236 = { { NULL, NULL }, fw_in, PF_INET, NF_IP_PRE_ROUTING, NF_IP_PRI_FILTER };
Dipt_REDIRECT.c39 if (hook_mask & ~((1 << NF_IP_PRE_ROUTING) | (1 << NF_IP_LOCAL_OUT))) { in redirect_check()
68 IP_NF_ASSERT(hooknum == NF_IP_PRE_ROUTING in redirect_target()
Dipt_mac.c38 & ~((1 << NF_IP_PRE_ROUTING) | (1 << NF_IP_LOCAL_IN) in ipt_mac_checkentry()
Dip_nat_irc.c169 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) { in help()
173 : hooknum == NF_IP_PRE_ROUTING ? "PREROUTING" in help()
Dip_nat_standalone.c47 : ((hooknum) == NF_IP_PRE_ROUTING ? "PRE_ROUTING" \
247 = { { NULL, NULL }, ip_nat_in, PF_INET, NF_IP_PRE_ROUTING, NF_IP_PRI_NAT_DST };
Dip_nat_ftp.c238 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) { in help()
242 : hooknum == NF_IP_PRE_ROUTING ? "PREROUTING" in help()
Dip_nat_amanda.c111 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) in help()
Dip_nat_core.c496 = { [NF_IP_PRE_ROUTING] = NF_IP_POST_ROUTING,
497 [NF_IP_POST_ROUTING] = NF_IP_PRE_ROUTING,
513 IP_NF_ASSERT(hooknum == NF_IP_PRE_ROUTING in ip_nat_setup_info()
949 info->manips[i].hooknum == NF_IP_PRE_ROUTING) in icmp_reply_translation()
Dipt_MIRROR.c178 if (hook_mask & ~((1 << NF_IP_PRE_ROUTING) in ipt_mirror_checkentry()
Dip_nat_tftp.c66 || (hooknum == NF_IP_PRE_ROUTING && dir == IP_CT_DIR_REPLY))) in tftp_nat_help()
Dip_conntrack_standalone.c237 = { { NULL, NULL }, ip_conntrack_in, PF_INET, NF_IP_PRE_ROUTING,
Dip_nat_snmp_basic.c1276 if (!((dir == IP_CT_DIR_REPLY && hooknum == NF_IP_PRE_ROUTING && in nat_help()
Dip_conntrack_core.c852 hooknum == NF_IP_PRE_ROUTING ? in ip_conntrack_in()
/linux-2.4.37.9/net/core/
Dnetfilter.c147 if (nf_debug & (1 << NF_IP_PRE_ROUTING)) { in debug_print_hooks_ip()
149 nf_debug ^= (1 << NF_IP_PRE_ROUTING); in debug_print_hooks_ip()
220 | (1 << NF_IP_PRE_ROUTING) in nf_debug_ip_local_deliver()
228 if (skb->nf_debug != ((1<<NF_IP_PRE_ROUTING) in nf_debug_ip_local_deliver()
265 if (skb->nf_debug != ((1 << NF_IP_PRE_ROUTING) in nf_debug_ip_finish_output2()
/linux-2.4.37.9/include/linux/
Dnetfilter_ipv4.h41 #define NF_IP_PRE_ROUTING 0 macro
/linux-2.4.37.9/net/ipv4/
Dip_input.c434 return NF_HOOK(PF_INET, NF_IP_PRE_ROUTING, skb, dev, NULL, in ip_rcv()
/linux-2.4.37.9/net/sched/
Dsch_ingress.c241 NF_IP_PRE_ROUTING,