From 0b02be925a29357f69abbc9e9a58e7c5aaed2eab Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Fri, 31 Aug 2018 11:55:55 -0700 Subject: add .clang-format Change-Id: I7c2a527b4751a560703a61fcbe9638b150546af5 Signed-off-by: Patrick Venture --- transporthandler.hpp | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'transporthandler.hpp') diff --git a/transporthandler.hpp b/transporthandler.hpp index 432bd68..a47b908 100644 --- a/transporthandler.hpp +++ b/transporthandler.hpp @@ -1,6 +1,7 @@ #pragma once #include "types.hpp" + #include // IPMI commands for Transport net functions. enum ipmi_netfn_storage_cmds @@ -17,22 +18,22 @@ enum ipmi_transport_return_codes }; // Parameters -static const int LAN_PARM_INPROGRESS = 0; +static const int LAN_PARM_INPROGRESS = 0; static const int LAN_PARM_AUTHSUPPORT = 1; static const int LAN_PARM_AUTHENABLES = 2; -static const int LAN_PARM_IP = 3; -static const int LAN_PARM_IPSRC = 4; -static const int LAN_PARM_MAC = 5; -static const int LAN_PARM_SUBNET = 6; -static const int LAN_PARM_GATEWAY = 12; -static const int LAN_PARM_VLAN = 20; -static const int CIPHER_SUITE_COUNT = 22; +static const int LAN_PARM_IP = 3; +static const int LAN_PARM_IPSRC = 4; +static const int LAN_PARM_MAC = 5; +static const int LAN_PARM_SUBNET = 6; +static const int LAN_PARM_GATEWAY = 12; +static const int LAN_PARM_VLAN = 20; +static const int CIPHER_SUITE_COUNT = 22; static const int CIPHER_SUITE_ENTRIES = 23; constexpr uint8_t SET_COMPLETE = 0; constexpr uint8_t SET_IN_PROGRESS = 1; -constexpr uint8_t SET_COMMIT_WRITE = 2; //Optional -constexpr uint8_t SET_IN_PROGRESS_RESERVED = 3; //Reserved +constexpr uint8_t SET_COMMIT_WRITE = 2; // Optional +constexpr uint8_t SET_IN_PROGRESS_RESERVED = 3; // Reserved const int CHANNEL_MASK = 0x0f; const int NUM_CHANNELS = 0x0f; -- cgit v1.2.1