From 2c088f61bf4d73964e4d73f09412ec74a52e5518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 9 Aug 2014 11:42:23 +0200 Subject: changes to version 2.9.4 --- util/ipmicmd.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'util/ipmicmd.h') 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. */ -- cgit v1.2.3