Lines Matching refs:sizoff
184 int sizoff;
186 sizoff = (sav->flags & SADB_X_EXT_OLD) ? 0 : 4;
217 if ((ah->ah_len << 2) - sizoff != siz1) {
220 (ah->ah_len << 2) - sizoff, (u_long)siz1,
227 if (m->m_len < off + sizeof(struct ah) + sizoff + siz1) {
228 m = m_pullup(m, off + sizeof(struct ah) + sizoff + siz1);
240 sizeof(struct ah) + sizoff + siz1);
327 size_t sizoff;
329 sizoff = (sav->flags & SADB_X_EXT_OLD) ? 0 : 4;
331 if (m->m_len < off + sizeof(struct ah) + sizoff + siz1 + hlen) {
333 + sizoff + siz1 + hlen);
342 nip = (struct ip *)((u_char *)(ah + 1) + sizoff + siz1);
636 int sizoff;
638 sizoff = (sav->flags & SADB_X_EXT_OLD) ? 0 : 4;
652 if ((ah->ah_len << 2) - sizoff != siz1) {
655 (ah->ah_len << 2) - sizoff, (u_long)siz1,
661 IP6_EXTHDR_CHECK(m, off, sizeof(struct ah) + sizoff + siz1,
665 sizeof(struct ah) + sizoff + siz1);
743 size_t sizoff;
745 sizoff = (sav->flags & SADB_X_EXT_OLD) ? 0 : 4;
747 IP6_EXTHDR_CHECK(m, off, sizeof(struct ah) + sizoff + siz1
751 nip6 = (struct ip6_hdr *)((u_char *)(ah + 1) + sizoff + siz1);