• Home
  • Raw
  • Download

Lines Matching refs:th

339 	const struct tcphdr *th = (struct tcphdr *)(skb->data+offset);  in tcp_v6_err()  local
350 &hdr->daddr, th->dest, in tcp_v6_err()
351 &hdr->saddr, ntohs(th->source), in tcp_v6_err()
364 seq = ntohl(th->seq); in tcp_v6_err()
573 const struct tcphdr *th) in tcp_v6_md5_hash_hdr() argument
585 if (tcp_v6_md5_hash_pseudoheader(hp, daddr, saddr, th->doff << 2)) in tcp_v6_md5_hash_hdr()
587 if (tcp_md5_hash_header(hp, th)) in tcp_v6_md5_hash_hdr()
612 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb() local
633 if (tcp_md5_hash_header(hp, th)) in tcp_v6_md5_hash_skb()
635 if (tcp_md5_hash_skb_data(hp, skb, th->doff << 2)) in tcp_v6_md5_hash_skb()
661 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_inbound_md5_hash() local
666 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_inbound_md5_hash()
690 &ip6h->saddr, ntohs(th->source), in tcp_v6_inbound_md5_hash()
691 &ip6h->daddr, ntohs(th->dest)); in tcp_v6_inbound_md5_hash()
764 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response() local
793 t1->dest = th->source; in tcp_v6_send_response()
794 t1->source = th->dest; in tcp_v6_send_response()
798 t1->ack = !rst || !th->ack; in tcp_v6_send_response()
866 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset() local
878 if (th->rst) in tcp_v6_send_reset()
888 hash_location = tcp_parse_md5sig_option(th); in tcp_v6_send_reset()
899 th->source, &ipv6h->daddr, in tcp_v6_send_reset()
900 ntohs(th->source), tcp_v6_iif(skb)); in tcp_v6_send_reset()
917 if (th->ack) in tcp_v6_send_reset()
918 seq = ntohl(th->ack_seq); in tcp_v6_send_reset()
920 ack_seq = ntohl(th->seq) + th->syn + th->fin + skb->len - in tcp_v6_send_reset()
921 (th->doff << 2); in tcp_v6_send_reset()
982 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_cookie_check() local
984 if (!th->syn) in tcp_v6_cookie_check()
1372 const struct tcphdr *th) in tcp_v6_fill_cb() argument
1383 TCP_SKB_CB(skb)->seq = ntohl(th->seq); in tcp_v6_fill_cb()
1384 TCP_SKB_CB(skb)->end_seq = (TCP_SKB_CB(skb)->seq + th->syn + th->fin + in tcp_v6_fill_cb()
1385 skb->len - th->doff*4); in tcp_v6_fill_cb()
1386 TCP_SKB_CB(skb)->ack_seq = ntohl(th->ack_seq); in tcp_v6_fill_cb()
1387 TCP_SKB_CB(skb)->tcp_flags = tcp_flag_byte(th); in tcp_v6_fill_cb()
1395 const struct tcphdr *th; in tcp_v6_rcv() local
1412 th = tcp_hdr(skb); in tcp_v6_rcv()
1414 if (th->doff < sizeof(struct tcphdr)/4) in tcp_v6_rcv()
1416 if (!pskb_may_pull(skb, th->doff*4)) in tcp_v6_rcv()
1422 th = tcp_hdr(skb); in tcp_v6_rcv()
1426 sk = __inet6_lookup_skb(&tcp_hashinfo, skb, th->source, th->dest, in tcp_v6_rcv()
1440 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1478 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1485 th = (const struct tcphdr *)skb->data; in tcp_v6_rcv()
1519 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1545 tcp_v6_fill_cb(skb, hdr, th); in tcp_v6_rcv()
1552 switch (tcp_timewait_state_process(inet_twsk(sk), skb, th)) { in tcp_v6_rcv()
1558 &ipv6_hdr(skb)->saddr, th->source, in tcp_v6_rcv()
1560 ntohs(th->dest), tcp_v6_iif(skb)); in tcp_v6_rcv()
1585 const struct tcphdr *th; in tcp_v6_early_demux() local
1595 th = tcp_hdr(skb); in tcp_v6_early_demux()
1597 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v6_early_demux()
1602 &hdr->saddr, th->source, in tcp_v6_early_demux()
1603 &hdr->daddr, ntohs(th->dest), in tcp_v6_early_demux()