summaryrefslogtreecommitdiffstats
path: root/host-ipmid/oemrouter.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-09-08 09:27:16 -0700
committerPatrick Venture <venture@google.com>2018-09-10 14:55:09 -0700
commitdd0459e027105e66de146f7be36d85aade93f302 (patch)
treeab5f1a4144891c3f6802d38bba943987591d9878 /host-ipmid/oemrouter.hpp
parent0b02be925a29357f69abbc9e9a58e7c5aaed2eab (diff)
downloadphosphor-host-ipmid-dd0459e027105e66de146f7be36d85aade93f302.tar.gz
phosphor-host-ipmid-dd0459e027105e66de146f7be36d85aade93f302.zip
add iana header to store OEM Numbers
The iana.hpp header is installed to identify OEM IPMI numbers used, to avoid namespace conflicts. Change-Id: Ifd629817e3b921f86a5ea4cf2c2965a44a2d8201 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'host-ipmid/oemrouter.hpp')
-rw-r--r--host-ipmid/oemrouter.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host-ipmid/oemrouter.hpp b/host-ipmid/oemrouter.hpp
index d6f0735..fb12750 100644
--- a/host-ipmid/oemrouter.hpp
+++ b/host-ipmid/oemrouter.hpp
@@ -1,18 +1,18 @@
#pragma once
+#include <host-ipmid/ipmid-api.h>
+
#include <array>
#include <cstdint>
#include <functional>
+#include <host-ipmid/iana.hpp>
#include <vector>
-#include "host-ipmid/ipmid-api.h"
-
namespace oem
{
constexpr size_t groupMagicSize = 3;
using Group = std::array<uint8_t, groupMagicSize>;
-using Number = uint32_t; // smallest standard size >= 24.
// Handler signature includes ipmi cmd to support wildcard cmd match.
// Buffers and lengths exclude the OemGroup bytes in the IPMI message.
OpenPOWER on IntegriCloud