blob: ce7842b1f52a495c14e60299453fde6cdf5a7ee7 [file] [log] [blame]
Adriana Kobylak5d6481f2015-10-29 21:44:55 -05001#ifndef __HOST_IPMI_TRANSPORT_HANDLER_H__
2#define __HOST_IPMI_TRANSPORT_HANDLER_H__
3
4// IPMI commands for Transport net functions.
5enum ipmi_netfn_storage_cmds
6{
7 // Get capability bits
8 IPMI_CMD_SET_LAN = 0x01,
9 IPMI_CMD_GET_LAN = 0x02,
10};
11
12// Command specific completion codes
13enum ipmi_transport_return_codes
14{
15 IPMI_CC_PARM_NOT_SUPPORTED = 0x80,
16};
17
Adriana Kobylake08fbc62016-02-09 16:17:23 -060018// Parameters
19static const int LAN_PARM_INPROGRESS = 0;
20static const int LAN_PARM_AUTHSUPPORT = 1;
21static const int LAN_PARM_AUTHENABLES = 2;
22static const int LAN_PARM_IP = 3;
23static const int LAN_PARM_MAC = 5;
24static const int LAN_PARM_SUBNET = 6;
25static const int LAN_PARM_GATEWAY = 12;
26
Adriana Kobylak5d6481f2015-10-29 21:44:55 -050027#endif