Parse asset info header

Parse the asset info header and fill the asset info data.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I195f0057b9407a29eb79b277ccc21ee31d6675bf
diff --git a/src/inspur_oem.hpp b/src/inspur_oem.hpp
index c52d891..c1d0440 100644
--- a/src/inspur_oem.hpp
+++ b/src/inspur_oem.hpp
@@ -1,4 +1,5 @@
 #pragma once
+#include <cstdint>
 
 enum ipmi_inspur_net_fns
 {
@@ -9,3 +10,16 @@
 {
     CMD_OEM_ASSET_INFO = 0x01,
 };
+
+struct AssetInfoHeader
+{
+    uint8_t rwFlag;
+    uint8_t deviceType;
+    uint8_t infoType;
+    uint8_t maskAllPresentLen;
+    uint8_t enableStatus;
+    uint8_t maskPresent;
+    uint8_t maskAllPresent;
+    uint8_t allInfoDone;
+    uint16_t totalMessageLen;
+} __attribute__((packed));