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;
199 sizeof(struct sadb_key), /* SADB_EXT_KEY_AUTH */200 sizeof(struct sadb_key), /* SADB_EXT_KEY_ENCRYPT */4409 const struct sadb_key *key0; in key_setsaval()4412 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_AUTH]; in key_setsaval()4424 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()4438 sav->key_auth = (struct sadb_key *)key_newbuf(key0, len); in key_setsaval()4448 const struct sadb_key *key0; in key_setsaval()4451 key0 = (const struct sadb_key *)mhp->ext[SADB_EXT_KEY_ENCRYPT]; in key_setsaval()4462 if (len == PFKEY_ALIGN8(sizeof(struct sadb_key)) && in key_setsaval()4468 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);
580 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_add_sa()590 struct sadb_key *auth_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_add_sa()685 struct sadb_key *encrypt_key_payload = (struct sadb_key *)(void *)(payload + tlen); in send_pkey_update_sa()695 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