Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv4/netfilter/
Dipt_REJECT.c91 if (tcp_v4_check(otcph, otcplen, oldskb->nh.iph->saddr, in send_reset()
157 tcph->check = tcp_v4_check(tcph, sizeof(struct tcphdr), in send_reset()
Dip_conntrack_irc.c147 if (tcp_v4_check(tcph, tcplen, iph->saddr, iph->daddr, in help()
Dip_conntrack_ftp.c268 if (tcp_v4_check(tcph, tcplen, iph->saddr, iph->daddr, in help()
Dip_nat_helper.c201 tcph->check = tcp_v4_check(tcph, newtcplen, iph->saddr, iph->daddr, in ip_nat_mangle_tcp_packet()
Dip_nat_core.c727 if (tcp_v4_check(th, len - 4*iph->ihl, iph->saddr, iph->daddr, in manip_pkt()
/linux-2.4.37.9/net/ipv4/
Dtcp_ipv4.c1133 th->check = ~tcp_v4_check(th, len, sk->saddr, sk->daddr, 0); in tcp_v4_send_check()
1136 th->check = tcp_v4_check(th, len, sk->saddr, sk->daddr, in tcp_v4_send_check()
1309 th->check = tcp_v4_check(th, skb->len, in tcp_v4_send_synack()
1631 if (!tcp_v4_check(skb->h.th,skb->len,skb->nh.iph->saddr, in tcp_v4_checksum_init()
1639 if (tcp_v4_check(skb->h.th,skb->len,skb->nh.iph->saddr, in tcp_v4_checksum_init()
1645 skb->csum = ~tcp_v4_check(skb->h.th,skb->len,skb->nh.iph->saddr, in tcp_v4_checksum_init()
/linux-2.4.37.9/include/net/
Dtcp.h1402 static __inline__ u16 tcp_v4_check(struct tcphdr *th, int len, in tcp_v4_check() function