mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-14 12:37:22 +00:00
added SOL session data to the session struct
This commit is contained in:
parent
a33c9103f3
commit
ee4a11550d
@ -92,17 +92,34 @@ struct ipmi_session {
|
|||||||
uint32_t console_id;
|
uint32_t console_id;
|
||||||
uint32_t bmc_id;
|
uint32_t bmc_id;
|
||||||
|
|
||||||
/* Values required for RAKP mesages */
|
/*
|
||||||
unsigned char console_rand[16]; /* Random number generated byt the console */
|
* Values required for RAKP mesages
|
||||||
unsigned char bmc_rand[16]; /* Random number generated by the BMC */
|
*/
|
||||||
|
|
||||||
|
/* 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 bmc_guid[16];
|
||||||
unsigned char requested_role; /* As sent in the RAKP 1 message */
|
unsigned char requested_role; /* As sent in the RAKP 1 message */
|
||||||
unsigned char rakp2_return_code;
|
unsigned char rakp2_return_code;
|
||||||
|
|
||||||
unsigned char sik[IPMI_SIK_BUFFER_SIZE]; /* Session integrity key */
|
unsigned char sik[IPMI_SIK_BUFFER_SIZE]; /* Session integrity key */
|
||||||
unsigned char kg[IPMI_KG_BUFFER_SIZE]; /* BMC key */
|
unsigned char kg[IPMI_KG_BUFFER_SIZE]; /* BMC key */
|
||||||
unsigned char k1[20]; /* Used for Integrity checking? */
|
unsigned char k1[20]; /* Used for Integrity checking? */
|
||||||
unsigned char k2[20]; /* First 16 bytes used for AES */
|
unsigned char k2[20]; /* First 16 bytes used for AES */
|
||||||
} v2_data;
|
} 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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user