Lines Matching defs:hdrs_len
2192 uint_t hdrs_len;
2207 hdrs_len = ip_hdr_length + ulp_hdr_length + extra;
2208 ASSERT(hdrs_len != 0);
2210 if (hdrs_len != connp->conn_ht_iphc_allocated) {
2212 hdrs = kmem_alloc(hdrs_len, KM_NOSLEEP);
2221 connp->conn_ht_iphc_allocated = hdrs_len;
2225 hdrs_len -= extra;
2226 connp->conn_ht_iphc_len = hdrs_len;
2237 ipha->ipha_length = htons(hdrs_len);
2256 ip6h->ip6_plen = htons(hdrs_len - IPV6_HDR_LEN);
2298 uint_t hdrs_len;
2307 hdrs_len = ip_hdr_length + ulp_hdr_length;
2308 ASSERT(hdrs_len != 0);
2314 data_mp->b_rptr - data_mp->b_datap->db_base >= hdrs_len &&
2316 hdrs = data_mp->b_rptr - hdrs_len;
2320 mp = allocb(hdrs_len + wroff_extra, BPRI_MED);
2327 hdrs = mp->b_rptr = mp->b_wptr - hdrs_len;
2342 ipha->ipha_length = htons(hdrs_len + data_length);
2360 ip6h->ip6_plen = htons(hdrs_len + data_length - IPV6_HDR_LEN);