• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/

Lines Matching defs:th

322 	const struct tcphdr *th = (struct tcphdr *)(skb->data+offset);
331 th->dest, &hdr->saddr, th->source, skb->dev->ifindex);
357 seq = ntohl(th->seq);
425 req = inet6_csk_search_req(sk, &prev, th->dest, &hdr->daddr,
767 struct tcphdr *th)
779 if (tcp_v6_md5_hash_pseudoheader(hp, daddr, saddr, th->doff << 2))
781 if (tcp_md5_hash_header(hp, th))
805 struct tcphdr *th = tcp_hdr(skb);
829 if (tcp_md5_hash_header(hp, th))
831 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2))
853 struct tcphdr *th = tcp_hdr(skb);
858 hash_location = tcp_parse_md5sig_option(th);
883 &ip6h->saddr, ntohs(th->source),
884 &ip6h->daddr, ntohs(th->dest));
918 struct tcphdr *th = tcp_hdr(skb);
921 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0);
925 th->check = tcp_v6_check(skb->len, saddr, daddr,
926 csum_partial(th, th->doff << 2,
941 struct tcphdr *th;
943 if (!pskb_may_pull(skb, sizeof(*th)))
947 th = tcp_hdr(skb);
949 th->check = 0;
980 struct tcphdr *th = tcp_hdr(skb);
982 th->check = ~tcp_v6_check(skb->len - skb_transport_offset(skb),
992 struct tcphdr *th = tcp_hdr(skb), *t1;
1020 t1->dest = th->source;
1021 t1->source = th->dest;
1025 t1->ack = !rst || !th->ack;
1083 struct tcphdr *th = tcp_hdr(skb);
1087 if (th->rst)
1098 if (th->ack)
1099 seq = ntohl(th->ack_seq);
1101 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len -
1102 (th->doff << 2);
1136 const struct tcphdr *th = tcp_hdr(skb);
1140 req = inet6_csk_search_req(sk, &prev, th->source,
1147 &ipv6_hdr(skb)->saddr, th->source,
1148 &ipv6_hdr(skb)->daddr, ntohs(th->dest), inet6_iif(skb));
1160 if (!th->syn)
1668 struct tcphdr *th;
1685 th = tcp_hdr(skb);
1687 if (th->doff < sizeof(struct tcphdr)/4)
1689 if (!pskb_may_pull(skb, th->doff*4))
1695 th = tcp_hdr(skb);
1697 TCP_SKB_CB(skb)->seq = ntohl(th->seq);
1698 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin +
1699 skb->len - th->doff*4);
1700 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq);
1705 sk = __inet6_lookup_skb(&tcp_hashinfo, skb, th->source, th->dest);
1755 if (skb->len < (th->doff<<2) || tcp_checksum_complete(skb)) {
1781 if (skb->len < (th->doff<<2) || tcp_checksum_complete(skb)) {
1787 switch (tcp_timewait_state_process(inet_twsk(sk), skb, th)) {
1794 ntohs(th->dest), inet6_iif(skb));