Searched refs:esphlen (Results 1 – 2 of 2) sorted by relevance
259 size_t esphlen; /* sizeof(struct esp/newesp) + ivlen */ in esp_output() local376 esphlen = esplen + ivlen; in esp_output()510 esphlen += sizeof(struct udphdr); in esp_output()519 if (M_LEADINGSPACE(md) < esphlen || (md->m_flags & M_EXT) != 0) { in esp_output()526 VERIFY(esphlen <= INT32_MAX); in esp_output()527 n->m_len = (int)esphlen; in esp_output()530 m->m_pkthdr.len += esphlen; in esp_output()538 md->m_len += esphlen; in esp_output()539 md->m_data -= esphlen; in esp_output()540 m->m_pkthdr.len += esphlen; in esp_output()[all …]
1742 size_t esphlen = 0; in esp_kpipe_input() local1928 esphlen = sizeof(struct newesp) + ivlen; in esp_kpipe_input()1937 if (__improbable(slen < iphlen + esphlen + auth_size)) { in esp_kpipe_input()1974 if (__improbable(slen <= (iphlen + esphlen + sizeof(struct esptail) + in esp_kpipe_input()1994 src_payload = sbaddr + iphlen + esphlen; in esp_kpipe_input()1996 uint16_t encrypted_payload_len = (uint16_t)(slen - iphlen - esphlen - auth_size); in esp_kpipe_input()