Lines Matching +full:8 +full:th

378 	const struct tcphdr *th = (struct tcphdr *)(skb->data+offset);  in tcp_v6_err()  local
389 &hdr->daddr, th->dest, in tcp_v6_err()
390 &hdr->saddr, ntohs(th->source), in tcp_v6_err()
405 seq = ntohl(th->seq); in tcp_v6_err()
491 ipv6_icmp_error(sk, skb, err, th->dest, ntohl(info), (u8 *)th); in tcp_v6_err()
693 const struct tcphdr *th, int nbytes) in tcp_v6_md5_hash_headers() argument
707 memcpy(_th, th, sizeof(*th)); in tcp_v6_md5_hash_headers()
710 sg_init_one(&sg, bp, sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
712 sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
718 const struct tcphdr *th) in tcp_v6_md5_hash_hdr() argument
727 if (tcp_v6_md5_hash_headers(&hp, daddr, saddr, th, th->doff << 2)) in tcp_v6_md5_hash_hdr()
750 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb() local
769 if (tcp_v6_md5_hash_headers(&hp, daddr, saddr, th, skb->len)) in tcp_v6_md5_hash_skb()
771 if (tcp_sigpool_hash_skb_data(&hp, skb, th->doff << 2)) in tcp_v6_md5_hash_skb()
867 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response() local
905 t1->dest = th->source; in tcp_v6_send_response()
906 t1->source = th->dest; in tcp_v6_send_response()
910 t1->ack = !rst || !th->ack; in tcp_v6_send_response()
918 (TCPOPT_TIMESTAMP << 8) | TCPOLEN_TIMESTAMP); in tcp_v6_send_response()
929 (TCPOPT_MD5SIG << 8) | TCPOLEN_MD5SIG); in tcp_v6_send_response()
939 (key->ao_key->sndid << 8) | in tcp_v6_send_response()
1013 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset() local
1033 if (th->rst) in tcp_v6_send_reset()
1044 if (tcp_parse_auth_options(th, &md5_hash_location, &aoh)) in tcp_v6_send_reset()
1073 NULL, 0, &ipv6h->saddr, th->source, in tcp_v6_send_reset()
1074 &ipv6h->daddr, ntohs(th->source), in tcp_v6_send_reset()
1095 if (th->ack) in tcp_v6_send_reset()
1096 seq = ntohl(th->ack_seq); in tcp_v6_send_reset()
1098 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset()
1099 (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);
1723 const struct tcphdr *th) argument
1734 TCP_SKB_CB(skb)->seq = ntohl(th->seq);
1735 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin +
1736 skb->len - th->doff*4);
1737 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq);
1738 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th);
1750 const struct tcphdr *th; local
1770 th = (const struct tcphdr *)skb->data;
1772 if (unlikely(th->doff < sizeof(struct tcphdr) / 4)) {
1776 if (!pskb_may_pull(skb, th->doff*4))
1782 th = (const struct tcphdr *)skb->data;
1786 sk = __inet6_lookup_skb(net->ipv4.tcp_death_row.hashinfo, skb, __tcp_hdrlen(th),
1787 th->source, th->dest, inet6_iif(skb), sdif,
1832 th = (const struct tcphdr *)skb->data;
1834 tcp_v6_fill_cb(skb, hdr, th);
1897 th = (const struct tcphdr *)skb->data;
1899 tcp_v6_fill_cb(skb, hdr, th);
1930 tcp_v6_fill_cb(skb, hdr, th);
1961 tcp_v6_fill_cb(skb, hdr, th);
1968 switch (tcp_timewait_state_process(inet_twsk(sk), skb, th, &isn)) {
1974 skb, __tcp_hdrlen(th),
1975 &ipv6_hdr(skb)->saddr, th->source,
1977 ntohs(th->dest),
2009 const struct tcphdr *th; local
2019 th = tcp_hdr(skb);
2021 if (th->doff < sizeof(struct tcphdr) / 4)
2026 &hdr->saddr, th->source,
2027 &hdr->daddr, ntohs(th->dest),
2151 "%02X %08X:%08X %02X:%08lX %08X %5u %8d %d %d %pK\n",
2219 "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d %pK %lu %lu %u %u %d\n",
2259 "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n",