summaryrefslogtreecommitdiffstats
path: root/transporthandler.h
diff options
context:
space:
mode:
authorNan Li <william.bjlinan@hotmail.com>2016-10-18 19:51:41 +0800
committerPatrick Williams <patrick@stwcx.xyz>2016-11-23 14:03:55 +0000
commit3d0df91dc704fbcfa819ba42cccfa6a2f1616ff9 (patch)
tree66b66f65aab5c26c29e89ed6b8afd0937473bb64 /transporthandler.h
parent41fa24a108cc3f1e6ecc1fb9cce6cf1d9c5a5764 (diff)
downloadphosphor-host-ipmid-3d0df91dc704fbcfa819ba42cccfa6a2f1616ff9.tar.gz
phosphor-host-ipmid-3d0df91dc704fbcfa819ba42cccfa6a2f1616ff9.zip
Add transaction support to Set Lan Cmd and Set Channel Access Cmd
* Ipmid will cache single setting to memory by Set Lan cmd * Add Set Channel Access cmd to ipmid * Set Channel Access cmd is used to apply the previous cached settings TODO: parse the request data of Set Channel Access cmd if needed. Resolves openbmc/openbmc#444 Change-Id: Ia7ac57a551731920ffe69dad5c69c995521fed02 Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
Diffstat (limited to 'transporthandler.h')
-rw-r--r--transporthandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/transporthandler.h b/transporthandler.h
index ce7842b..171a636 100644
--- a/transporthandler.h
+++ b/transporthandler.h
@@ -24,4 +24,10 @@ static const int LAN_PARM_MAC = 5;
static const int LAN_PARM_SUBNET = 6;
static const int LAN_PARM_GATEWAY = 12;
+struct channel_config_t {
+ std::string new_ipaddr;
+ std::string new_netmask;
+ std::string new_gateway;
+};
+
#endif
OpenPOWER on IntegriCloud