summaryrefslogtreecommitdiff
path: root/util/ipmicmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/ipmicmd.h')
-rw-r--r--util/ipmicmd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/ipmicmd.h b/util/ipmicmd.h
index b65e949..bf735ef 100644
--- a/util/ipmicmd.h
+++ b/util/ipmicmd.h
@@ -335,6 +335,17 @@ struct oemvalstr {
#define LOG_DEBUG 7 // debug-level messages
#endif
+typedef struct {
+ char node[SZGNODE+1];
+ char user[SZGNODE+1];
+ char pswd[PSW_MAX+1];
+ int auth_type; /* if 0, use any: MD5, MD2, etc.*/
+ int priv; /* IPMI_PRIV_LEVEL_USER or IPMI_PRIV_LEVEL_ADMIN */
+ int cipher;
+ unsigned char addr[128]; /* sizeof(struct sockaddr_storage) = 128 */
+ int addr_len; /* struct sockaddr_in/_in6 gaddr; _in6=28, _in=16 bytes*/
+} LAN_OPT; /* used for IPMI LAN, specified with option -NUP, etc. */
+
#ifndef _IPMI_RQ_
#define _IPMI_RQ_ 1
/* structure used in ipmi_sendrecv, maps to ipmitool syntax. */