Lines Matching refs:ahsize
543 int hl, rplen, authsize, ahsize, error; in ah_input() local
585 ahsize = ah_hdrsiz(sav); in ah_input()
586 if (hl != ahsize) { in ah_input()
589 (u_long)ahsize, in ah_input()
596 if (skip + ahsize > m->m_pkthdr.len) { in ah_input()
599 m->m_pkthdr.len, (u_long)(skip + ahsize), in ah_input()
701 int authsize, rplen, ahsize, error, skip, protoff; in ah_input_cb() local
750 ahsize = ah_hdrsiz(sav); in ah_input_cb()
799 error = m_striphdr(m, skip, ahsize); in ah_input_cb()
853 int error, rplen, authsize, ahsize, maxpacketsize, roff; in ah_output() local
868 ahsize = ah_hdrsiz(sav); in ah_output()
892 if (ahsize + m->m_pkthdr.len > maxpacketsize) { in ah_output()
897 ahsize + m->m_pkthdr.len, maxpacketsize)); in ah_output()
917 mi = m_makespace(m, skip, ahsize, &roff); in ah_output()
920 "%s/%08lx\n", __func__, ahsize, in ah_output()
936 ah->ah_len = (ahsize - sizeof(struct ah)) / sizeof(u_int32_t); in ah_output()
944 m_copyback(m, skip + rplen + authsize, ahsize - (rplen + authsize), in ah_output()
1014 iplen = htons(ntohs(iplen) + ahsize); in ah_output()
1025 iplen = htons(ntohs(iplen) + ahsize); in ah_output()