Home
last modified time | relevance | path

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

/xnu-11215.1.10/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-11215.1.10/bsd/vfs/
H A Dvfs_xattr.c1533 static void swap_attrhdr(attr_header_t *ah, attr_info_t* info);
1540 static int check_and_swap_attrhdr(attr_header_t *ah, attr_info_t* ainfop);
3820 swap_attrhdr(attr_header_t *ah, attr_info_t* info) in swap_attrhdr() argument
3826 count = (ah->magic == ATTR_HDR_MAGIC) ? ah->num_attrs : SWAP16(ah->num_attrs); in swap_attrhdr()
3828 ah->magic = SWAP32(ah->magic); in swap_attrhdr()
3829 ah->debug_tag = SWAP32(ah->debug_tag); in swap_attrhdr()
3830 ah->total_size = SWAP32(ah->total_size); in swap_attrhdr()
3831 ah->data_start = SWAP32(ah->data_start); in swap_attrhdr()
3832 ah->data_length = SWAP32(ah->data_length); in swap_attrhdr()
3833 ah->flags = SWAP16(ah->flags); in swap_attrhdr()
[all …]
/xnu-11215.1.10/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