Home
last modified time | relevance | path

Searched refs:PFKEY_ALIGN8 (Results 1 – 4 of 4) sorted by relevance

/xnu-8796.141.3/tests/ !
H A Dpfkey.c238 uint16_t len = sizeof(*src_address_payload) + PFKEY_ALIGN8(src->sin_len); in send_pfkey_spd_add_message()
240 tlen += PFKEY_ALIGN8(src->sin_len); in send_pfkey_spd_add_message()
253 len = sizeof(*dst_address_payload) + PFKEY_ALIGN8(dst->sin_len); in send_pfkey_spd_add_message()
255 tlen += PFKEY_ALIGN8(dst->sin_len); in send_pfkey_spd_add_message()
476 uint16_t len = sizeof(*src_address_payload) + PFKEY_ALIGN8(src->sin_len); in send_pkey_get_spi()
478 tlen += PFKEY_ALIGN8(src->sin_len); in send_pkey_get_spi()
491 len = sizeof(*dst_address_payload) + PFKEY_ALIGN8(dst->sin_len); in send_pkey_get_spi()
493 tlen += PFKEY_ALIGN8(dst->sin_len); in send_pkey_get_spi()
554 uint16_t len = sizeof(*src_address_payload) + PFKEY_ALIGN8(src4->sin_len); in send_pkey_add_sa()
556 tlen += PFKEY_ALIGN8(src4->sin_len); in send_pkey_add_sa()
[all …]
H A Dipsec.m102 uint16_t len = sizeof(*src_address_payload) + PFKEY_ALIGN8(src4->sin_len);
104 tlen += PFKEY_ALIGN8(src4->sin_len);
110 uint16_t len = sizeof(*src_address_payload) + PFKEY_ALIGN8(src6->sin6_len);
112 tlen += PFKEY_ALIGN8(src6->sin6_len);
127 uint16_t len = sizeof(*dst_address_payload) + PFKEY_ALIGN8(dst4->sin_len);
129 tlen += PFKEY_ALIGN8(dst4->sin_len);
135 uint16_t len = sizeof(*dst_address_payload) + PFKEY_ALIGN8(dst6->sin6_len);
137 tlen += PFKEY_ALIGN8(dst6->sin6_len);
158 uint16_t len = sizeof(*encrypt_key_payload) + PFKEY_ALIGN8(32);
165 tlen += PFKEY_ALIGN8(32);
[all …]
/xnu-8796.141.3/bsd/netkey/ !
H A Dkey.c641 _CASSERT(PFKEY_ALIGN8(sizeof(struct sadb_msg)) <= _MHLEN); in key_init()
2326 PFKEY_ALIGN8(sizeof(*xisr) in key_sp2msg()
2364 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_gather_mbuf()
2799 mpolicy = m_pulldown(n, PFKEY_ALIGN8(sizeof(struct sadb_msg)), in key_spdadd()
3064 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2()
3086 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2()
3418 if (m->m_len != PFKEY_ALIGN8(sizeof(struct sadb_msg))) { in key_spdflush()
3439 m->m_pkthdr.len = m->m_len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spdflush()
3677 tlen += PFKEY_ALIGN8(len); in key_getspreqmsglen()
3718 len = PFKEY_ALIGN8(sizeof(*lt)) * 2; in key_spdexpire()
[all …]
/xnu-8796.141.3/bsd/net/ !
H A Dpfkeyv2.h510 #define PFKEY_ALIGN8(a) (1 + (((a) - 1) | (8 - 1))) macro