PFKEY_ALIGN8
+ PFKEY_ALIGN8(src->sa_len)
+ PFKEY_ALIGN8(dst->sa_len)
len += (sizeof(struct sadb_key) + PFKEY_ALIGN8(e_keylen));
len += (sizeof(struct sadb_key) + PFKEY_ALIGN8(a_keylen));
+ PFKEY_ALIGN8(src->sa_len)
+ PFKEY_ALIGN8(dst->sa_len);
+ PFKEY_ALIGN8(src->sa_len)
+ PFKEY_ALIGN8(src->sa_len)
len = sizeof(struct sadb_address) + PFKEY_ALIGN8(saddr->sa_len);
len = sizeof(struct sadb_key) + PFKEY_ALIGN8(keylen);
+ PFKEY_ALIGN8(src->sa_len)
+ PFKEY_ALIGN8(dst->sa_len);
+ PFKEY_ALIGN8(src->sa_len)
+ PFKEY_ALIGN8(dst->sa_len);
PFKEY_ALIGN8(salen));
PFKEY_ALIGN8(salen));
+ PFKEY_ALIGN8(p_key_enc_len));
+ PFKEY_ALIGN8(p_key_auth_len));
PFKEY_ALIGN8(salen));
PFKEY_ALIGN8(salen));
PFKEY_ALIGN8(salen));
PFKEY_ALIGN8(salen));
(*off) += PFKEY_ALIGN8(elen + vlen);
PFKEY_ALIGN8(salen));
PFKEY_ALIGN8(salen));
len = sizeof(m_sens) + PFKEY_ALIGN8(slen) + PFKEY_ALIGN8(ilen);
m_sens.sadb_sens_sens_len = PFKEY_ALIGN8(slen);
m_sens.sadb_sens_integ_len = PFKEY_ALIGN8(ilen);
len = sizeof(m_id) + PFKEY_ALIGN8(idlen);
len = sizeof(struct sadb_key) + PFKEY_ALIGN8(keylen);
len = sizeof(struct sadb_address) + PFKEY_ALIGN8(res->ai_addrlen);
ilen = PFKEY_ALIGN8(sizeof(*xisr) +
len = PFKEY_ALIGN8(sizeof(struct sadb_msg));
mpolicy = m_pulldown(n, PFKEY_ALIGN8(sizeof(struct sadb_msg)),
len = PFKEY_ALIGN8(sizeof(struct sadb_msg));
off += PFKEY_ALIGN8(sizeof(struct sadb_msg));
if (m->m_len != PFKEY_ALIGN8(sizeof(struct sadb_msg)))
m->m_pkthdr.len = m->m_len = PFKEY_ALIGN8(sizeof(struct sadb_msg));
tlen += PFKEY_ALIGN8(len);
len = PFKEY_ALIGN8(sizeof(*lt)) * 2;
if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) &&
if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) &&
if (len != PFKEY_ALIGN8(sizeof(struct sadb_key)))
len = PFKEY_ALIGN8(sizeof(struct sadb_msg));
len = PFKEY_ALIGN8(sizeof(struct sadb_sa));
len = PFKEY_ALIGN8(sizeof(struct sadb_address)) +
PFKEY_ALIGN8(saddr->sa_len);
mtod(m, caddr_t) + PFKEY_ALIGN8(sizeof(struct sadb_address)),
len = PFKEY_ALIGN8(sizeof(struct sadb_x_sa2));
len = PFKEY_ALIGN8(sizeof(struct sadb_x_sa_replay));
len = PFKEY_ALIGN8(sizeof(struct sadb_x_nat_t_type));
len = PFKEY_ALIGN8(sizeof(struct sadb_x_nat_t_port));
len = PFKEY_ALIGN8(sizeof(struct sadb_x_policy));
len = PFKEY_ALIGN8(sizeof(struct sadb_msg)) +
PFKEY_ALIGN8(sizeof(struct sadb_sa));
off += PFKEY_ALIGN8(sizeof(struct sadb_msg));
off += PFKEY_ALIGN8(sizeof(struct sadb_sa));
const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb));
const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb));
const int l = PFKEY_ALIGN8(sizeof(struct sadb_comb));
const int l = PFKEY_ALIGN8(sizeof(struct sadb_prop));
bzero(id, sizeof(*id) + PFKEY_ALIGN8(fqdnlen));
id->sadb_ident_len = PFKEY_UNIT64(sizeof(*id) + PFKEY_ALIGN8(fqdnlen));
p += sizeof(struct sadb_ident) + PFKEY_ALIGN8(fqdnlen);
bzero(id, sizeof(*id) + PFKEY_ALIGN8(userfqdnlen));
id->sadb_ident_len = PFKEY_UNIT64(sizeof(*id) + PFKEY_ALIGN8(userfqdnlen));
p += sizeof(struct sadb_ident) + PFKEY_ALIGN8(userfqdnlen);
off += PFKEY_ALIGN8(sizeof(struct sadb_msg));
off += PFKEY_ALIGN8(sizeof(*sup));
off += PFKEY_ALIGN8(sizeof(*alg));
off += PFKEY_ALIGN8(sizeof(*sup));
off += PFKEY_ALIGN8(sizeof(struct sadb_alg));
len = PFKEY_ALIGN8(sizeof(*lt)) * 2;
m_adj(m, PFKEY_ALIGN8(sizeof(struct sadb_msg)));
baselen = PFKEY_ALIGN8(sizeof(struct sadb_address));
baselen = PFKEY_ALIGN8(sizeof(struct sadb_ident));
if (baselen + PFKEY_ALIGN8(sa->sa_len) != len)
len = PFKEY_ALIGN8(sizeof(struct sadb_key) + _KEYLEN(src));
int len = PFKEY_ALIGN8(sizeof(*p));
int len = PFKEY_ALIGN8(sizeof(struct sadb_lifetime));