Lines Matching defs:hdrs_len
920 uint_t hdrs_len;
941 hdrs_len = ip_hdr_length + ulp_hdr_length;
942 ASSERT(hdrs_len != 0);
944 if (hdrs_len != sctp->sctp_iphc_len) {
946 hdrs = kmem_alloc(hdrs_len, sleep);
953 sctp->sctp_iphc_len = hdrs_len;
973 ipha->ipha_length = htons(hdrs_len);
981 hdrs_len = ip_hdr_length + ulp_hdr_length;
982 ASSERT(hdrs_len != 0);
984 if (hdrs_len != sctp->sctp_iphc6_len) {
986 hdrs = kmem_alloc(hdrs_len, sleep);
993 sctp->sctp_iphc6_len = hdrs_len;
1014 ip6h->ip6_plen = htons(hdrs_len - IPV6_HDR_LEN);