Lines Matching refs:esphlen
255 size_t esphlen; /* sizeof(struct esp/newesp) + ivlen */ in esp_output() local
372 esphlen = esplen + ivlen; in esp_output()
506 esphlen += sizeof(struct udphdr); in esp_output()
515 if (M_LEADINGSPACE(md) < esphlen || (md->m_flags & M_EXT) != 0) { in esp_output()
522 VERIFY(esphlen <= INT32_MAX); in esp_output()
523 n->m_len = (int)esphlen; in esp_output()
526 m->m_pkthdr.len += esphlen; in esp_output()
534 md->m_len += esphlen; in esp_output()
535 md->m_data -= esphlen; in esp_output()
536 m->m_pkthdr.len += esphlen; in esp_output()
548 if (esphlen < (IP_MAXPACKET - ntohs(ip->ip_len))) { in esp_output()
549 ip->ip_len = htons(ntohs(ip->ip_len) + (u_short)esphlen); in esp_output()
898 VERIFY((plen + siz + extendsiz + esphlen) <= UINT16_MAX); in esp_output()
899 udp->uh_ulen = htons((u_int16_t)(plen + siz + extendsiz + esphlen)); in esp_output()