Home
last modified time | relevance | path

Searched refs:ah (Results 1 – 7 of 7) sorted by relevance

/xnu-12377.1.9/bsd/netinet6/
H A Dah_input.c126 struct ah *ah; in ah4_input() local
152 ah = (struct ah *)(void *)(((caddr_t)ip) + off); in ah4_input()
153 nxt = ah->ah_nxt; in ah4_input()
161 spi = ah->ah_spi; 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()
255 ah = (struct ah *)(void *)(((caddr_t)ip) + off); in ah4_input()
[all …]
H A Dah_output.c156 hdrsiz += sizeof(struct ah); in ah_hdrsiz()
228 ahlen = plen + sizeof(struct ah); in ah4_output()
277 struct ah *ahdr; in ah4_output()
280 ahdr = (struct ah *)(void *)ahdrpos; in ah4_output()
387 ahlen = plen + sizeof(struct ah); in ah_hdrlen()
488 struct ah *ahdr = mtod(mah, struct ah *); in ah6_output()
490 plen = mah->m_len - sizeof(struct ah); in ah6_output()
H A Dnetinet6.modulemap7 module ah {
8 header "netinet6/ah.h"
H A Dah_core.c695 struct ah ah; in ah4_calccksum() local
700 if (m->m_pkthdr.len - off < sizeof(ah)) { in ah4_calccksum()
705 m_copydata(m, off, sizeof(ah), (caddr_t)&ah); in ah4_calccksum()
707 ? sizeof(struct ah) in ah4_calccksum()
710 totlen = (ah.ah_len + 2) << 2; in ah4_calccksum()
748 hdrtype = ah.ah_nxt; in ah4_calccksum()
877 ? sizeof(struct ah) in ah6_calccksum()
H A Dah.h48 struct ah { struct
H A DMakefile11 ah.h ipsec.h \
/xnu-12377.1.9/osfmk/x86_64/
H A Dstart.s217 xor %ah, %ah /* Security: zero second byte of stack canary */
238 xor %al, %ah
250 mov %ah, %cl