added SOL session data to the session struct

This commit is contained in:
Jeremy Ellington 2004-07-15 15:12:42 +00:00
parent a33c9103f3
commit ee4a11550d

View File

@ -92,17 +92,34 @@ struct ipmi_session {
uint32_t console_id;
uint32_t bmc_id;
/* Values required for RAKP mesages */
unsigned char console_rand[16]; /* Random number generated byt the console */
unsigned char bmc_rand[16]; /* Random number generated by the BMC */
/*
* Values required for RAKP mesages
*/
/* Random number generated byt the console */
unsigned char console_rand[16];
/* Random number generated by the BMC */
unsigned char bmc_rand[16];
unsigned char bmc_guid[16];
unsigned char requested_role; /* As sent in the RAKP 1 message */
unsigned char rakp2_return_code;
unsigned char sik[IPMI_SIK_BUFFER_SIZE]; /* Session integrity key */
unsigned char kg[IPMI_KG_BUFFER_SIZE]; /* BMC key */
unsigned char k1[20]; /* Used for Integrity checking? */
unsigned char k2[20]; /* First 16 bytes used for AES */
unsigned char k1[20]; /* Used for Integrity checking? */
unsigned char k2[20]; /* First 16 bytes used for AES */
} v2_data;
/*
* This data is specific to the Serial Over Lan session
*/
struct {
uint16_t max_inbound_payload_size;
uint16_t max_outbound_payload_size;
uint16_t port;
} sol_data;
};