Lines Matching refs:sizoff
201 int sizoff; in ah4_input() local
203 sizoff = (sav->flags & SADB_X_EXT_OLD) ? 0 : 4; in ah4_input()
234 if ((ah->ah_len << 2) - sizoff != siz1) { in ah4_input()
237 (ah->ah_len << 2) - sizoff, (u_int32_t)siz1, in ah4_input()
243 if (m->m_len < off + sizeof(struct ah) + sizoff + siz1) { in ah4_input()
244 VERIFY((off + sizeof(struct ah) + sizoff + siz1) <= INT_MAX); in ah4_input()
245 m = m_pullup(m, (int)(off + sizeof(struct ah) + sizoff + siz1)); in ah4_input()
664 int sizoff; in ah6_input() local
666 sizoff = (sav->flags & SADB_X_EXT_OLD) ? 0 : 4; in ah6_input()
680 if ((ah->ah_len << 2) - sizoff != siz1) { in ah6_input()
683 (ah->ah_len << 2) - sizoff, (u_int32_t)siz1, in ah6_input()
688 VERIFY((sizeof(struct ah) + sizoff + siz1) <= INT_MAX); in ah6_input()
689 IP6_EXTHDR_CHECK(m, off, (int)(sizeof(struct ah) + sizoff + siz1), in ah6_input()