Lines Matching +full:4 +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()
403 seq = ntohl(th->seq); in tcp_v6_err()
481 ipv6_icmp_error(sk, skb, err, th->dest, ntohl(info), (u8 *)th); in tcp_v6_err()
668 const struct tcphdr *th, int nbytes) in tcp_v6_md5_hash_headers() argument
682 memcpy(_th, th, sizeof(*th)); in tcp_v6_md5_hash_headers()
685 sg_init_one(&sg, bp, sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
687 sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
693 const struct tcphdr *th) in tcp_v6_md5_hash_hdr() argument
705 if (tcp_v6_md5_hash_headers(hp, daddr, saddr, th, th->doff << 2)) in tcp_v6_md5_hash_hdr()
731 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb() local
750 if (tcp_v6_md5_hash_headers(hp, daddr, saddr, th, skb->len)) in tcp_v6_md5_hash_skb()
752 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2)) in tcp_v6_md5_hash_skb()
780 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_inbound_md5_hash() local
790 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_inbound_md5_hash()
815 &ip6h->saddr, ntohs(th->source), in tcp_v6_inbound_md5_hash()
816 &ip6h->daddr, ntohs(th->dest), l3index); in tcp_v6_inbound_md5_hash()
893 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response() local
932 t1->dest = th->source; in tcp_v6_send_response()
933 t1->source = th->dest; in tcp_v6_send_response()
934 t1->doff = tot_len / 4; in tcp_v6_send_response()
937 t1->ack = !rst || !th->ack; in tcp_v6_send_response()
1020 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset() local
1035 if (th->rst) in tcp_v6_send_reset()
1047 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_send_reset()
1071 th->source, &ipv6h->daddr, in tcp_v6_send_reset()
1072 ntohs(th->source), dif, sdif); in tcp_v6_send_reset()
1091 if (th->ack) in tcp_v6_send_reset()
1092 seq = ntohl(th->ack_seq); in tcp_v6_send_reset()
1094 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset()
1095 (th->doff << 2); in tcp_v6_send_reset()
1177 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_cookie_check() local
1179 if (!th->syn) in tcp_v6_cookie_check()
1186 struct tcphdr *th, u32 *cookie) in tcp_v6_get_syncookie() argument
1191 &tcp_request_sock_ipv6_ops, sk, th); in tcp_v6_get_syncookie()
1193 *cookie = __cookie_v6_init_sequence(iph, th, &mss); in tcp_v6_get_syncookie()
1571 4. Finally, it really contains options, which user wants to receive. in tcp_v6_do_rcv()
1599 const struct tcphdr *th) in tcp_v6_fill_cb() argument
1610 TCP_SKB_CB(skb)->seq = ntohl(th->seq); in tcp_v6_fill_cb()
1611 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb()
1612 skb->len - th->doff*4); in tcp_v6_fill_cb()
1613 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
1614 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v6_fill_cb()
1627 const struct tcphdr *th; in tcp_v6_rcv() local
1645 th = (const struct tcphdr *)skb->data; in tcp_v6_rcv()
1647 if (unlikely(th->doff < sizeof(struct tcphdr)/4)) in tcp_v6_rcv()
1649 if (!pskb_may_pull(skb, th->doff*4)) in tcp_v6_rcv()
1655 th = (const struct tcphdr *)skb->data; in tcp_v6_rcv()
1659 sk = __inet6_lookup_skb(&tcp_hashinfo, skb, __tcp_hdrlen(th), in tcp_v6_rcv()
1660 th->source, th->dest, inet6_iif(skb), sdif, in tcp_v6_rcv()
1700 th = (const struct tcphdr *)skb->data; in tcp_v6_rcv()
1702 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1743 th = (const struct tcphdr *)skb->data; in tcp_v6_rcv()
1745 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1780 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1808 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1815 switch (tcp_timewait_state_process(inet_twsk(sk), skb, th)) { in tcp_v6_rcv()
1821 skb, __tcp_hdrlen(th), in tcp_v6_rcv()
1822 &ipv6_hdr(skb)->saddr, th->source, in tcp_v6_rcv()
1824 ntohs(th->dest), in tcp_v6_rcv()
1854 const struct tcphdr *th; in tcp_v6_early_demux() local
1864 th = tcp_hdr(skb); in tcp_v6_early_demux()
1866 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v6_early_demux()
1871 &hdr->saddr, th->source, in tcp_v6_early_demux()
1872 &hdr->daddr, ntohs(th->dest), in tcp_v6_early_demux()
1989 "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X " in get_openreq6()
2034 timer_active = 4; in get_tcp6_sock()
2055 "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X " in get_tcp6_sock()
2095 "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X " in get_timewait6_sock()