Lines Matching refs:siz1

130 	size_t siz1;  in ah4_input()  local
195 siz1 = ((siz + 3) & ~(4 - 1)); in ah4_input()
226 if (siz1 < siz) { in ah4_input()
229 (u_int32_t)siz1, (u_int32_t)siz, 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()
278 cksum = (u_char *)kalloc_data(siz1, Z_NOWAIT); in ah4_input()
300 if (ah4_calccksum(m, (caddr_t)cksum, siz1, algo, sav)) { in ah4_input()
301 kfree_data(cksum, siz1); in ah4_input()
327 kfree_data(cksum, siz1); in ah4_input()
333 kfree_data(cksum, siz1); in ah4_input()
361 stripsiz = sizeof(struct ah) + siz1; in ah4_input()
364 stripsiz = sizeof(struct newah) + siz1; in ah4_input()
600 size_t siz1 = 0; in ah6_input() local
658 siz1 = ((siz + 3) & ~(4 - 1)); in ah6_input()
672 if (siz1 < siz) { in ah6_input()
675 (u_int32_t)siz1, (u_int32_t)siz, 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()
715 cksum = (u_char *)kalloc_data(siz1, Z_NOWAIT); in ah6_input()
723 if (ah6_calccksum(m, (caddr_t)cksum, siz1, algo, sav)) { in ah6_input()
724 kfree_data(cksum, siz1); in ah6_input()
745 kfree_data(cksum, siz1); in ah6_input()
751 kfree_data(cksum, siz1); in ah6_input()
779 stripsiz = sizeof(struct ah) + siz1; in ah6_input()
782 stripsiz = sizeof(struct newah) + siz1; in ah6_input()