Searched refs:PFKEY_ALIGN8 (Results 1 – 7 of 7) sorted by relevance
410 + PFKEY_ALIGN8(sysdep_sa_len(src)) in pfkey_send_getspi_nat()412 + PFKEY_ALIGN8(sysdep_sa_len(dst)); in pfkey_send_getspi_nat()631 + PFKEY_ALIGN8(sysdep_sa_len(src)) in pfkey_send_delete_all()633 + PFKEY_ALIGN8(sysdep_sa_len(dst)); in pfkey_send_delete_all()1157 + PFKEY_ALIGN8(2*sysdep_sa_len(local)) in pfkey_send_migrate()1160 + PFKEY_ALIGN8(sysdep_sa_len(src)) in pfkey_send_migrate()1162 + PFKEY_ALIGN8(sysdep_sa_len(dst)) in pfkey_send_migrate()1289 + PFKEY_ALIGN8(sysdep_sa_len(sa_parms->src)) in pfkey_send_x1()1291 + PFKEY_ALIGN8(sysdep_sa_len(sa_parms->dst)) in pfkey_send_x1()1298 PFKEY_ALIGN8(sa_parms->e_keylen)); in pfkey_send_x1()[all …]
1027 PFKEY_ALIGN8(salen)); in setkeymsg_spdaddr()1041 PFKEY_ALIGN8(salen)); in setkeymsg_spdaddr()1059 PFKEY_UNIT64(slen + PFKEY_ALIGN8(sec_ctx.len)); in setkeymsg_spdaddr()1227 PFKEY_ALIGN8(salen)); in setkeymsg_addr()1240 PFKEY_ALIGN8(salen)); in setkeymsg_addr()1326 + PFKEY_ALIGN8(p_key_enc_len)); in setkeymsg_add()1344 + PFKEY_ALIGN8(p_key_auth_len)); in setkeymsg_add()1394 PFKEY_ALIGN8(sec_ctx.len)); in setkeymsg_add()1470 PFKEY_ALIGN8(salen)); in setkeymsg_add()1510 PFKEY_ALIGN8(salen)); in setkeymsg_add()[all …]
2122 PFKEY_ALIGN8(sizeof(*xisr) in key_sp2msg() 2163 CTASSERT(PFKEY_ALIGN8(sizeof(struct sadb_msg)) <= MHLEN); in key_gather_mbuf() 2164 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_gather_mbuf() 2384 mpolicy = m_pulldown(n, PFKEY_ALIGN8(sizeof(struct sadb_msg)), in key_spdadd() 2625 CTASSERT(PFKEY_ALIGN8(sizeof(struct sadb_msg)) <= MCLBYTES); in key_spddelete2() 2628 len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2() 2636 off += PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_spddelete2() 2822 if (m->m_len != PFKEY_ALIGN8(sizeof(struct sadb_msg))) in key_api_spdflush() 2855 m->m_pkthdr.len = m->m_len = PFKEY_ALIGN8(sizeof(struct sadb_msg)); in key_api_spdflush() 3109 tlen += PFKEY_ALIGN8(le in key_getspreqmsglen() [all...]
1593 m->m_len = PFKEY_ALIGN8(len); in if_ipsec_add_mbuf_optalign()1646 size = sizeof(*saaddr) + PFKEY_ALIGN8(addr->sa_len); in if_ipsec_set_sadb_addr()1701 size += PFKEY_ALIGN8(sizeof(*xisr)); in if_ipsec_set_sadb_x_policy()1703 size += PFKEY_ALIGN8(src->sa_len + dst->sa_len); in if_ipsec_set_sadb_x_policy()1714 xisr->sadb_x_ipsecrequest_len = PFKEY_ALIGN8(sizeof(*xisr)); in if_ipsec_set_sadb_x_policy()1717 PFKEY_ALIGN8(src->sa_len + dst->sa_len); in if_ipsec_set_sadb_x_policy()1874 - (sizeof(xsrc) + PFKEY_ALIGN8(src->sa_len)); in if_ipsec_add_sp0()1881 - (sizeof(xdst) + PFKEY_ALIGN8(dst->sa_len)); in if_ipsec_add_sp0()1888 padlen -= PFKEY_ALIGN8(sizeof(xisr)); in if_ipsec_add_sp0()
533 #define PFKEY_ALIGN8(a) (1 + (((a) - 1) | (8 - 1))) macro
61 #define PFKEY_ALIGN8(a) (1 + (((a) - 1) | (8 - 1))) macro
2109 policylen += PFKEY_ALIGN8(xisrlen);2116 + PFKEY_ALIGN8(spidx->sec_ctx.ctx_strlen);2222 xisr->sadb_x_ipsecrequest_len = PFKEY_ALIGN8(xisrlen);3337 if (addrslen != PFKEY_ALIGN8(2*local_len))