Searched refs:PFKEY_ALIGN8 (Results 1 – 4 of 4) sorted by relevance
242 uint16_t len = sizeof(*src_address_payload) + PFKEY_ALIGN8(src->sin_len); in send_pfkey_spd_add_message()244 tlen += PFKEY_ALIGN8(src->sin_len); in send_pfkey_spd_add_message()257 len = sizeof(*dst_address_payload) + PFKEY_ALIGN8(dst->sin_len); in send_pfkey_spd_add_message()259 tlen += PFKEY_ALIGN8(dst->sin_len); in send_pfkey_spd_add_message()503 uint16_t len = sizeof(*src_address_payload) + PFKEY_ALIGN8(src->sin_len); in send_pkey_get_spi()505 tlen += PFKEY_ALIGN8(src->sin_len); in send_pkey_get_spi()518 len = sizeof(*dst_address_payload) + PFKEY_ALIGN8(dst->sin_len); in send_pkey_get_spi()520 tlen += PFKEY_ALIGN8(dst->sin_len); in send_pkey_get_spi()584 uint16_t len = sizeof(*src_address_payload) + PFKEY_ALIGN8(src4->sin_len); in send_pkey_add_sa()586 tlen += PFKEY_ALIGN8(src4->sin_len); in send_pkey_add_sa()[all …]
105 uint16_t len = sizeof(*src_address_payload) + PFKEY_ALIGN8(src4->sin_len);107 tlen += PFKEY_ALIGN8(src4->sin_len);113 uint16_t len = sizeof(*src_address_payload) + PFKEY_ALIGN8(src6->sin6_len);115 tlen += PFKEY_ALIGN8(src6->sin6_len);130 uint16_t len = sizeof(*dst_address_payload) + PFKEY_ALIGN8(dst4->sin_len);132 tlen += PFKEY_ALIGN8(dst4->sin_len);138 uint16_t len = sizeof(*dst_address_payload) + PFKEY_ALIGN8(dst6->sin6_len);140 tlen += PFKEY_ALIGN8(dst6->sin6_len);161 uint16_t len = sizeof(*encrypt_key_payload) + PFKEY_ALIGN8(32);168 tlen += PFKEY_ALIGN8(32);[all …]
656 static_assert(PFKEY_ALIGN8(sizeof(struct sadb_msg)) <= _MHLEN); in key_init()2232 PFKEY_ALIGN8(sizeof(*xisr) in key_sp2msg()2274 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_gather_mbuf()2711 mpolicy = m_pulldown(n, PFKEY_ALIGN8(sizeof(struct sadb_msg)), in key_spdadd()2978 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2()3000 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2()3332 if (m->m_len != PFKEY_ALIGN8(sizeof(struct sadb_msg))) { in key_spdflush()3353 m->m_pkthdr.len = m->m_len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spdflush()3591 tlen += PFKEY_ALIGN8(len); in key_getspreqmsglen()3632 len = PFKEY_ALIGN8(sizeof(*lt)) * 2; in key_spdexpire()[all …]
511 #define PFKEY_ALIGN8(a) (1 + (((a) - 1) | (8 - 1))) macro