Searched refs:sadb_key (Results 1 – 9 of 9) sorted by relevance
91 struct sadb_key *key_auth; /* Key for Authentication */92 struct sadb_key *key_enc; /* Key for Encryption */
363 struct sadb_key *key = (struct sadb_key *)ext;376 (PFKEY_UNUNIT64(key->sadb_key_len) - sizeof(struct sadb_key))) {379 (long)PFKEY_UNUNIT64(key->sadb_key_len) - sizeof(struct sadb_key));382 ipsec_hexdump((caddr_t)key + sizeof(struct sadb_key),
91 #define _KEYBUF(key) ((caddr_t)((caddr_t)(key) + sizeof(struct sadb_key)))
55 struct sadb_key;
203 sizeof(struct sadb_key), /* SADB_EXT_KEY_AUTH */204 sizeof(struct sadb_key), /* SADB_EXT_KEY_ENCRYPT */4420 const struct sadb_key *key0; in key_setsaval()4423 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_AUTH]; in key_setsaval()4439 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()4453 sav->key_auth = (struct sadb_key *)key_newbuf(key0, len); in key_setsaval()4458 const struct sadb_key *key0; in key_setsaval()4461 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_ENCRYPT]; in key_setsaval()4476 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()4482 sav->key_enc = (struct sadb_key *)key_newbuf(key0, len); in key_setsaval()[all …]
157 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen);167 struct sadb_key *auth_key_payload = (struct sadb_key *)(void *)(payload + tlen);
583 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_add_sa()593 struct sadb_key *auth_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_add_sa()688 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_update_sa()698 struct sadb_key *auth_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_update_sa()
319 struct sadb_key key __attribute((aligned(sizeof(uint64_t)))); in create_sa()
171 struct sadb_key { struct