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.
diff --git a/ipmid-api.h b/ipmid-api.h
index a78846c..b3117d5 100644
--- a/ipmid-api.h
+++ b/ipmid-api.h
@@ -62,16 +62,16 @@
// Note: these are also shifted left to make room for the LUN.
enum ipmi_net_fns
{
- NETFUN_CHASSIS = 0x00,
- NETFUN_BRIDGE = 0x02,
- NETFUN_SENSOR = 0x04,
- NETFUN_APP = 0x06,
- NETFUN_FIRMWARE = 0x08,
- NETFUN_STORAGE = 0x0a,
- NETFUN_TRANPORT = 0x0c,
- NETFUN_GRPEXT = 0x2c,
- NETFUN_NONE = 0x30,
- NETFUN_OEM = 0x32
+ NETFUN_CHASSIS = 0x00,
+ NETFUN_BRIDGE = 0x02,
+ NETFUN_SENSOR = 0x04,
+ NETFUN_APP = 0x06,
+ NETFUN_FIRMWARE = 0x08,
+ NETFUN_STORAGE = 0x0a,
+ NETFUN_TRANSPORT = 0x0c,
+ NETFUN_GRPEXT = 0x2c,
+ NETFUN_NONE = 0x30,
+ NETFUN_OEM = 0x32
};
// IPMI commands for net functions. Since this is to be used both by the ipmi