Lines Matching defs:rptr
90 uchar_t *rptr;
125 rptr = mp->b_rptr;
126 if ((mp->b_wptr - rptr) >= sizeof (t_scalar_t)) {
127 type = ((union T_primitives *)rptr)->type;
894 uchar_t *rptr;
910 rptr = mp->b_rptr;
911 ASSERT((uintptr_t)(mp->b_wptr - rptr) <= (uintptr_t)INT_MAX);
912 if ((mp->b_wptr - rptr) >= sizeof (t_scalar_t)) {
913 type = ((union T_primitives *)rptr)->type;
1085 uchar_t *rptr;
1291 rptr = mp1->b_rptr - hdrlen;
1293 if ((db->db_ref != 2) || rptr < db->db_base ||
1294 (!OK_32PTR(rptr))) {
1304 rptr = &mp1->b_rptr[tcps->tcps_wroff_xtra];
1305 mp1->b_wptr = &rptr[hdrlen];
1307 mp1->b_rptr = rptr;
1322 dst = (ipaddr_t *)rptr;
1348 TCP_SET_ECT(tcp, rptr);
1350 tcpha = (tcpha_t *)(rptr + ixa->ixa_ip_hdr_length);
1794 uchar_t *rptr;
1973 rptr = (*xmit_tail)->b_wptr - *tail_unsent;
1974 if (rptr != (*xmit_tail)->b_rptr) {
1992 mp->b_rptr = rptr;
2041 rptr = mp->b_rptr - len;
2042 if (!OK_32PTR(rptr) ||
2044 rptr < db->db_base) {
2058 rptr = &mp->b_rptr[tcps->tcps_wroff_xtra];
2059 mp->b_wptr = &rptr[len];
2066 tcp_fill_header(tcp, rptr, (clock_t)local_time, num_sack_blk);
2068 mp->b_rptr = rptr;
2148 tcpha = (tcpha_t *)(rptr +
2155 ((ipha_t *)rptr)->ipha_length) +
2157 ((ipha_t *)rptr)->ipha_length =
2161 ((ip6_t *)rptr)->ip6_plen) +
2163 ((ip6_t *)rptr)->ip6_plen =
2332 uchar_t *rptr;
2362 rptr = &mp->b_rptr[tcps->tcps_wroff_xtra];
2363 mp->b_rptr = rptr;
2364 mp->b_wptr = &rptr[total_hdr_len];
2365 bcopy(connp->conn_ht_iphc, rptr, total_hdr_len);
2370 ipha = (ipha_t *)rptr;
2373 ip6h = (ip6_t *)rptr;
2376 tcpha = (tcpha_t *)&rptr[ip_hdr_len];
2386 mp->b_wptr = &rptr[total_hdr_len - TCPOPT_REAL_TS_LEN];
2683 uchar_t *rptr;
2737 rptr = mp->b_rptr;
2739 tcpha = (tcpha_t *)&rptr[ip_hdr_len];
3027 uchar_t *rptr;
3105 rptr = mp1->b_rptr + tcps->tcps_wroff_xtra;
3106 mp1->b_rptr = rptr;
3107 mp1->b_wptr = rptr + connp->conn_ht_iphc_len + sack_opt_len;
3108 bcopy(connp->conn_ht_iphc, rptr, connp->conn_ht_iphc_len);
3109 tcpha = (tcpha_t *)&rptr[ixa->ixa_ip_hdr_length];
3136 TCP_SET_ECT(tcp, rptr);
3213 ASSERT((uintptr_t)(mp1->b_wptr - rptr) <= (uintptr_t)INT_MAX);
3214 data_length += (int)(mp1->b_wptr - rptr);
3219 ((ipha_t *)rptr)->ipha_length = htons(data_length);
3221 ip6_t *ip6 = (ip6_t *)rptr;
3621 tcp_fill_header(tcp_t *tcp, uchar_t *rptr, clock_t now, int num_sack_blk)
3628 ASSERT(OK_32PTR(rptr));
3634 tcpha = (tcpha_t *)(rptr + connp->conn_ixa->ixa_ip_hdr_length);
3637 dst = (uint32_t *)rptr;
3681 TCP_SET_ECT(tcp, rptr);
3693 uchar_t *wptr = rptr + connp->conn_ht_iphc_len;