Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_helper.c136 u_int32_t tcplen, newlen, newtcplen; in ip_nat_mangle_tcp_packet() local
139 newtcplen = tcplen - match_len + rep_len; in ip_nat_mangle_tcp_packet()
140 newlen = iph->ihl*4 + newtcplen; in ip_nat_mangle_tcp_packet()
201 tcph->check = tcp_v4_check(tcph, newtcplen, iph->saddr, iph->daddr, in ip_nat_mangle_tcp_packet()
202 csum_partial((char *)tcph, newtcplen, 0)); in ip_nat_mangle_tcp_packet()