diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2015-10-29 21:44:55 -0500 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2015-10-30 15:11:29 -0500 |
commit | 5d6481f127b3cd8cd04091484252227e3308d5bd (patch) | |
tree | 5bb60c7960757127ad81f58ed1bbb4b167e8e65b /transporthandler.h | |
parent | e257c3c565651600b23338598ba631fade094a62 (diff) | |
download | phosphor-host-ipmid-5d6481f127b3cd8cd04091484252227e3308d5bd.tar.gz phosphor-host-ipmid-5d6481f127b3cd8cd04091484252227e3308d5bd.zip |
IPMI support for get and set lan
Add enough support to query common network parameters
and be able to setup the network vi IPMI.
Use command line for now.
Diffstat (limited to 'transporthandler.h')
-rw-r--r-- | transporthandler.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/transporthandler.h b/transporthandler.h new file mode 100644 index 0000000..49b1d95 --- /dev/null +++ b/transporthandler.h @@ -0,0 +1,18 @@ +#ifndef __HOST_IPMI_TRANSPORT_HANDLER_H__ +#define __HOST_IPMI_TRANSPORT_HANDLER_H__ + +// IPMI commands for Transport net functions. +enum ipmi_netfn_storage_cmds +{ + // Get capability bits + IPMI_CMD_SET_LAN = 0x01, + IPMI_CMD_GET_LAN = 0x02, +}; + +// Command specific completion codes +enum ipmi_transport_return_codes +{ + IPMI_CC_PARM_NOT_SUPPORTED = 0x80, +}; + +#endif |