Lines Matching defs:tcpha

238 tcp_parse_options(tcpha_t *tcpha, tcp_opt_t *tcpopt)
243 uchar_t *up = (uchar_t *)tcpha;
249 endp = up + TCP_HDR_LENGTH(tcpha);
398 tcp_process_options(tcp_t *tcp, tcpha_t *tcpha)
408 options = tcp_parse_options(tcpha, &tcpopt);
690 tcp_paws_check(tcp_t *tcp, tcpha_t *tcpha, tcp_opt_t *tcpoptp)
697 flags = (unsigned int)tcpha->tha_flags & 0xFF;
703 if (TCP_HDR_LENGTH(tcpha) == (uint32_t)TCP_MIN_HEADER_LENGTH +
705 OK_32PTR((up = ((uint8_t *)tcpha) +
718 options = tcp_parse_options(tcpha, tcpoptp);
1313 tcpha_t *tcpha;
1331 tcpha = (tcpha_t *)&mp->b_rptr[ip_hdr_len];
1332 flags = (unsigned int)tcpha->tha_flags & 0xFF;
1336 __dtrace_tcp_tcph_t *, tcpha);
1466 econnp->conn_fport = tcpha->tha_lport;
1467 econnp->conn_lport = tcpha->tha_fport;
1664 tcp_process_options(eager, tcpha);
1668 (tcpha->tha_flags & (TH_ECE|TH_CWR)) == (TH_ECE|TH_CWR)) {
1753 seg_seq = ntohl(tcpha->tha_seq);
2120 tcpha_t *tcpha;
2156 tcpha = (tcpha_t *)&rptr[ixa->ixa_ip_hdr_length];
2159 tcpha->tha_seq = htonl(seq_no);
2162 tcpha->tha_flags = (uchar_t)TH_ACK;
2164 tcpha->tha_flags |= TH_ECE;
2174 (char *)tcpha + TCP_MIN_HEADER_LENGTH+4);
2176 (char *)tcpha + TCP_MIN_HEADER_LENGTH+8);
2181 uchar_t *wptr = (uchar_t *)tcpha +
2200 tcpha->tha_offset_and_reserved +=
2220 tcpha->tha_sum = htons(data_length);
2261 tcpha_t *tcpha;
2318 tcpha = (tcpha_t *)&rptr[ip_hdr_len];
2319 seg_seq = ntohl(tcpha->tha_seq);
2320 seg_ack = ntohl(tcpha->tha_ack);
2323 (ip_hdr_len + TCP_HDR_LENGTH(tcpha));
2335 __dtrace_tcp_tcph_t *, tcpha);
2339 seg_len, tcpha, ira);
2354 flags = (unsigned int)tcpha->tha_flags & 0xFF;
2385 tcpha = (tcpha_t *)&rptr[ip_hdr_len];
2394 mp->b_wptr = (uchar_t *)tcpha + TCP_HDR_LENGTH(tcpha);
2440 tcph_t *, tcpha);
2452 tcp_process_options(tcp, tcpha);
2546 new_swnd = ntohs(tcpha->tha_win);
2563 void_ip_t *, iphdr, tcp_t *, tcp, tcph_t *, tcpha);
2713 pinit_wnd = ntohs(tcpha->tha_win) << tcp->tcp_snd_ws;
2795 mp->b_rptr = (uchar_t *)tcpha + TCP_HDR_LENGTH(tcpha);
2796 urp = ntohs(tcpha->tha_urp) - TCP_OLD_URP_INTERPRETATION;
2797 new_swnd = ntohs(tcpha->tha_win) <<
2798 ((tcpha->tha_flags & TH_SYN) ? 0 : tcp->tcp_snd_ws);
2801 if (!tcp_paws_check(tcp, tcpha, &tcpopt)) {
2816 (void) tcp_parse_options(tcpha, &tcpopt);
3605 iphdr, tcp_t *, tcp, tcph_t *, tcpha);
3643 iphdr, tcp_t *, tcp, tcph_t *, tcpha);
3703 iphdr, tcp_t *, tcp, tcph_t *, tcpha);
3753 tcp_fuse(tcp, iphdr, tcpha);
4472 tcpha = tcp->tcp_tcpha;
4473 tcpha->tha_ack = htonl(tcp->tcp_rnxt);
4546 tcpha = tcp->tcp_tcpha;
4589 tcpha->tha_ack = htonl(tcp->tcp_rnxt);
5418 tcpha_t *tcpha;
5453 tcpha = (tcpha_t *)((char *)ipha + iph_hdr_length);
5461 (uchar_t *)tcpha + ICMP_MIN_TCP_HDR > mp->b_wptr) {
5465 seg_seq = ntohl(tcpha->tha_seq);
5554 tcpha_t *tcpha;
5576 tcpha = (tcpha_t *)((char *)ip6h + iph_hdr_length);
5583 ((uchar_t *)tcpha + ICMP_MIN_TCP_HDR) > mp->b_wptr) {
5587 seg_seq = ntohl(tcpha->tha_seq);
5664 tcpha_t *tcpha = (tcpha_t *)arg2;
5665 uint32_t seq = ntohl(tcpha->tha_seq);