MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdePkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
1436aea4d5
commit
2f88bd3a12
@@ -30,7 +30,7 @@
|
||||
//
|
||||
// Definitions for Set Lan Configuration Parameters command
|
||||
//
|
||||
#define IPMI_TRANSPORT_SET_LAN_CONFIG_PARAMETERS 0x01
|
||||
#define IPMI_TRANSPORT_SET_LAN_CONFIG_PARAMETERS 0x01
|
||||
|
||||
//
|
||||
// Constants and Structure definitions for "Set Lan Configuration Parameters" command to follow here
|
||||
@@ -105,158 +105,158 @@ typedef enum {
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 NoAuth : 1;
|
||||
UINT8 MD2Auth : 1;
|
||||
UINT8 MD5Auth : 1;
|
||||
UINT8 Reserved1 : 1;
|
||||
UINT8 StraightPswd : 1;
|
||||
UINT8 OemType : 1;
|
||||
UINT8 Reserved2 : 2;
|
||||
UINT8 NoAuth : 1;
|
||||
UINT8 MD2Auth : 1;
|
||||
UINT8 MD5Auth : 1;
|
||||
UINT8 Reserved1 : 1;
|
||||
UINT8 StraightPswd : 1;
|
||||
UINT8 OemType : 1;
|
||||
UINT8 Reserved2 : 2;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_AUTH_TYPE;
|
||||
|
||||
typedef struct {
|
||||
UINT8 IpAddress[4];
|
||||
UINT8 IpAddress[4];
|
||||
} IPMI_LAN_IP_ADDRESS;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 AddressSrc : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 AddressSrc : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_IP_ADDRESS_SRC;
|
||||
|
||||
typedef struct {
|
||||
UINT8 MacAddress[6];
|
||||
UINT8 MacAddress[6];
|
||||
} IPMI_LAN_MAC_ADDRESS;
|
||||
|
||||
typedef struct {
|
||||
UINT8 IpAddress[4];
|
||||
UINT8 IpAddress[4];
|
||||
} IPMI_LAN_SUBNET_MASK;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 IpFlag : 3;
|
||||
UINT8 Reserved : 5;
|
||||
UINT8 IpFlag : 3;
|
||||
UINT8 Reserved : 5;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_IPV4_HDR_PARAM_DATA_2;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 Precedence : 3;
|
||||
UINT8 Reserved : 1;
|
||||
UINT8 ServiceType : 4;
|
||||
UINT8 Precedence : 3;
|
||||
UINT8 Reserved : 1;
|
||||
UINT8 ServiceType : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_IPV4_HDR_PARAM_DATA_3;
|
||||
|
||||
typedef struct {
|
||||
UINT8 TimeToLive;
|
||||
IPMI_LAN_IPV4_HDR_PARAM_DATA_2 Data2;
|
||||
IPMI_LAN_IPV4_HDR_PARAM_DATA_3 Data3;
|
||||
UINT8 TimeToLive;
|
||||
IPMI_LAN_IPV4_HDR_PARAM_DATA_2 Data2;
|
||||
IPMI_LAN_IPV4_HDR_PARAM_DATA_3 Data3;
|
||||
} IPMI_LAN_IPV4_HDR_PARAM;
|
||||
|
||||
typedef struct {
|
||||
UINT8 RcmpPortMsb;
|
||||
UINT8 RcmpPortLsb;
|
||||
UINT8 RcmpPortMsb;
|
||||
UINT8 RcmpPortLsb;
|
||||
} IPMI_LAN_RCMP_PORT;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 EnableBmcArpResponse : 1;
|
||||
UINT8 EnableBmcGratuitousArp : 1;
|
||||
UINT8 Reserved : 6;
|
||||
UINT8 EnableBmcArpResponse : 1;
|
||||
UINT8 EnableBmcGratuitousArp : 1;
|
||||
UINT8 Reserved : 6;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_BMC_GENERATED_ARP_CONTROL;
|
||||
|
||||
typedef struct {
|
||||
UINT8 ArpInterval;
|
||||
UINT8 ArpInterval;
|
||||
} IPMI_LAN_ARP_INTERVAL;
|
||||
|
||||
typedef struct {
|
||||
UINT8 Data[18];
|
||||
UINT8 Data[18];
|
||||
} IPMI_LAN_COMMUNITY_STRING;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 DestinationSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 DestinationSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_SET_SELECTOR;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 DestinationType : 3;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 AlertAcknowledged : 1;
|
||||
UINT8 DestinationType : 3;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 AlertAcknowledged : 1;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_DEST_TYPE_DESTINATION_TYPE;
|
||||
|
||||
typedef struct {
|
||||
IPMI_LAN_SET_SELECTOR SetSelector;
|
||||
IPMI_LAN_DEST_TYPE_DESTINATION_TYPE DestinationType;
|
||||
IPMI_LAN_SET_SELECTOR SetSelector;
|
||||
IPMI_LAN_DEST_TYPE_DESTINATION_TYPE DestinationType;
|
||||
} IPMI_LAN_DEST_TYPE;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 AlertingIpAddressSelector : 4;
|
||||
UINT8 AddressFormat : 4;
|
||||
UINT8 AlertingIpAddressSelector : 4;
|
||||
UINT8 AddressFormat : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_ADDRESS_FORMAT;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 UseDefaultGateway : 1;
|
||||
UINT8 Reserved2 : 7;
|
||||
UINT8 UseDefaultGateway : 1;
|
||||
UINT8 Reserved2 : 7;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_GATEWAY_SELECTOR;
|
||||
|
||||
typedef struct {
|
||||
IPMI_LAN_SET_SELECTOR SetSelector;
|
||||
IPMI_LAN_ADDRESS_FORMAT AddressFormat;
|
||||
IPMI_LAN_GATEWAY_SELECTOR GatewaySelector;
|
||||
IPMI_LAN_IP_ADDRESS AlertingIpAddress;
|
||||
IPMI_LAN_MAC_ADDRESS AlertingMacAddress;
|
||||
IPMI_LAN_SET_SELECTOR SetSelector;
|
||||
IPMI_LAN_ADDRESS_FORMAT AddressFormat;
|
||||
IPMI_LAN_GATEWAY_SELECTOR GatewaySelector;
|
||||
IPMI_LAN_IP_ADDRESS AlertingIpAddress;
|
||||
IPMI_LAN_MAC_ADDRESS AlertingMacAddress;
|
||||
} IPMI_LAN_DEST_ADDRESS;
|
||||
|
||||
typedef union {
|
||||
IPMI_LAN_AUTH_TYPE IpmiLanAuthType;
|
||||
IPMI_LAN_IP_ADDRESS IpmiLanIpAddress;
|
||||
IPMI_LAN_IP_ADDRESS_SRC IpmiLanIpAddressSrc;
|
||||
IPMI_LAN_MAC_ADDRESS IpmiLanMacAddress;
|
||||
IPMI_LAN_SUBNET_MASK IpmiLanSubnetMask;
|
||||
IPMI_LAN_IPV4_HDR_PARAM IpmiLanIpv4HdrParam;
|
||||
IPMI_LAN_RCMP_PORT IpmiLanPrimaryRcmpPort;
|
||||
IPMI_LAN_BMC_GENERATED_ARP_CONTROL IpmiLanArpControl;
|
||||
IPMI_LAN_ARP_INTERVAL IpmiLanArpInterval;
|
||||
IPMI_LAN_COMMUNITY_STRING IpmiLanCommunityString;
|
||||
IPMI_LAN_DEST_TYPE IpmiLanDestType;
|
||||
IPMI_LAN_DEST_ADDRESS IpmiLanDestAddress;
|
||||
IPMI_LAN_AUTH_TYPE IpmiLanAuthType;
|
||||
IPMI_LAN_IP_ADDRESS IpmiLanIpAddress;
|
||||
IPMI_LAN_IP_ADDRESS_SRC IpmiLanIpAddressSrc;
|
||||
IPMI_LAN_MAC_ADDRESS IpmiLanMacAddress;
|
||||
IPMI_LAN_SUBNET_MASK IpmiLanSubnetMask;
|
||||
IPMI_LAN_IPV4_HDR_PARAM IpmiLanIpv4HdrParam;
|
||||
IPMI_LAN_RCMP_PORT IpmiLanPrimaryRcmpPort;
|
||||
IPMI_LAN_BMC_GENERATED_ARP_CONTROL IpmiLanArpControl;
|
||||
IPMI_LAN_ARP_INTERVAL IpmiLanArpInterval;
|
||||
IPMI_LAN_COMMUNITY_STRING IpmiLanCommunityString;
|
||||
IPMI_LAN_DEST_TYPE IpmiLanDestType;
|
||||
IPMI_LAN_DEST_ADDRESS IpmiLanDestAddress;
|
||||
} IPMI_LAN_OPTIONS;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 AddressSourceType : 4;
|
||||
UINT8 Reserved : 3;
|
||||
UINT8 EnableStatus : 1;
|
||||
UINT8 AddressSourceType : 4;
|
||||
UINT8 Reserved : 3;
|
||||
UINT8 EnableStatus : 1;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_IPV6_ADDRESS_SOURCE_TYPE;
|
||||
|
||||
typedef struct {
|
||||
UINT8 SetSelector;
|
||||
IPMI_LAN_IPV6_ADDRESS_SOURCE_TYPE AddressSourceType;
|
||||
UINT8 Ipv6Address[16];
|
||||
UINT8 AddressPrefixLen;
|
||||
UINT8 AddressStatus;
|
||||
UINT8 SetSelector;
|
||||
IPMI_LAN_IPV6_ADDRESS_SOURCE_TYPE AddressSourceType;
|
||||
UINT8 Ipv6Address[16];
|
||||
UINT8 AddressPrefixLen;
|
||||
UINT8 AddressStatus;
|
||||
} IPMI_LAN_IPV6_STATIC_ADDRESS;
|
||||
|
||||
//
|
||||
@@ -264,54 +264,54 @@ typedef struct {
|
||||
//
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 SetInProgress:2;
|
||||
UINT8 Reserved:6;
|
||||
UINT8 SetInProgress : 2;
|
||||
UINT8 Reserved : 6;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_LAN_SET_IN_PROGRESS;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 ChannelNo : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 ChannelNo : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_SET_LAN_CONFIG_CHANNEL_NUM;
|
||||
|
||||
typedef struct {
|
||||
IPMI_SET_LAN_CONFIG_CHANNEL_NUM ChannelNumber;
|
||||
UINT8 ParameterSelector;
|
||||
UINT8 ParameterData[0];
|
||||
IPMI_SET_LAN_CONFIG_CHANNEL_NUM ChannelNumber;
|
||||
UINT8 ParameterSelector;
|
||||
UINT8 ParameterData[0];
|
||||
} IPMI_SET_LAN_CONFIGURATION_PARAMETERS_COMMAND_REQUEST;
|
||||
|
||||
//
|
||||
// Definitions for Get Lan Configuration Parameters command
|
||||
//
|
||||
#define IPMI_TRANSPORT_GET_LAN_CONFIG_PARAMETERS 0x02
|
||||
#define IPMI_TRANSPORT_GET_LAN_CONFIG_PARAMETERS 0x02
|
||||
|
||||
//
|
||||
// Constants and Structure definitions for "Get Lan Configuration Parameters" command to follow here
|
||||
//
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 ChannelNo : 4;
|
||||
UINT8 Reserved : 3;
|
||||
UINT8 GetParameter : 1;
|
||||
UINT8 ChannelNo : 4;
|
||||
UINT8 Reserved : 3;
|
||||
UINT8 GetParameter : 1;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_GET_LAN_CONFIG_CHANNEL_NUM;
|
||||
|
||||
typedef struct {
|
||||
IPMI_GET_LAN_CONFIG_CHANNEL_NUM ChannelNumber;
|
||||
UINT8 ParameterSelector;
|
||||
UINT8 SetSelector;
|
||||
UINT8 BlockSelector;
|
||||
IPMI_GET_LAN_CONFIG_CHANNEL_NUM ChannelNumber;
|
||||
UINT8 ParameterSelector;
|
||||
UINT8 SetSelector;
|
||||
UINT8 BlockSelector;
|
||||
} IPMI_GET_LAN_CONFIGURATION_PARAMETERS_REQUEST;
|
||||
|
||||
typedef struct {
|
||||
UINT8 CompletionCode;
|
||||
UINT8 ParameterRevision;
|
||||
UINT8 ParameterData[0];
|
||||
UINT8 CompletionCode;
|
||||
UINT8 ParameterRevision;
|
||||
UINT8 ParameterData[0];
|
||||
} IPMI_GET_LAN_CONFIGURATION_PARAMETERS_RESPONSE;
|
||||
|
||||
//
|
||||
@@ -326,7 +326,7 @@ typedef struct {
|
||||
//
|
||||
// Definitions for Get IP-UDP-RMCP Statistics command
|
||||
//
|
||||
#define IPMI_TRANSPORT_GET_PACKET_STATISTICS 0x04
|
||||
#define IPMI_TRANSPORT_GET_PACKET_STATISTICS 0x04
|
||||
|
||||
//
|
||||
// Constants and Structure definitions for "Get IP-UDP-RMCP Statistics" command to follow here
|
||||
@@ -350,144 +350,144 @@ typedef struct {
|
||||
//
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 NoAuthentication : 1;
|
||||
UINT8 MD2Authentication : 1;
|
||||
UINT8 MD5Authentication : 1;
|
||||
UINT8 Reserved1 : 1;
|
||||
UINT8 StraightPassword : 1;
|
||||
UINT8 OemProprietary : 1;
|
||||
UINT8 Reservd2 : 2;
|
||||
UINT8 NoAuthentication : 1;
|
||||
UINT8 MD2Authentication : 1;
|
||||
UINT8 MD5Authentication : 1;
|
||||
UINT8 Reserved1 : 1;
|
||||
UINT8 StraightPassword : 1;
|
||||
UINT8 OemProprietary : 1;
|
||||
UINT8 Reservd2 : 2;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_EMP_AUTH_TYPE;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 EnableBasicMode : 1;
|
||||
UINT8 EnablePPPMode : 1;
|
||||
UINT8 EnableTerminalMode : 1;
|
||||
UINT8 Reserved1 : 2;
|
||||
UINT8 SnoopOsPPPNegotiation : 1;
|
||||
UINT8 Reserved2 : 1;
|
||||
UINT8 DirectConnect : 1;
|
||||
UINT8 EnableBasicMode : 1;
|
||||
UINT8 EnablePPPMode : 1;
|
||||
UINT8 EnableTerminalMode : 1;
|
||||
UINT8 Reserved1 : 2;
|
||||
UINT8 SnoopOsPPPNegotiation : 1;
|
||||
UINT8 Reserved2 : 1;
|
||||
UINT8 DirectConnect : 1;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_EMP_CONNECTION_TYPE;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 InactivityTimeout : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 InactivityTimeout : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_EMP_INACTIVITY_TIMEOUT;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 IpmiCallback : 1;
|
||||
UINT8 CBCPCallback : 1;
|
||||
UINT8 Reserved : 6;
|
||||
UINT8 IpmiCallback : 1;
|
||||
UINT8 CBCPCallback : 1;
|
||||
UINT8 Reserved : 6;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_CHANNEL_CALLBACK_CONTROL_ENABLE;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 CbcpEnableNoCallback : 1;
|
||||
UINT8 CbcpEnablePreSpecifiedNumber : 1;
|
||||
UINT8 CbcpEnableUserSpecifiedNumber : 1;
|
||||
UINT8 CbcpEnableCallbackFromList : 1;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 CbcpEnableNoCallback : 1;
|
||||
UINT8 CbcpEnablePreSpecifiedNumber : 1;
|
||||
UINT8 CbcpEnableUserSpecifiedNumber : 1;
|
||||
UINT8 CbcpEnableCallbackFromList : 1;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_CHANNEL_CALLBACK_CONTROL_CBCP;
|
||||
|
||||
typedef struct {
|
||||
IPMI_CHANNEL_CALLBACK_CONTROL_ENABLE CallbackEnable;
|
||||
IPMI_CHANNEL_CALLBACK_CONTROL_CBCP CBCPNegotiation;
|
||||
UINT8 CallbackDestination1;
|
||||
UINT8 CallbackDestination2;
|
||||
UINT8 CallbackDestination3;
|
||||
IPMI_CHANNEL_CALLBACK_CONTROL_ENABLE CallbackEnable;
|
||||
IPMI_CHANNEL_CALLBACK_CONTROL_CBCP CBCPNegotiation;
|
||||
UINT8 CallbackDestination1;
|
||||
UINT8 CallbackDestination2;
|
||||
UINT8 CallbackDestination3;
|
||||
} IPMI_EMP_CHANNEL_CALLBACK_CONTROL;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 CloseSessionOnDCDLoss : 1;
|
||||
UINT8 EnableSessionInactivityTimeout : 1;
|
||||
UINT8 Reserved : 6;
|
||||
UINT8 CloseSessionOnDCDLoss : 1;
|
||||
UINT8 EnableSessionInactivityTimeout : 1;
|
||||
UINT8 Reserved : 6;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_EMP_SESSION_TERMINATION;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 Reserved1 : 5;
|
||||
UINT8 EnableDtrHangup : 1;
|
||||
UINT8 FlowControl : 2;
|
||||
UINT8 BitRate : 4;
|
||||
UINT8 Reserved2 : 4;
|
||||
UINT8 SaveSetting : 1;
|
||||
UINT8 SetComPort : 1;
|
||||
UINT8 Reserved3 : 6;
|
||||
UINT8 Reserved1 : 5;
|
||||
UINT8 EnableDtrHangup : 1;
|
||||
UINT8 FlowControl : 2;
|
||||
UINT8 BitRate : 4;
|
||||
UINT8 Reserved2 : 4;
|
||||
UINT8 SaveSetting : 1;
|
||||
UINT8 SetComPort : 1;
|
||||
UINT8 Reserved3 : 6;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT16 Uint16;
|
||||
UINT8 Uint8;
|
||||
UINT16 Uint16;
|
||||
} IPMI_EMP_MESSAGING_COM_SETTING;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 RingDurationInterval : 6;
|
||||
UINT8 Reserved1 : 2;
|
||||
UINT8 RingDeadTime : 4;
|
||||
UINT8 Reserved2 : 4;
|
||||
UINT8 RingDurationInterval : 6;
|
||||
UINT8 Reserved1 : 2;
|
||||
UINT8 RingDeadTime : 4;
|
||||
UINT8 Reserved2 : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_EMP_MODEM_RING_TIME;
|
||||
|
||||
typedef struct {
|
||||
UINT8 Reserved;
|
||||
UINT8 InitString[48];
|
||||
UINT8 Reserved;
|
||||
UINT8 InitString[48];
|
||||
} IPMI_EMP_MODEM_INIT_STRING;
|
||||
|
||||
typedef struct {
|
||||
UINT8 EscapeSequence[5];
|
||||
UINT8 EscapeSequence[5];
|
||||
} IPMI_EMP_MODEM_ESC_SEQUENCE;
|
||||
|
||||
typedef struct {
|
||||
UINT8 HangupSequence[8];
|
||||
UINT8 HangupSequence[8];
|
||||
} IPMI_EMP_MODEM_HANGUP_SEQUENCE;
|
||||
|
||||
typedef struct {
|
||||
UINT8 ModelDialCommend[8];
|
||||
UINT8 ModelDialCommend[8];
|
||||
} IPMI_MODEM_DIALUP_COMMAND;
|
||||
|
||||
typedef struct {
|
||||
UINT8 PageBlackoutInterval;
|
||||
UINT8 PageBlackoutInterval;
|
||||
} IPMI_PAGE_BLACKOUT_INTERVAL;
|
||||
|
||||
typedef struct {
|
||||
UINT8 CommunityString[18];
|
||||
UINT8 CommunityString[18];
|
||||
} IPMI_EMP_COMMUNITY_STRING;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 DialStringSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 DialStringSelector : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_DIAL_PAGE_DESTINATION;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 TapAccountSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 TapAccountSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_TAP_PAGE_DESTINATION;
|
||||
|
||||
typedef struct {
|
||||
UINT8 PPPAccountSetSelector;
|
||||
UINT8 DialStringSelector;
|
||||
UINT8 PPPAccountSetSelector;
|
||||
UINT8 DialStringSelector;
|
||||
} IPMI_PPP_ALERT_DESTINATION;
|
||||
|
||||
typedef union {
|
||||
@@ -498,137 +498,136 @@ typedef union {
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 DestinationSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 DestinationSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_EMP_DESTINATION_SELECTOR;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 DestinationType : 4;
|
||||
UINT8 Reserved : 3;
|
||||
UINT8 AlertAckRequired : 1;
|
||||
UINT8 DestinationType : 4;
|
||||
UINT8 Reserved : 3;
|
||||
UINT8 AlertAckRequired : 1;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_EMP_DESTINATION_TYPE;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 NumRetriesCall : 3;
|
||||
UINT8 Reserved1 : 1;
|
||||
UINT8 NumRetryAlert : 3;
|
||||
UINT8 Reserved2 : 1;
|
||||
UINT8 NumRetriesCall : 3;
|
||||
UINT8 Reserved1 : 1;
|
||||
UINT8 NumRetryAlert : 3;
|
||||
UINT8 Reserved2 : 1;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_EMP_RETRIES;
|
||||
|
||||
typedef struct {
|
||||
IPMI_EMP_DESTINATION_SELECTOR DestinationSelector;
|
||||
IPMI_EMP_DESTINATION_TYPE DestinationType;
|
||||
UINT8 AlertAckTimeoutSeconds;
|
||||
IPMI_EMP_RETRIES Retries;
|
||||
IPMI_DEST_TYPE_SPECIFIC DestinationTypeSpecific;
|
||||
IPMI_EMP_DESTINATION_SELECTOR DestinationSelector;
|
||||
IPMI_EMP_DESTINATION_TYPE DestinationType;
|
||||
UINT8 AlertAckTimeoutSeconds;
|
||||
IPMI_EMP_RETRIES Retries;
|
||||
IPMI_DEST_TYPE_SPECIFIC DestinationTypeSpecific;
|
||||
} IPMI_EMP_DESTINATION_INFO;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 Parity : 3;
|
||||
UINT8 CharacterSize : 1;
|
||||
UINT8 StopBit : 1;
|
||||
UINT8 DtrHangup : 1;
|
||||
UINT8 FlowControl : 2;
|
||||
UINT8 Parity : 3;
|
||||
UINT8 CharacterSize : 1;
|
||||
UINT8 StopBit : 1;
|
||||
UINT8 DtrHangup : 1;
|
||||
UINT8 FlowControl : 2;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_EMP_DESTINATION_COM_SETTING_DATA_2;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 BitRate : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 BitRate : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_EMP_BIT_RATE;
|
||||
|
||||
typedef struct {
|
||||
IPMI_EMP_DESTINATION_SELECTOR DestinationSelector;
|
||||
IPMI_EMP_DESTINATION_COM_SETTING_DATA_2 Data2;
|
||||
IPMI_EMP_BIT_RATE BitRate;
|
||||
IPMI_EMP_DESTINATION_SELECTOR DestinationSelector;
|
||||
IPMI_EMP_DESTINATION_COM_SETTING_DATA_2 Data2;
|
||||
IPMI_EMP_BIT_RATE BitRate;
|
||||
} IPMI_EMP_DESTINATION_COM_SETTING;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 DialStringSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 DialStringSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_DIAL_STRING_SELECTOR;
|
||||
|
||||
typedef struct {
|
||||
IPMI_DIAL_STRING_SELECTOR DestinationSelector;
|
||||
UINT8 Reserved;
|
||||
UINT8 DialString[48];
|
||||
IPMI_DIAL_STRING_SELECTOR DestinationSelector;
|
||||
UINT8 Reserved;
|
||||
UINT8 DialString[48];
|
||||
} IPMI_DESTINATION_DIAL_STRING;
|
||||
|
||||
typedef union {
|
||||
UINT32 IpAddressLong;
|
||||
UINT8 IpAddress[4];
|
||||
UINT32 IpAddressLong;
|
||||
UINT8 IpAddress[4];
|
||||
} IPMI_PPP_IP_ADDRESS;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 IpAddressSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 IpAddressSelector : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_DESTINATION_IP_ADDRESS_SELECTOR;
|
||||
|
||||
typedef struct {
|
||||
IPMI_DESTINATION_IP_ADDRESS_SELECTOR DestinationSelector;
|
||||
IPMI_PPP_IP_ADDRESS PppIpAddress;
|
||||
IPMI_DESTINATION_IP_ADDRESS_SELECTOR DestinationSelector;
|
||||
IPMI_PPP_IP_ADDRESS PppIpAddress;
|
||||
} IPMI_DESTINATION_IP_ADDRESS;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 TapServiceSelector : 4;
|
||||
UINT8 TapDialStringSelector : 4;
|
||||
UINT8 TapServiceSelector : 4;
|
||||
UINT8 TapDialStringSelector : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_TAP_DIAL_STRING_SERVICE_SELECTOR;
|
||||
|
||||
|
||||
typedef struct {
|
||||
UINT8 TapSelector;
|
||||
IPMI_TAP_DIAL_STRING_SERVICE_SELECTOR TapDialStringServiceSelector;
|
||||
UINT8 TapSelector;
|
||||
IPMI_TAP_DIAL_STRING_SERVICE_SELECTOR TapDialStringServiceSelector;
|
||||
} IPMI_DESTINATION_TAP_ACCOUNT;
|
||||
|
||||
typedef struct {
|
||||
UINT8 TapSelector;
|
||||
UINT8 PagerIdString[16];
|
||||
UINT8 TapSelector;
|
||||
UINT8 PagerIdString[16];
|
||||
} IPMI_TAP_PAGER_ID_STRING;
|
||||
|
||||
typedef union {
|
||||
UINT8 OptionData;
|
||||
IPMI_EMP_AUTH_TYPE EmpAuthType;
|
||||
IPMI_EMP_CONNECTION_TYPE EmpConnectionType;
|
||||
IPMI_EMP_INACTIVITY_TIMEOUT EmpInactivityTimeout;
|
||||
IPMI_EMP_CHANNEL_CALLBACK_CONTROL EmpCallbackControl;
|
||||
IPMI_EMP_SESSION_TERMINATION EmpSessionTermination;
|
||||
IPMI_EMP_MESSAGING_COM_SETTING EmpMessagingComSetting;
|
||||
IPMI_EMP_MODEM_RING_TIME EmpModemRingTime;
|
||||
IPMI_EMP_MODEM_INIT_STRING EmpModemInitString;
|
||||
IPMI_EMP_MODEM_ESC_SEQUENCE EmpModemEscSequence;
|
||||
IPMI_EMP_MODEM_HANGUP_SEQUENCE EmpModemHangupSequence;
|
||||
IPMI_MODEM_DIALUP_COMMAND EmpModemDialupCommand;
|
||||
IPMI_PAGE_BLACKOUT_INTERVAL EmpPageBlackoutInterval;
|
||||
IPMI_EMP_COMMUNITY_STRING EmpCommunityString;
|
||||
IPMI_EMP_DESTINATION_INFO EmpDestinationInfo;
|
||||
IPMI_EMP_DESTINATION_COM_SETTING EmpDestinationComSetting;
|
||||
UINT8 CallRetryBusySignalInterval;
|
||||
IPMI_DESTINATION_DIAL_STRING DestinationDialString;
|
||||
IPMI_DESTINATION_IP_ADDRESS DestinationIpAddress;
|
||||
IPMI_DESTINATION_TAP_ACCOUNT DestinationTapAccount;
|
||||
IPMI_TAP_PAGER_ID_STRING TapPagerIdString;
|
||||
UINT8 OptionData;
|
||||
IPMI_EMP_AUTH_TYPE EmpAuthType;
|
||||
IPMI_EMP_CONNECTION_TYPE EmpConnectionType;
|
||||
IPMI_EMP_INACTIVITY_TIMEOUT EmpInactivityTimeout;
|
||||
IPMI_EMP_CHANNEL_CALLBACK_CONTROL EmpCallbackControl;
|
||||
IPMI_EMP_SESSION_TERMINATION EmpSessionTermination;
|
||||
IPMI_EMP_MESSAGING_COM_SETTING EmpMessagingComSetting;
|
||||
IPMI_EMP_MODEM_RING_TIME EmpModemRingTime;
|
||||
IPMI_EMP_MODEM_INIT_STRING EmpModemInitString;
|
||||
IPMI_EMP_MODEM_ESC_SEQUENCE EmpModemEscSequence;
|
||||
IPMI_EMP_MODEM_HANGUP_SEQUENCE EmpModemHangupSequence;
|
||||
IPMI_MODEM_DIALUP_COMMAND EmpModemDialupCommand;
|
||||
IPMI_PAGE_BLACKOUT_INTERVAL EmpPageBlackoutInterval;
|
||||
IPMI_EMP_COMMUNITY_STRING EmpCommunityString;
|
||||
IPMI_EMP_DESTINATION_INFO EmpDestinationInfo;
|
||||
IPMI_EMP_DESTINATION_COM_SETTING EmpDestinationComSetting;
|
||||
UINT8 CallRetryBusySignalInterval;
|
||||
IPMI_DESTINATION_DIAL_STRING DestinationDialString;
|
||||
IPMI_DESTINATION_IP_ADDRESS DestinationIpAddress;
|
||||
IPMI_DESTINATION_TAP_ACCOUNT DestinationTapAccount;
|
||||
IPMI_TAP_PAGER_ID_STRING TapPagerIdString;
|
||||
} IPMI_EMP_OPTIONS;
|
||||
|
||||
//
|
||||
@@ -670,47 +669,47 @@ typedef union {
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 ChannelNo : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 ChannelNo : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_MUX_CHANNEL_NUM;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 MuxSetting : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 MuxSetting : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_MUX_SETTING_REQUEST;
|
||||
|
||||
typedef struct {
|
||||
IPMI_MUX_CHANNEL_NUM ChannelNumber;
|
||||
IPMI_MUX_SETTING_REQUEST MuxSetting;
|
||||
IPMI_MUX_CHANNEL_NUM ChannelNumber;
|
||||
IPMI_MUX_SETTING_REQUEST MuxSetting;
|
||||
} IPMI_SET_SERIAL_MODEM_MUX_COMMAND_REQUEST;
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 MuxSetToBmc : 1;
|
||||
UINT8 CommandStatus : 1;
|
||||
UINT8 MessagingSessionActive : 1;
|
||||
UINT8 AlertInProgress : 1;
|
||||
UINT8 Reserved : 2;
|
||||
UINT8 MuxToBmcAllowed : 1;
|
||||
UINT8 MuxToSystemBlocked : 1;
|
||||
UINT8 MuxSetToBmc : 1;
|
||||
UINT8 CommandStatus : 1;
|
||||
UINT8 MessagingSessionActive : 1;
|
||||
UINT8 AlertInProgress : 1;
|
||||
UINT8 Reserved : 2;
|
||||
UINT8 MuxToBmcAllowed : 1;
|
||||
UINT8 MuxToSystemBlocked : 1;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_MUX_SETTING_PRESENT_STATE;
|
||||
|
||||
typedef struct {
|
||||
UINT8 CompletionCode;
|
||||
IPMI_MUX_SETTING_PRESENT_STATE MuxSetting;
|
||||
UINT8 CompletionCode;
|
||||
IPMI_MUX_SETTING_PRESENT_STATE MuxSetting;
|
||||
} IPMI_SET_SERIAL_MODEM_MUX_COMMAND_RESPONSE;
|
||||
|
||||
//
|
||||
// Definitions for Get TAP Response Code command
|
||||
//
|
||||
#define IPMI_TRANSPORT_GET_TAP_RESPONSE_CODE 0x13
|
||||
#define IPMI_TRANSPORT_GET_TAP_RESPONSE_CODE 0x13
|
||||
|
||||
//
|
||||
// Constants and Structure definitions for "Get TAP Response Code" command to follow here
|
||||
@@ -737,7 +736,7 @@ typedef struct {
|
||||
//
|
||||
// Definitions for Send PPP UDP Proxy Packet command
|
||||
//
|
||||
#define IPMI_TRANSPORT_SEND_PPP_UDP_PROXY_PACKET 0x16
|
||||
#define IPMI_TRANSPORT_SEND_PPP_UDP_PROXY_PACKET 0x16
|
||||
|
||||
//
|
||||
// Constants and Structure definitions for "Send PPP UDP Proxy Packet" command to follow here
|
||||
@@ -773,7 +772,7 @@ typedef struct {
|
||||
//
|
||||
// Definitions for Set user Callback Options command
|
||||
//
|
||||
#define IPMI_TRANSPORT_SET_USER_CALLBACK_OPTIONS 0x1A
|
||||
#define IPMI_TRANSPORT_SET_USER_CALLBACK_OPTIONS 0x1A
|
||||
|
||||
//
|
||||
// Constants and Structure definitions for "Set user Callback Options" command to follow here
|
||||
@@ -782,7 +781,7 @@ typedef struct {
|
||||
//
|
||||
// Definitions for Get user Callback Options command
|
||||
//
|
||||
#define IPMI_TRANSPORT_GET_USER_CALLBACK_OPTIONS 0x1B
|
||||
#define IPMI_TRANSPORT_GET_USER_CALLBACK_OPTIONS 0x1B
|
||||
|
||||
//
|
||||
// Constants and Structure definitions for "Get user Callback Options" command to follow here
|
||||
@@ -802,17 +801,17 @@ typedef struct {
|
||||
//
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 SessionState : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 SessionState : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_SOL_SESSION_STATE;
|
||||
|
||||
typedef struct {
|
||||
IPMI_SOL_SESSION_STATE SessionState;
|
||||
UINT8 PayloadInstance;
|
||||
UINT8 FormatVersionMajor; // 1
|
||||
UINT8 FormatVersionMinor; // 0
|
||||
IPMI_SOL_SESSION_STATE SessionState;
|
||||
UINT8 PayloadInstance;
|
||||
UINT8 FormatVersionMajor; // 1
|
||||
UINT8 FormatVersionMinor; // 0
|
||||
} IPMI_SOL_ACTIVATING_REQUEST;
|
||||
|
||||
//
|
||||
@@ -827,28 +826,28 @@ typedef struct {
|
||||
//
|
||||
// SOL Configuration Parameters selector
|
||||
//
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SET_IN_PROGRESS 0
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_ENABLE 1
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_AUTHENTICATION 2
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_CHARACTER_PARAM 3
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_RETRY 4
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_NV_BIT_RATE 5
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_VOLATILE_BIT_RATE 6
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_PAYLOAD_CHANNEL 7
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_PAYLOAD_PORT 8
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SET_IN_PROGRESS 0
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_ENABLE 1
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_AUTHENTICATION 2
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_CHARACTER_PARAM 3
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_RETRY 4
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_NV_BIT_RATE 5
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_VOLATILE_BIT_RATE 6
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_PAYLOAD_CHANNEL 7
|
||||
#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_PAYLOAD_PORT 8
|
||||
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 ChannelNumber : 4;
|
||||
UINT8 Reserved : 4;
|
||||
UINT8 ChannelNumber : 4;
|
||||
UINT8 Reserved : 4;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_SET_SOL_CONFIG_PARAM_CHANNEL_NUM;
|
||||
|
||||
typedef struct {
|
||||
IPMI_SET_SOL_CONFIG_PARAM_CHANNEL_NUM ChannelNumber;
|
||||
UINT8 ParameterSelector;
|
||||
UINT8 ParameterData[0];
|
||||
IPMI_SET_SOL_CONFIG_PARAM_CHANNEL_NUM ChannelNumber;
|
||||
UINT8 ParameterSelector;
|
||||
UINT8 ParameterData[0];
|
||||
} IPMI_SET_SOL_CONFIGURATION_PARAMETERS_REQUEST;
|
||||
|
||||
//
|
||||
@@ -861,24 +860,24 @@ typedef struct {
|
||||
//
|
||||
typedef union {
|
||||
struct {
|
||||
UINT8 ChannelNumber : 4;
|
||||
UINT8 Reserved : 3;
|
||||
UINT8 GetParameter : 1;
|
||||
UINT8 ChannelNumber : 4;
|
||||
UINT8 Reserved : 3;
|
||||
UINT8 GetParameter : 1;
|
||||
} Bits;
|
||||
UINT8 Uint8;
|
||||
UINT8 Uint8;
|
||||
} IPMI_GET_SOL_CONFIG_PARAM_CHANNEL_NUM;
|
||||
|
||||
typedef struct {
|
||||
IPMI_GET_SOL_CONFIG_PARAM_CHANNEL_NUM ChannelNumber;
|
||||
UINT8 ParameterSelector;
|
||||
UINT8 SetSelector;
|
||||
UINT8 BlockSelector;
|
||||
IPMI_GET_SOL_CONFIG_PARAM_CHANNEL_NUM ChannelNumber;
|
||||
UINT8 ParameterSelector;
|
||||
UINT8 SetSelector;
|
||||
UINT8 BlockSelector;
|
||||
} IPMI_GET_SOL_CONFIGURATION_PARAMETERS_REQUEST;
|
||||
|
||||
typedef struct {
|
||||
UINT8 CompletionCode;
|
||||
UINT8 ParameterRevision;
|
||||
UINT8 ParameterData[0];
|
||||
UINT8 CompletionCode;
|
||||
UINT8 ParameterRevision;
|
||||
UINT8 ParameterData[0];
|
||||
} IPMI_GET_SOL_CONFIGURATION_PARAMETERS_RESPONSE;
|
||||
|
||||
#pragma pack()
|
||||
|
Reference in New Issue
Block a user