Lines Matching +full:8 +full:th
377 const struct tcphdr *th = (struct tcphdr *)(skb->data+offset); in tcp_v6_err() local
388 &hdr->daddr, th->dest, in tcp_v6_err()
389 &hdr->saddr, ntohs(th->source), in tcp_v6_err()
404 seq = ntohl(th->seq); in tcp_v6_err()
490 ipv6_icmp_error(sk, skb, err, th->dest, ntohl(info), (u8 *)th); in tcp_v6_err()
696 const struct tcphdr *th, int nbytes) in tcp_v6_md5_hash_headers() argument
710 memcpy(_th, th, sizeof(*th)); in tcp_v6_md5_hash_headers()
713 sg_init_one(&sg, bp, sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
715 sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
721 const struct tcphdr *th) in tcp_v6_md5_hash_hdr() argument
730 if (tcp_v6_md5_hash_headers(&hp, daddr, saddr, th, th->doff << 2)) in tcp_v6_md5_hash_hdr()
753 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb() local
772 if (tcp_v6_md5_hash_headers(&hp, daddr, saddr, th, skb->len)) in tcp_v6_md5_hash_skb()
774 if (tcp_sigpool_hash_skb_data(&hp, skb, th->doff << 2)) in tcp_v6_md5_hash_skb()
868 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response() local
906 t1->dest = th->source; in tcp_v6_send_response()
907 t1->source = th->dest; in tcp_v6_send_response()
911 t1->ack = !rst || !th->ack; in tcp_v6_send_response()
919 (TCPOPT_TIMESTAMP << 8) | TCPOLEN_TIMESTAMP); in tcp_v6_send_response()
930 (TCPOPT_MD5SIG << 8) | TCPOLEN_MD5SIG); in tcp_v6_send_response()
940 (key->ao_key->sndid << 8) | in tcp_v6_send_response()
1010 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset() local
1030 if (th->rst) in tcp_v6_send_reset()
1041 if (tcp_parse_auth_options(th, &md5_hash_location, &aoh)) in tcp_v6_send_reset()
1070 NULL, 0, &ipv6h->saddr, th->source, in tcp_v6_send_reset()
1071 &ipv6h->daddr, ntohs(th->source), in tcp_v6_send_reset()
1092 if (th->ack) in tcp_v6_send_reset()
1093 seq = ntohl(th->ack_seq); in tcp_v6_send_reset()
1095 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset()
1096 (th->doff << 2); in tcp_v6_send_reset()
1292 const struct tcphdr *th = tcp_hdr(skb); local
1294 if (!th->syn)
1301 struct tcphdr *th, u32 *cookie) argument
1306 &tcp_request_sock_ipv6_ops, sk, th);
1308 *cookie = __cookie_v6_init_sequence(iph, th, &mss);
1724 const struct tcphdr *th) argument
1735 TCP_SKB_CB(skb)->seq = ntohl(th->seq);
1736 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin +
1737 skb->len - th->doff*4);
1738 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq);
1739 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th);
1752 const struct tcphdr *th; local
1771 th = (const struct tcphdr *)skb->data;
1773 if (unlikely(th->doff < sizeof(struct tcphdr) / 4)) {
1777 if (!pskb_may_pull(skb, th->doff*4))
1783 th = (const struct tcphdr *)skb->data;
1787 sk = __inet6_lookup_skb(net->ipv4.tcp_death_row.hashinfo, skb, __tcp_hdrlen(th),
1788 th->source, th->dest, inet6_iif(skb), sdif,
1834 th = (const struct tcphdr *)skb->data;
1836 tcp_v6_fill_cb(skb, hdr, th);
1893 th = (const struct tcphdr *)skb->data;
1895 tcp_v6_fill_cb(skb, hdr, th);
1926 tcp_v6_fill_cb(skb, hdr, th);
1957 tcp_v6_fill_cb(skb, hdr, th);
1964 switch (tcp_timewait_state_process(inet_twsk(sk), skb, th)) {
1970 skb, __tcp_hdrlen(th),
1971 &ipv6_hdr(skb)->saddr, th->source,
1973 ntohs(th->dest),
2004 const struct tcphdr *th; local
2014 th = tcp_hdr(skb);
2016 if (th->doff < sizeof(struct tcphdr) / 4)
2021 &hdr->saddr, th->source,
2022 &hdr->daddr, ntohs(th->dest),
2147 "%02X %08X:%08X %02X:%08lX %08X %5u %8d %d %d %pK\n",
2213 "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d %pK %lu %lu %u %u %d\n",
2253 "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n",