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
IpmiLanReserved3,\r
IpmiLanDestinationType,\r
IpmiLanDestinationAddress,\r
+ IpmiLanVlanId = 0x14,\r
IpmiIpv4OrIpv6Support = 0x32,\r
IpmiIpv4OrIpv6AddressEnable,\r
IpmiIpv6HdrStatTrafficClass,\r
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
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
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