Home
last modified time | relevance | path

Searched refs:NF_IP_POST_ROUTING (Results 1 – 21 of 21) 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))
59 [NF_IP_POST_ROUTING] sizeof(struct ipt_standard),
62 [NF_IP_POST_ROUTING] sizeof(struct ipt_standard),
119 IP_NF_ASSERT(hooknum == NF_IP_POST_ROUTING); in ipt_snat_target()
180 if (hook_mask & ~(1 << NF_IP_POST_ROUTING)) { in ipt_snat_checkentry()
Diptable_mangle.c21 (1 << NF_IP_POST_ROUTING))
55 [NF_IP_POST_ROUTING] sizeof(struct ipt_standard) * 4 },
60 [NF_IP_POST_ROUTING] sizeof(struct ipt_standard) * 4 },
181 { { NULL, NULL }, ipt_route_hook, PF_INET, NF_IP_POST_ROUTING,
Dip_fw_compat_masq.c53 ret = ip_conntrack_in(NF_IP_POST_ROUTING, pskb, dev, NULL, NULL); in do_masquerade()
90 ret = ip_nat_setup_info(ct, &range, NF_IP_POST_ROUTING); in do_masquerade()
99 return do_bindings(ct, ctinfo, info, NF_IP_POST_ROUTING, pskb); in do_masquerade()
115 icmp_reply_translation(skb, ct, NF_IP_POST_ROUTING, in check_for_masq_error()
150 NF_IP_POST_ROUTING, in check_for_demasq()
Dip_fw_compat.c131 case NF_IP_POST_ROUTING: in fw_in()
171 } else if (hooknum == NF_IP_POST_ROUTING) { in fw_in()
239 = { { NULL, NULL }, fw_in, PF_INET, NF_IP_POST_ROUTING, NF_IP_PRI_FILTER };
Dipt_MASQUERADE.c43 if (hook_mask & ~(1 << NF_IP_POST_ROUTING)) { in masquerade_check()
74 IP_NF_ASSERT(hooknum == NF_IP_POST_ROUTING); in masquerade_target()
Dipt_CLASSIFY.c50 if (hook_mask & ~(1 << NF_IP_POST_ROUTING)) { in checkentry()
Dip_nat_irc.c168 if (!((hooknum == NF_IP_POST_ROUTING && dir == IP_CT_DIR_ORIGINAL) in help()
172 hooknum == NF_IP_POST_ROUTING ? "POSTROUTING" in help()
Dip_nat_standalone.c46 #define HOOKNAME(hooknum) ((hooknum) == NF_IP_POST_ROUTING ? "POST_ROUTING" \
250 = { { NULL, NULL }, ip_nat_out, PF_INET, NF_IP_POST_ROUTING, NF_IP_PRI_NAT_SRC};
Dip_nat_ftp.c237 if (!((hooknum == NF_IP_POST_ROUTING && dir == IP_CT_DIR_ORIGINAL) in help()
241 hooknum == NF_IP_POST_ROUTING ? "POSTROUTING" in help()
Dip_nat_core.c408 if (hooknum == NF_IP_POST_ROUTING) { in get_unique_tuple()
496 = { [NF_IP_PRE_ROUTING] = NF_IP_POST_ROUTING,
497 [NF_IP_POST_ROUTING] = NF_IP_PRE_ROUTING,
514 || hooknum == NF_IP_POST_ROUTING in ip_nat_setup_info()
847 if (is_tcp && (hooknum == NF_IP_POST_ROUTING in do_bindings()
Dip_nat_amanda.c110 if (!((hooknum == NF_IP_POST_ROUTING && dir == IP_CT_DIR_ORIGINAL) in help()
Dipt_owner.c167 & ~((1 << NF_IP_LOCAL_OUT) | (1 << NF_IP_POST_ROUTING))) { in checkentry()
Dip_nat_tftp.c65 if (!((hooknum == NF_IP_POST_ROUTING && dir == IP_CT_DIR_ORIGINAL) in tftp_nat_help()
Dipt_TCPMSS.c227 | (1 << NF_IP_POST_ROUTING))) != 0)) { in ipt_tcpmss_checkentry()
Dip_conntrack_standalone.c244 = { { NULL, NULL }, ip_refrag, PF_INET, NF_IP_POST_ROUTING, NF_IP_PRI_LAST };
Dip_nat_snmp_basic.c1278 (dir == IP_CT_DIR_ORIGINAL && hooknum == NF_IP_POST_ROUTING && in nat_help()
/linux-2.4.37.9/net/core/
Dnetfilter.c163 if (nf_debug & (1 << NF_IP_POST_ROUTING)) { in debug_print_hooks_ip()
165 nf_debug ^= (1 << NF_IP_POST_ROUTING); in debug_print_hooks_ip()
219 | (1 << NF_IP_POST_ROUTING) in nf_debug_ip_local_deliver()
240 | (1 << NF_IP_POST_ROUTING))) { in nf_debug_ip_loopback_xmit()
259 | (1 << NF_IP_POST_ROUTING))) { in nf_debug_ip_finish_output2()
267 | (1 << NF_IP_POST_ROUTING))) { in nf_debug_ip_finish_output2()
272 | (1 << NF_IP_POST_ROUTING))){ in nf_debug_ip_finish_output2()
/linux-2.4.37.9/include/linux/
Dnetfilter_ipv4.h49 #define NF_IP_POST_ROUTING 4 macro
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_nat.h15 #define HOOK2MANIP(hooknum) ((hooknum) != NF_IP_POST_ROUTING && (hooknum) != NF_IP_LOCAL_IN)
/linux-2.4.37.9/net/ipv4/
Dip_output.c194 return NF_HOOK(PF_INET, NF_IP_POST_ROUTING, skb, NULL, dev, in __ip_finish_output()
241 NF_HOOK(PF_INET, NF_IP_POST_ROUTING, newskb, NULL, in ip_mc_output()
257 NF_HOOK(PF_INET, NF_IP_POST_ROUTING, newskb, NULL, in ip_mc_output()
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_core.c1200 ip_vs_post_routing, PF_INET, NF_IP_POST_ROUTING, NF_IP_PRI_NAT_SRC-1