Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/netinet6/
H A Dah_input.c124 struct ah *ah; in ah4_input() local
150 ah = (struct ah *)(void *)(((caddr_t)ip) + off); in ah4_input()
151 nxt = ah->ah_nxt; in ah4_input()
159 spi = ah->ah_spi; 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()
252 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.h43 struct ah { struct
H A DMakefile11 ah.h ipsec.h \
H A Dah_core.c1392 struct ah ah; in ah4_calccksum() local
1397 m_copydata(m, off, sizeof(ah), (caddr_t)&ah); in ah4_calccksum()
1399 ? sizeof(struct ah) in ah4_calccksum()
1402 totlen = (ah.ah_len + 2) << 2; in ah4_calccksum()
1436 hdrtype = ah.ah_nxt; in ah4_calccksum()
1558 ? sizeof(struct ah) in ah6_calccksum()
/xnu-8792.41.9/bsd/vfs/
H A Dvfs_xattr.c1495 static void swap_attrhdr(attr_header_t *ah, attr_info_t* info);
1502 static int check_and_swap_attrhdr(attr_header_t *ah, attr_info_t* ainfop);
3153 swap_attrhdr(attr_header_t *ah, attr_info_t* info) in swap_attrhdr() argument
3159 count = (ah->magic == ATTR_HDR_MAGIC) ? ah->num_attrs : SWAP16(ah->num_attrs); in swap_attrhdr()
3161 ah->magic = SWAP32(ah->magic); in swap_attrhdr()
3162 ah->debug_tag = SWAP32(ah->debug_tag); in swap_attrhdr()
3163 ah->total_size = SWAP32(ah->total_size); in swap_attrhdr()
3164 ah->data_start = SWAP32(ah->data_start); in swap_attrhdr()
3165 ah->data_length = SWAP32(ah->data_length); in swap_attrhdr()
3166 ah->flags = SWAP16(ah->flags); in swap_attrhdr()
[all …]
/xnu-8792.41.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