Lines Matching refs:divpoint
795 uint_t divpoint; in esp_strip_header() local
813 divpoint = IPH_HDR_LENGTH(ipha); in esp_strip_header()
817 divpoint = ip_hdr_length_v6(data_mp, ip6h); in esp_strip_header()
1001 src = (uint32_t *)(start + divpoint); in esp_strip_header()
1002 dst = (uint32_t *)(start + divpoint + sizeof (esph_t) + ivlen); in esp_strip_header()
1018 src = start + divpoint; in esp_strip_header()
1498 esp_insert_esp(mblk_t *mp, mblk_t *esp_mp, uint_t divpoint, in esp_insert_esp() argument
1502 uint_t wheretodiv = divpoint; in esp_insert_esp()
2614 uintptr_t divpoint, datalen, adj, padlen, i, alloclen; in esp_outbound() local
2693 divpoint = IPH_HDR_LENGTH(ipha); in esp_outbound()
2694 datalen = ntohs(ipha->ipha_length) - divpoint; in esp_outbound()
2704 divpoint = ip_find_hdr_v6(data_mp, ip6h, B_FALSE, &ipp, NULL); in esp_outbound()
2718 divpoint -= ipp.ipp_dstoptslen; in esp_outbound()
2720 datalen = ntohs(ip6h->ip6_plen) + sizeof (ip6_t) - divpoint; in esp_outbound()
2727 ASSERT(divpoint == sizeof (ip6_t)); in esp_outbound()
2902 if (!esp_insert_esp(data_mp, espmp, divpoint, espstack)) { in esp_outbound()