HomeSort by: relevance | last modified time | path
    Searched refs:PFKEY_ALIGN8 (Results 1 - 8 of 8) sorted by relevancy

  /src/crypto/dist/ipsec-tools/src/include-glibc/net/
pfkeyv2.h 61 #define PFKEY_ALIGN8(a) (1 + (((a) - 1) | (8 - 1)))
  /src/crypto/dist/ipsec-tools/src/setkey/
parse.y 1027 PFKEY_ALIGN8(salen));
1041 PFKEY_ALIGN8(salen));
1059 PFKEY_UNIT64(slen + PFKEY_ALIGN8(sec_ctx.len));
1227 PFKEY_ALIGN8(salen));
1240 PFKEY_ALIGN8(salen));
1326 + PFKEY_ALIGN8(p_key_enc_len));
1344 + PFKEY_ALIGN8(p_key_auth_len));
1394 PFKEY_ALIGN8(sec_ctx.len));
1470 PFKEY_ALIGN8(salen));
1510 PFKEY_ALIGN8(salen))
    [all...]
  /src/crypto/dist/ipsec-tools/src/libipsec/
pfkey.c 410 + PFKEY_ALIGN8(sysdep_sa_len(src))
412 + PFKEY_ALIGN8(sysdep_sa_len(dst));
631 + PFKEY_ALIGN8(sysdep_sa_len(src))
633 + PFKEY_ALIGN8(sysdep_sa_len(dst));
1157 + PFKEY_ALIGN8(2*sysdep_sa_len(local))
1160 + PFKEY_ALIGN8(sysdep_sa_len(src))
1162 + PFKEY_ALIGN8(sysdep_sa_len(dst))
1289 + PFKEY_ALIGN8(sysdep_sa_len(sa_parms->src))
1291 + PFKEY_ALIGN8(sysdep_sa_len(sa_parms->dst))
1298 PFKEY_ALIGN8(sa_parms->e_keylen))
    [all...]
  /src/sys/netipsec/
key.c 2171 const unsigned pad = PFKEY_ALIGN8(len) - len;
2174 KASSERT(PFKEY_ALIGN8(len) <= tlen - (p - p0));
2197 KASSERT(p == (char *)xisr + PFKEY_ALIGN8(len));
2199 xisr->sadb_x_ipsecrequest_len = PFKEY_ALIGN8(len);
2240 CTASSERT(PFKEY_ALIGN8(sizeof(struct sadb_msg)) <= MHLEN);
2241 len = PFKEY_ALIGN8(sizeof(struct sadb_msg));
2461 mpolicy = m_pulldown(n, PFKEY_ALIGN8(sizeof(struct sadb_msg)),
2702 CTASSERT(PFKEY_ALIGN8(sizeof(struct sadb_msg)) <= MCLBYTES);
2705 len = PFKEY_ALIGN8(sizeof(struct sadb_msg));
2713 off += PFKEY_ALIGN8(sizeof(struct sadb_msg))
    [all...]
  /src/tests/net/ipsec/
t_ipsec_policy.c 122 const size_t npad = PFKEY_ALIGN8(len - xisr_start) -
126 ATF_REQUIRE(PFKEY_ALIGN8(len - xisr_start) == len - xisr_start);
131 ATF_REQUIRE(PFKEY_ALIGN8(len - xpl_start) == len - xpl_start);
  /src/sys/net/
if_ipsec.c 1593 m->m_len = PFKEY_ALIGN8(len);
1646 size = sizeof(*saaddr) + PFKEY_ALIGN8(addr->sa_len);
1701 size += PFKEY_ALIGN8(sizeof(*xisr));
1703 size += PFKEY_ALIGN8(src->sa_len + dst->sa_len);
1714 xisr->sadb_x_ipsecrequest_len = PFKEY_ALIGN8(sizeof(*xisr));
1717 PFKEY_ALIGN8(src->sa_len + dst->sa_len);
1874 - (sizeof(xsrc) + PFKEY_ALIGN8(src->sa_len));
1881 - (sizeof(xdst) + PFKEY_ALIGN8(dst->sa_len));
1888 padlen -= PFKEY_ALIGN8(sizeof(xisr));
pfkeyv2.h 533 #define PFKEY_ALIGN8(a) (1 + (((a) - 1) | (8 - 1)))
  /src/crypto/dist/ipsec-tools/src/racoon/
pfkey.c 2077 policylen += PFKEY_ALIGN8(xisrlen);
2084 + PFKEY_ALIGN8(spidx->sec_ctx.ctx_strlen);
2190 xisr->sadb_x_ipsecrequest_len = PFKEY_ALIGN8(xisrlen);
3293 if (addrslen != PFKEY_ALIGN8(2*local_len))

Completed in 21 milliseconds