Searched refs:sadb_key (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/
H A Dkey_var.h92 #define _KEYBUF(key) ((caddr_t)((caddr_t)(key) + sizeof(struct sadb_key)))
H A Dkeydb.h82 struct sadb_key *key_auth; /* Key for Authentication */
83 struct sadb_key *key_enc; /* Key for Encryption */
H A Dkey_debug.c349 struct sadb_key *key = (struct sadb_key *)ext;
355 printf("sadb_key{ bits=%u reserved=%u\n",
361 (PFKEY_UNUNIT64(key->sadb_key_len) - sizeof(struct sadb_key))) {
364 (long)PFKEY_UNUNIT64(key->sadb_key_len) - sizeof(struct sadb_key));
367 ipsec_hexdump((caddr_t)key + sizeof(struct sadb_key),
H A Dkey.c200 sizeof(struct sadb_key), /* SADB_EXT_KEY_AUTH */
201 sizeof(struct sadb_key), /* SADB_EXT_KEY_ENCRYPT */
3424 const struct sadb_key *key0;
3427 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_AUTH];
3439 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) &&
3453 sav->key_auth = (struct sadb_key *)key_newbuf(key0, len);
3463 const struct sadb_key *key0;
3466 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_ENCRYPT];
3477 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) &&
3483 sav->key_enc = (struct sadb_key *)key_newbu
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dpfkeyv2.h160 struct sadb_key { struct

Completed in 140 milliseconds