Lines Matching +full:4 +full:th
383 const struct tcphdr *th = (struct tcphdr *)(skb->data+offset); in tcp_v6_err() local
394 &hdr->daddr, th->dest, in tcp_v6_err()
395 &hdr->saddr, ntohs(th->source), in tcp_v6_err()
408 seq = ntohl(th->seq); in tcp_v6_err()
486 ipv6_icmp_error(sk, skb, err, th->dest, ntohl(info), (u8 *)th); in tcp_v6_err()
670 const struct tcphdr *th, int nbytes) in tcp_v6_md5_hash_headers() argument
684 memcpy(_th, th, sizeof(*th)); in tcp_v6_md5_hash_headers()
687 sg_init_one(&sg, bp, sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
689 sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
695 const struct tcphdr *th) in tcp_v6_md5_hash_hdr() argument
707 if (tcp_v6_md5_hash_headers(hp, daddr, saddr, th, th->doff << 2)) in tcp_v6_md5_hash_hdr()
733 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb() local
752 if (tcp_v6_md5_hash_headers(hp, daddr, saddr, th, skb->len)) in tcp_v6_md5_hash_skb()
754 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2)) in tcp_v6_md5_hash_skb()
782 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_inbound_md5_hash() local
792 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_inbound_md5_hash()
817 &ip6h->saddr, ntohs(th->source), in tcp_v6_inbound_md5_hash()
818 &ip6h->daddr, ntohs(th->dest), l3index); in tcp_v6_inbound_md5_hash()
890 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response() local
920 t1->dest = th->source; in tcp_v6_send_response()
921 t1->source = th->dest; in tcp_v6_send_response()
922 t1->doff = tot_len / 4; in tcp_v6_send_response()
925 t1->ack = !rst || !th->ack; in tcp_v6_send_response()
1008 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset() local
1023 if (th->rst) in tcp_v6_send_reset()
1035 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_send_reset()
1059 th->source, &ipv6h->daddr, in tcp_v6_send_reset()
1060 ntohs(th->source), dif, sdif); in tcp_v6_send_reset()
1079 if (th->ack) in tcp_v6_send_reset()
1080 seq = ntohl(th->ack_seq); in tcp_v6_send_reset()
1082 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset()
1083 (th->doff << 2); in tcp_v6_send_reset()
1165 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_cookie_check() local
1167 if (!th->syn) in tcp_v6_cookie_check()
1174 struct tcphdr *th, u32 *cookie) in tcp_v6_get_syncookie() argument
1179 &tcp_request_sock_ipv6_ops, sk, th); in tcp_v6_get_syncookie()
1181 *cookie = __cookie_v6_init_sequence(iph, th, &mss); in tcp_v6_get_syncookie()
1555 4. Finally, it really contains options, which user wants to receive. in tcp_v6_do_rcv()
1582 const struct tcphdr *th) in tcp_v6_fill_cb() argument
1593 TCP_SKB_CB(skb)->seq = ntohl(th->seq); in tcp_v6_fill_cb()
1594 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb()
1595 skb->len - th->doff*4); in tcp_v6_fill_cb()
1596 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
1597 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v6_fill_cb()
1610 const struct tcphdr *th; in tcp_v6_rcv() local
1628 th = (const struct tcphdr *)skb->data; in tcp_v6_rcv()
1630 if (unlikely(th->doff < sizeof(struct tcphdr)/4)) in tcp_v6_rcv()
1632 if (!pskb_may_pull(skb, th->doff*4)) in tcp_v6_rcv()
1638 th = (const struct tcphdr *)skb->data; in tcp_v6_rcv()
1642 sk = __inet6_lookup_skb(&tcp_hashinfo, skb, __tcp_hdrlen(th), in tcp_v6_rcv()
1643 th->source, th->dest, inet6_iif(skb), sdif, in tcp_v6_rcv()
1675 th = (const struct tcphdr *)skb->data; in tcp_v6_rcv()
1677 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1718 th = (const struct tcphdr *)skb->data; in tcp_v6_rcv()
1720 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1755 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1782 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1789 switch (tcp_timewait_state_process(inet_twsk(sk), skb, th)) { in tcp_v6_rcv()
1795 skb, __tcp_hdrlen(th), in tcp_v6_rcv()
1796 &ipv6_hdr(skb)->saddr, th->source, in tcp_v6_rcv()
1798 ntohs(th->dest), in tcp_v6_rcv()
1828 const struct tcphdr *th; in tcp_v6_early_demux() local
1838 th = tcp_hdr(skb); in tcp_v6_early_demux()
1840 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v6_early_demux()
1845 &hdr->saddr, th->source, in tcp_v6_early_demux()
1846 &hdr->daddr, ntohs(th->dest), in tcp_v6_early_demux()
1957 "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X " in get_openreq6()
2002 timer_active = 4; in get_tcp6_sock()
2023 "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X " in get_tcp6_sock()
2063 "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X " in get_timewait6_sock()