Lines Matching refs:sizoff
198 int sizoff; in ah4_input() local
200 sizoff = (sav->flags & SADB_X_EXT_OLD) ? 0 : 4; in ah4_input()
231 if ((ah->ah_len << 2) - sizoff != siz1) { in ah4_input()
234 (ah->ah_len << 2) - sizoff, (u_int32_t)siz1, in ah4_input()
240 if (m->m_len < off + sizeof(struct ah) + sizoff + siz1) { in ah4_input()
241 VERIFY((off + sizeof(struct ah) + sizoff + siz1) <= INT_MAX); in ah4_input()
242 m = m_pullup(m, (int)(off + sizeof(struct ah) + sizoff + siz1)); in ah4_input()
657 int sizoff; in ah6_input() local
659 sizoff = (sav->flags & SADB_X_EXT_OLD) ? 0 : 4; in ah6_input()
673 if ((ah->ah_len << 2) - sizoff != siz1) { in ah6_input()
676 (ah->ah_len << 2) - sizoff, (u_int32_t)siz1, in ah6_input()
681 VERIFY((sizeof(struct ah) + sizoff + siz1) <= INT_MAX); in ah6_input()
682 IP6_EXTHDR_CHECK(m, off, (int)(sizeof(struct ah) + sizoff + siz1), in ah6_input()