Lines Matching refs:siz1
128 size_t siz1; in ah4_input() local
192 siz1 = ((siz + 3) & ~(4 - 1)); in ah4_input()
223 if (siz1 < siz) { in ah4_input()
226 (u_int32_t)siz1, (u_int32_t)siz, 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()
275 cksum = (u_char *)kalloc_data(siz1, Z_NOWAIT); in ah4_input()
297 if (ah4_calccksum(m, (caddr_t)cksum, siz1, algo, sav)) { in ah4_input()
298 kfree_data(cksum, siz1); in ah4_input()
324 kfree_data(cksum, siz1); in ah4_input()
330 kfree_data(cksum, siz1); in ah4_input()
358 stripsiz = sizeof(struct ah) + siz1; in ah4_input()
361 stripsiz = sizeof(struct newah) + siz1; in ah4_input()
595 size_t siz1 = 0; in ah6_input() local
651 siz1 = ((siz + 3) & ~(4 - 1)); in ah6_input()
665 if (siz1 < siz) { in ah6_input()
668 (u_int32_t)siz1, (u_int32_t)siz, 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()
708 cksum = (u_char *)kalloc_data(siz1, Z_NOWAIT); in ah6_input()
716 if (ah6_calccksum(m, (caddr_t)cksum, siz1, algo, sav)) { in ah6_input()
717 kfree_data(cksum, siz1); in ah6_input()
738 kfree_data(cksum, siz1); in ah6_input()
744 kfree_data(cksum, siz1); in ah6_input()
772 stripsiz = sizeof(struct ah) + siz1; in ah6_input()
775 stripsiz = sizeof(struct newah) + siz1; in ah6_input()