Searched refs:PFKEY_UNUNIT64 (Results 1 - 7 of 7) sorted by relevance

/freebsd-current/sbin/setkey/
H A Dsetkey.c296 if ((l = recv(so, rbuf, PFKEY_UNUNIT64(base->sadb_msg_len),
378 if (PFKEY_UNUNIT64(msg->sadb_msg_len) != l) {
459 PFKEY_UNUNIT64(msg->sadb_msg_len));
470 PFKEY_UNUNIT64(msg->sadb_msg_len));
H A Dparse.y336 p_alg_enc, PFKEY_UNUNIT64(p_key_enc_len)) < 0) {
351 p_alg_enc, PFKEY_UNUNIT64(p_key_enc_len)) < 0) {
367 p_alg_enc, PFKEY_UNUNIT64(p_key_enc_len)) < 0) {
388 p_alg_enc, PFKEY_UNUNIT64(p_key_enc_len)) < 0) {
409 p_alg_enc, PFKEY_UNUNIT64(p_key_enc_len)) < 0) {
430 p_alg_enc, PFKEY_UNUNIT64(p_key_enc_len - 4)) < 0) {
453 p_alg_auth, PFKEY_UNUNIT64(p_key_auth_len)) < 0) {
1328 memset(buf + *off, 0, PFKEY_UNUNIT64(ebuf->sadb_ext_len));
/freebsd-current/sys/netipsec/
H A Dkey_debug.c184 tlen = PFKEY_UNUNIT64(base->sadb_msg_len) - sizeof(struct sadb_msg);
260 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len);
279 len = (PFKEY_UNUNIT64(prop->sadb_prop_len) - sizeof(*prop))
327 len = PFKEY_UNUNIT64(id->sadb_ident_len) - sizeof(*id);
370 len = (PFKEY_UNUNIT64(sup->sadb_supported_len) - sizeof(*sup))
454 (PFKEY_UNUNIT64(key->sadb_key_len) - sizeof(struct sadb_key))) {
458 (long)PFKEY_UNUNIT64(key->sadb_key_len) - sizeof(struct sadb_key));
540 tlen = PFKEY_UNUNIT64(xpl->sadb_x_policy_len) - sizeof(*xpl);
H A Dkeysock.c127 if (len != PFKEY_UNUNIT64(msg->sadb_msg_len)) {
H A Dkey.c7777 olen = PFKEY_UNUNIT64(mhp->msg->sadb_msg_len);
7871 orglen = PFKEY_UNUNIT64(msg->sadb_msg_len);
8140 end = PFKEY_UNUNIT64(mhp->msg->sadb_msg_len);
8200 extlen = PFKEY_UNUNIT64(ext->sadb_ext_len);
8237 if (len != PFKEY_UNUNIT64(ext->sadb_ext_len))
/freebsd-current/sys/net/
H A Dpfkeyv2.h447 PFKEY_UNUNIT64(((const struct sadb_ext *)(msg))->sadb_ext_len)
456 #define PFKEY_UNUNIT64(a) ((a) << 3) macro
/freebsd-current/lib/libipsec/
H A Dpfkey.c680 newmsg->sadb_msg_len = PFKEY_UNUNIT64(newmsg->sadb_msg_len);
1580 reallen = PFKEY_UNUNIT64(buf.sadb_msg_len);
1601 if (PFKEY_UNUNIT64(newmsg->sadb_msg_len) != len) {
1665 ep = p + PFKEY_UNUNIT64(msg->sadb_msg_len);

Completed in 193 milliseconds