Lines Matching defs:tcpha
1087 tcpha_t *tcpha;
1260 tcpha = tcp->tcp_tcpha;
1261 tcpha->tha_flags = (TH_ACK|TH_PUSH);
1265 tcpha->tha_sum = htons(sum);
1267 tcpha->tha_seq = htonl(snxt);
1274 tcpha->tha_win = htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws);
1314 (char *)tcpha + TCP_MIN_HEADER_LENGTH+4);
1316 (char *)tcpha + TCP_MIN_HEADER_LENGTH+8);
1350 tcpha = (tcpha_t *)(rptr + ixa->ixa_ip_hdr_length);
1352 tcpha->tha_flags |= TH_ECE;
1354 tcpha->tha_flags |= TH_CWR;
1791 tcpha_t *tcpha;
1870 tcpha = tcp->tcp_tcpha;
1881 tcpha->tha_flags = TH_ACK;
1883 tcpha->tha_flags = (TH_ACK | TH_PUSH);
1898 tcpha->tha_sum = htons(sum);
1899 tcpha->tha_seq = htonl(*snxt);
2148 tcpha = (tcpha_t *)(rptr +
2152 tcpha->tha_sum = htons(sum);
2333 tcpha_t *tcpha;
2376 tcpha = (tcpha_t *)&rptr[ip_hdr_len];
2377 tcpha->tha_flags = (uint8_t)ctl;
2398 tcpha->tha_offset_and_reserved -= (3 << 4);
2407 (char *)tcpha + TCP_MIN_HEADER_LENGTH+4);
2409 (char *)tcpha + TCP_MIN_HEADER_LENGTH+8);
2413 tcpha->tha_win = htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws);
2415 tcp->tcp_tcpha->tha_win = tcpha->tha_win;
2421 tcpha->tha_seq = htonl(seq);
2422 tcpha->tha_ack = htonl(ack);
2427 tcpha->tha_sum = htons(sum);
2448 tcpha_t *tcpha;
2562 tcpha = (tcpha_t *)&mp->b_rptr[ip_hdr_len];
2563 if (tcpha->tha_flags & TH_RST) {
2567 tcpha->tha_offset_and_reserved = (5 << 4);
2598 port = tcpha->tha_fport;
2599 tcpha->tha_fport = tcpha->tha_lport;
2600 tcpha->tha_lport = port;
2602 tcpha->tha_ack = htonl(ack);
2603 tcpha->tha_seq = htonl(seq);
2604 tcpha->tha_win = 0;
2605 tcpha->tha_sum = htons(sizeof (tcpha_t));
2606 tcpha->tha_flags = (uint8_t)ctl;
2621 tcph_t *, tcpha);
2655 __dtrace_tcp_tcph_t *, tcpha);
2685 tcpha_t *tcpha;
2739 tcpha = (tcpha_t *)&rptr[ip_hdr_len];
2740 seg_seq = ntohl(tcpha->tha_seq);
2741 seg_ack = ntohl(tcpha->tha_ack);
2742 flags = tcpha->tha_flags;
2744 seg_len = msgdsize(mp) - (TCP_HDR_LENGTH(tcpha) + ip_hdr_len);
2776 tcp_xmit_mp_aux_iss(tcp_t *tcp, conn_t *connp, tcpha_t *tcpha, mblk_t *mp,
2823 tcpha->tha_offset_and_reserved += (1 << 4);
2851 tcpha->tha_offset_and_reserved += (3 << 4);
2901 tmp_wptr = (uint8_t *)tcpha +
2937 tcpha->tha_offset_and_reserved += (1 << 4);
2946 tcpha->tha_offset_and_reserved += (1 << 4);
2957 tcpha->tha_sum = htons(u1);
3028 tcpha_t *tcpha;
3109 tcpha = (tcpha_t *)&rptr[ixa->ixa_ip_hdr_length];
3110 tcpha->tha_seq = htonl(seq);
3152 tcp_xmit_mp_aux_iss(tcp, connp, tcpha, mp1, &flags);
3172 tcpha->tha_urp = htons(u1);
3175 tcpha->tha_flags = (uchar_t)flags;
3185 (char *)tcpha + TCP_MIN_HEADER_LENGTH+4);
3187 (char *)tcpha + TCP_MIN_HEADER_LENGTH+8);
3193 uchar_t *wptr = (uchar_t *)tcpha + connp->conn_ht_ulp_len;
3211 tcpha->tha_offset_and_reserved += ((num_sack_blk * 2 + 1) << 4);
3233 tcpha->tha_sum = htons(data_length);
3623 tcpha_t *tcp_tmpl, *tcpha;
3634 tcpha = (tcpha_t *)(rptr + connp->conn_ixa->ixa_ip_hdr_length);
3684 tcpha->tha_flags |= TH_ECE;
3686 tcpha->tha_flags |= TH_CWR;
3711 tcpha->tha_offset_and_reserved +=