Lines Matching refs:iphlen
412 size_t iphlen = 0; in esp_output() local
418 iphlen = IP_VHL_HL(inner_ip->ip_vhl) << 2; in esp_output()
420 iphlen = inner_ip->ip_hl << 2; in esp_output()
425 iphlen = sizeof(struct ip6_hdr); in esp_output()
430 if ((int)(iphlen + sizeof(th)) <= in esp_output()
432 m_copydata(md, (int)iphlen, sizeof(th), (u_int8_t *)&th); in esp_output()
435 inner_payload_len = m->m_pkthdr.len - m->m_len - iphlen - (th.th_off << 2); in esp_output()
438 iphlen = hlen; in esp_output()
446 if ((int)(iphlen + sizeof(th)) <= in esp_output()
448 m_copydata(m, (int)iphlen, sizeof(th), (u_int8_t *)&th); in esp_output()
451 inner_payload_len = m->m_pkthdr.len - iphlen - (th.th_off << 2); in esp_output()