]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/IpmiNetFnTransport.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / IpmiNetFnTransport.h
index 19db84e5122e5d9500497975c34f258bc27e9c52..2024c35f7faa7bed2845660604941ef0ca64e912 100644 (file)
@@ -11,6 +11,7 @@
   and Appendix H, Sub-function Assignments.\r
 \r
   Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 **/\r
 \r
@@ -60,6 +61,7 @@ typedef enum {
   IpmiLanReserved3,\r
   IpmiLanDestinationType,\r
   IpmiLanDestinationAddress,\r
+  IpmiLanVlanId         = 0x14,\r
   IpmiIpv4OrIpv6Support = 0x32,\r
   IpmiIpv4OrIpv6AddressEnable,\r
   IpmiIpv6HdrStatTrafficClass,\r
@@ -103,6 +105,14 @@ typedef enum {
   IpmiOem2\r
 } IPMI_LAN_DEST_TYPE_DEST_TYPE;\r
 \r
+//\r
+// Destination address format\r
+//\r
+typedef enum {\r
+  IpmiDestinationAddressVersion4,\r
+  IpmiDestinationAddressVersion6\r
+} IPMI_LAN_DEST_ADDRESS_VERSION;\r
+\r
 typedef union {\r
   struct {\r
     UINT8    NoAuth       : 1;\r
@@ -177,6 +187,10 @@ typedef struct {
   UINT8    ArpInterval;\r
 } IPMI_LAN_ARP_INTERVAL;\r
 \r
+typedef struct {\r
+  UINT8    IpAddress[4];\r
+} IPMI_LAN_DEFAULT_GATEWAY;\r
+\r
 typedef struct {\r
   UINT8    Data[18];\r
 } IPMI_LAN_COMMUNITY_STRING;\r
@@ -227,6 +241,24 @@ typedef struct {
   IPMI_LAN_MAC_ADDRESS         AlertingMacAddress;\r
 } IPMI_LAN_DEST_ADDRESS;\r
 \r
+typedef struct {\r
+  UINT8    VanIdLowByte;\r
+} IPMI_LAN_VLAN_ID_DATA1;\r
+\r
+typedef union {\r
+  struct {\r
+    UINT8    VanIdHighByte : 4;\r
+    UINT8    Reserved      : 3;\r
+    UINT8    Enabled       : 1;\r
+  } Bits;\r
+  UINT8    Uint8;\r
+} IPMI_LAN_VLAN_ID_DATA2;\r
+\r
+typedef struct {\r
+  IPMI_LAN_VLAN_ID_DATA1    Data1;\r
+  IPMI_LAN_VLAN_ID_DATA2    Data2;\r
+} IPMI_LAN_VLAN_ID;\r
+\r
 typedef union {\r
   IPMI_LAN_AUTH_TYPE                    IpmiLanAuthType;\r
   IPMI_LAN_IP_ADDRESS                   IpmiLanIpAddress;\r