Lines Matching refs:tcpha

1086 	tcpha_t		*tcpha;
1259 tcpha = tcp->tcp_tcpha;
1260 tcpha->tha_flags = (TH_ACK|TH_PUSH);
1264 tcpha->tha_sum = htons(sum);
1266 tcpha->tha_seq = htonl(snxt);
1273 tcpha->tha_win = htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws);
1313 (char *)tcpha + TCP_MIN_HEADER_LENGTH+4);
1315 (char *)tcpha + TCP_MIN_HEADER_LENGTH+8);
1349 tcpha = (tcpha_t *)(rptr + ixa->ixa_ip_hdr_length);
1351 tcpha->tha_flags |= TH_ECE;
1353 tcpha->tha_flags |= TH_CWR;
1791 tcpha_t *tcpha;
1887 tcpha = tcp->tcp_tcpha;
1898 tcpha->tha_flags = TH_ACK;
1900 tcpha->tha_flags = (TH_ACK | TH_PUSH);
1915 tcpha->tha_sum = htons(sum);
1916 tcpha->tha_seq = htonl(*snxt);
2165 tcpha = (tcpha_t *)(rptr +
2169 tcpha->tha_sum = htons(sum);
2350 tcpha_t *tcpha;
2393 tcpha = (tcpha_t *)&rptr[ip_hdr_len];
2394 tcpha->tha_flags = (uint8_t)ctl;
2415 tcpha->tha_offset_and_reserved -= (3 << 4);
2424 (char *)tcpha + TCP_MIN_HEADER_LENGTH+4);
2426 (char *)tcpha + TCP_MIN_HEADER_LENGTH+8);
2430 tcpha->tha_win = htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws);
2432 tcp->tcp_tcpha->tha_win = tcpha->tha_win;
2438 tcpha->tha_seq = htonl(seq);
2439 tcpha->tha_ack = htonl(ack);
2444 tcpha->tha_sum = htons(sum);
2465 tcpha_t *tcpha;
2579 tcpha = (tcpha_t *)&mp->b_rptr[ip_hdr_len];
2580 if (tcpha->tha_flags & TH_RST) {
2584 tcpha->tha_offset_and_reserved = (5 << 4);
2615 port = tcpha->tha_fport;
2616 tcpha->tha_fport = tcpha->tha_lport;
2617 tcpha->tha_lport = port;
2619 tcpha->tha_ack = htonl(ack);
2620 tcpha->tha_seq = htonl(seq);
2621 tcpha->tha_win = 0;
2622 tcpha->tha_sum = htons(sizeof (tcpha_t));
2623 tcpha->tha_flags = (uint8_t)ctl;
2638 tcph_t *, tcpha);
2672 __dtrace_tcp_tcph_t *, tcpha);
2702 tcpha_t *tcpha;
2756 tcpha = (tcpha_t *)&rptr[ip_hdr_len];
2757 seg_seq = ntohl(tcpha->tha_seq);
2758 seg_ack = ntohl(tcpha->tha_ack);
2759 flags = tcpha->tha_flags;
2761 seg_len = msgdsize(mp) - (TCP_HDR_LENGTH(tcpha) + ip_hdr_len);
2793 tcp_xmit_mp_aux_iss(tcp_t *tcp, conn_t *connp, tcpha_t *tcpha, mblk_t *mp,
2840 tcpha->tha_offset_and_reserved += (1 << 4);
2868 tcpha->tha_offset_and_reserved += (3 << 4);
2918 tmp_wptr = (uint8_t *)tcpha +
2954 tcpha->tha_offset_and_reserved += (1 << 4);
2963 tcpha->tha_offset_and_reserved += (1 << 4);
2974 tcpha->tha_sum = htons(u1);
3045 tcpha_t *tcpha;
3126 tcpha = (tcpha_t *)&rptr[ixa->ixa_ip_hdr_length];
3127 tcpha->tha_seq = htonl(seq);
3169 tcp_xmit_mp_aux_iss(tcp, connp, tcpha, mp1, &flags);
3189 tcpha->tha_urp = htons(u1);
3192 tcpha->tha_flags = (uchar_t)flags;
3202 (char *)tcpha + TCP_MIN_HEADER_LENGTH+4);
3204 (char *)tcpha + TCP_MIN_HEADER_LENGTH+8);
3210 uchar_t *wptr = (uchar_t *)tcpha + connp->conn_ht_ulp_len;
3228 tcpha->tha_offset_and_reserved += ((num_sack_blk * 2 + 1) << 4);
3250 tcpha->tha_sum = htons(data_length);
3647 tcpha_t *tcp_tmpl, *tcpha;
3658 tcpha = (tcpha_t *)(rptr + connp->conn_ixa->ixa_ip_hdr_length);
3708 tcpha->tha_flags |= TH_ECE;
3710 tcpha->tha_flags |= TH_CWR;
3735 tcpha->tha_offset_and_reserved +=