mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-14 12:37:22 +00:00
- Add KEEPALIVE retry defines
- reduce time between each keepalive request
This commit is contained in:
parent
abf77904a0
commit
5b8255f671
@ -36,7 +36,8 @@
|
|||||||
#include <ipmitool/ipmi.h>
|
#include <ipmitool/ipmi.h>
|
||||||
|
|
||||||
#define SOL_ESCAPE_CHARACTER_DEFAULT '~'
|
#define SOL_ESCAPE_CHARACTER_DEFAULT '~'
|
||||||
#define SOL_KEEPALIVE_TIMEOUT 30
|
#define SOL_KEEPALIVE_TIMEOUT 15
|
||||||
|
#define SOL_KEEPALIVE_RETRIES 3
|
||||||
|
|
||||||
#define IPMI_SOL_SERIAL_ALERT_MASK_SUCCEED 0x08
|
#define IPMI_SOL_SERIAL_ALERT_MASK_SUCCEED 0x08
|
||||||
#define IPMI_SOL_SERIAL_ALERT_MASK_DEFERRED 0x04
|
#define IPMI_SOL_SERIAL_ALERT_MASK_DEFERRED 0x04
|
||||||
@ -66,14 +67,19 @@ struct sol_config_parameters {
|
|||||||
* The ACTIVATE PAYLOAD command reponse structure
|
* The ACTIVATE PAYLOAD command reponse structure
|
||||||
* From table 24-2 of the IPMI v2.0 spec
|
* From table 24-2 of the IPMI v2.0 spec
|
||||||
*/
|
*/
|
||||||
|
#ifdef PRAGMA_PACK
|
||||||
|
#pramga pack(1)
|
||||||
|
#endif
|
||||||
struct activate_payload_rsp {
|
struct activate_payload_rsp {
|
||||||
uint8_t auxiliary_data[4];
|
uint8_t auxiliary_data[4];
|
||||||
uint8_t inbound_payload_size[2]; /* LS byte first */
|
uint8_t inbound_payload_size[2]; /* LS byte first */
|
||||||
uint8_t outbound_payload_size[2]; /* LS byte first */
|
uint8_t outbound_payload_size[2]; /* LS byte first */
|
||||||
uint8_t payload_udp_port[2]; /* LS byte first */
|
uint8_t payload_udp_port[2]; /* LS byte first */
|
||||||
uint8_t payload_vlan_number[2]; /* LS byte first */
|
uint8_t payload_vlan_number[2]; /* LS byte first */
|
||||||
} __attribute__ ((packed));
|
} ATTRIBUTE_PACKING;
|
||||||
|
#ifdef PRAGMA_PACK
|
||||||
|
#pramga pack(0)
|
||||||
|
#endif
|
||||||
|
|
||||||
int ipmi_sol_main(struct ipmi_intf *, int, char **);
|
int ipmi_sol_main(struct ipmi_intf *, int, char **);
|
||||||
int ipmi_get_sol_info(struct ipmi_intf * intf,
|
int ipmi_get_sol_info(struct ipmi_intf * intf,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user