Searched refs:sadb_key (Results 1 – 9 of 9) sorted by relevance
93 struct sadb_key *key_auth; /* Key for Authentication */94 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;
204 sizeof(struct sadb_key), /* SADB_EXT_KEY_AUTH */205 sizeof(struct sadb_key), /* SADB_EXT_KEY_ENCRYPT */4472 const struct sadb_key *key0; in key_setsaval()4475 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_AUTH]; in key_setsaval()4491 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()4505 sav->key_auth = (struct sadb_key *)key_newbuf(key0, len); in key_setsaval()4510 const struct sadb_key *key0; in key_setsaval()4513 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_ENCRYPT]; in key_setsaval()4528 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()4534 sav->key_enc = (struct sadb_key *)key_newbuf(key0, len); in key_setsaval()[all …]
160 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen);170 struct sadb_key *auth_key_payload = (struct sadb_key *)(void *)(payload + tlen);
593 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_add_sa()603 struct sadb_key *auth_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_add_sa()698 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_update_sa()708 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