Searched refs:cheat_check (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ip_fw_compat_redir.c | 52 cheat_check(u_int32_t oldvalinv, u_int32_t newval, u_int16_t oldcheck) in cheat_check() function 102 tcph->check = cheat_check(~redir->core.orig_dstip, in do_tcp_redir() 104 cheat_check(redir->core.orig_dport ^ 0xFFFF, in do_tcp_redir() 107 iph->check = cheat_check(~redir->core.orig_dstip, in do_tcp_redir() 142 tcph->check = cheat_check(~redir->core.new_dstip, in do_tcp_unredir() 144 cheat_check(redir->core.new_dport ^ 0xFFFF, in do_tcp_unredir() 147 iph->check = cheat_check(~redir->core.new_dstip, in do_tcp_unredir() 191 udph->check = cheat_check(~iph->daddr, newdst, in do_redirect() 192 cheat_check(udph->dest ^ 0xFFFF, in do_redirect() 195 iph->check = cheat_check(~iph->daddr, newdst, iph->check); in do_redirect()
|
D | ipt_TCPMSS.c | 22 cheat_check(u_int32_t oldvalinv, u_int32_t newval, u_int16_t oldcheck) in cheat_check() function 115 tcph->check = cheat_check(htons(oldmss)^0xFFFF, in ipt_tcpmss_target() 157 tcph->check = cheat_check(htons(tcplen) ^ 0xFFFF, in ipt_tcpmss_target() 166 tcph->check = cheat_check(~0, *((u_int32_t *)opt), tcph->check); in ipt_tcpmss_target() 170 tcph->check = cheat_check(oldval ^ 0xFFFF, in ipt_tcpmss_target() 174 iph->check = cheat_check(iph->tot_len ^ 0xFFFF, in ipt_tcpmss_target()
|