18#ifndef _IPMI_NET_FN_TRANSPORT_H_
19#define _IPMI_NET_FN_TRANSPORT_H_
25#define IPMI_NETFN_TRANSPORT 0x0C
34#define IPMI_TRANSPORT_SET_LAN_CONFIG_PARAMETERS 0x01
48 IpmiLanIpAddressSource,
51 IpmiLanIpv4HeaderParam,
52 IpmiLanPrimaryRcmpPort,
53 IpmiLanSecondaryRcmpPort,
54 IpmiLanBmcGeneratedArpCtrl,
56 IpmiLanDefaultGateway,
57 IpmiLanDefaultGatewayMac,
59 IpmiLanBackupGatewayMac,
60 IpmiLanCommunityString,
62 IpmiLanDestinationType,
63 IpmiLanDestinationAddress,
65 IpmiIpv4OrIpv6Support = 0x32,
66 IpmiIpv4OrIpv6AddressEnable,
67 IpmiIpv6HdrStatTrafficClass,
68 IpmiIpv6HdrStatHopLimit,
71 IpmiIpv6StaticAddress,
72 IpmiIpv6DhcpStaticDuidLen,
73 IpmiIpv6DhcpStaticDuid,
75 IpmiIpv6DhcpDynamicDuidLen,
76 IpmiIpv6DhcpDynamicDuid,
77 IpmiIpv6RouterConfig = 0x40,
78 IpmiIpv6StaticRouter1IpAddr,
79 IpmiIpv6DynamicRouterIpAddr = 0x4a
80} IPMI_LAN_OPTION_TYPE;
88 IpmiDynamicAddressBmcDhcp,
89 IpmiDynamicAddressBiosDhcp,
90 IpmiDynamicAddressBmcNonDhcp
97 IpmiPetTrapDestination,
98 IpmiDirectedEventDestination,
106} IPMI_LAN_DEST_TYPE_DEST_TYPE;
112 IpmiDestinationAddressVersion4,
113 IpmiDestinationAddressVersion6
114} IPMI_LAN_DEST_ADDRESS_VERSION;
122 UINT8 StraightPswd : 1;
135 UINT8 AddressSrc : 4;
159 UINT8 Precedence : 3;
161 UINT8 ServiceType : 4;
179 UINT8 EnableBmcArpResponse : 1;
180 UINT8 EnableBmcGratuitousArp : 1;
200 UINT8 DestinationSelector : 4;
208 UINT8 DestinationType : 3;
210 UINT8 AlertAcknowledged : 1;
222 UINT8 AlertingIpAddressSelector : 4;
223 UINT8 AddressFormat : 4;
230 UINT8 UseDefaultGateway : 1;
250 UINT8 VanIdHighByte : 4;
279 UINT8 AddressSourceType : 4;
281 UINT8 EnableStatus : 1;
289 UINT8 Ipv6Address[16];
290 UINT8 AddressPrefixLen;
299 UINT8 SetInProgress : 2;
315 UINT8 ParameterSelector;
316 UINT8 ParameterData[0];
322#define IPMI_TRANSPORT_GET_LAN_CONFIG_PARAMETERS 0x02
331 UINT8 GetParameter : 1;
338 UINT8 ParameterSelector;
344 UINT8 CompletionCode;
345 UINT8 ParameterRevision;
346 UINT8 ParameterData[0];
352#define IPMI_TRANSPORT_SUSPEND_BMC_ARPS 0x03
361#define IPMI_TRANSPORT_GET_PACKET_STATISTICS 0x04
374#define IPMI_TRANSPORT_SET_SERIAL_CONFIGURATION 0x10
385 UINT8 NoAuthentication : 1;
386 UINT8 MD2Authentication : 1;
387 UINT8 MD5Authentication : 1;
389 UINT8 StraightPassword : 1;
390 UINT8 OemProprietary : 1;
398 UINT8 EnableBasicMode : 1;
399 UINT8 EnablePPPMode : 1;
400 UINT8 EnableTerminalMode : 1;
402 UINT8 SnoopOsPPPNegotiation : 1;
404 UINT8 DirectConnect : 1;
411 UINT8 InactivityTimeout : 4;
419 UINT8 IpmiCallback : 1;
420 UINT8 CBCPCallback : 1;
428 UINT8 CbcpEnableNoCallback : 1;
429 UINT8 CbcpEnablePreSpecifiedNumber : 1;
430 UINT8 CbcpEnableUserSpecifiedNumber : 1;
431 UINT8 CbcpEnableCallbackFromList : 1;
440 UINT8 CallbackDestination1;
441 UINT8 CallbackDestination2;
442 UINT8 CallbackDestination3;
447 UINT8 CloseSessionOnDCDLoss : 1;
448 UINT8 EnableSessionInactivityTimeout : 1;
457 UINT8 EnableDtrHangup : 1;
458 UINT8 FlowControl : 2;
461 UINT8 SaveSetting : 1;
462 UINT8 SetComPort : 1;
471 UINT8 RingDurationInterval : 6;
473 UINT8 RingDeadTime : 4;
481 UINT8 InitString[48];
485 UINT8 EscapeSequence[5];
489 UINT8 HangupSequence[8];
493 UINT8 ModelDialCommend[8];
497 UINT8 PageBlackoutInterval;
501 UINT8 CommunityString[18];
507 UINT8 DialStringSelector : 4;
514 UINT8 TapAccountSelector : 4;
521 UINT8 PPPAccountSetSelector;
522 UINT8 DialStringSelector;
533 UINT8 DestinationSelector : 4;
541 UINT8 DestinationType : 4;
543 UINT8 AlertAckRequired : 1;
550 UINT8 NumRetriesCall : 3;
552 UINT8 NumRetryAlert : 3;
561 UINT8 AlertAckTimeoutSeconds;
569 UINT8 CharacterSize : 1;
572 UINT8 FlowControl : 2;
593 UINT8 DialStringSelector : 4;
602 UINT8 DialString[48];
606 UINT32 IpAddressLong;
612 UINT8 IpAddressSelector : 4;
625 UINT8 TapServiceSelector : 4;
626 UINT8 TapDialStringSelector : 4;
638 UINT8 PagerIdString[16];
658 UINT8 CallRetryBusySignalInterval;
668#define IPMI_TRANSPORT_GET_SERIAL_CONFIGURATION 0x11
677#define IPMI_TRANSPORT_SET_SERIAL_MUX 0x12
686#define IPMI_MUX_SETTING_REQUEST_REJECTED 0x00
687#define IPMI_MUX_SETTING_REQUEST_ACCEPTED 0x01
692#define IPMI_MUX_SETTING_GET_MUX_SETTING 0x0
693#define IPMI_MUX_SETTING_REQUEST_MUX_TO_SYSTEM 0x1
694#define IPMI_MUX_SETTING_REQUEST_MUX_TO_BMC 0x2
695#define IPMI_MUX_SETTING_FORCE_MUX_TO_SYSTEM 0x3
696#define IPMI_MUX_SETTING_FORCE_MUX_TO_BMC 0x4
697#define IPMI_MUX_SETTING_BLOCK_REQUEST_MUX_TO_SYSTEM 0x5
698#define IPMI_MUX_SETTING_ALLOW_REQUEST_MUX_TO_SYSTEM 0x6
699#define IPMI_MUX_SETTING_BLOCK_REQUEST_MUX_TO_BMC 0x7
700#define IPMI_MUX_SETTING_ALLOW_REQUEST_MUX_TO_BMC 0x8
712 UINT8 MuxSetting : 4;
725 UINT8 MuxSetToBmc : 1;
726 UINT8 CommandStatus : 1;
727 UINT8 MessagingSessionActive : 1;
728 UINT8 AlertInProgress : 1;
730 UINT8 MuxToBmcAllowed : 1;
731 UINT8 MuxToSystemBlocked : 1;
737 UINT8 CompletionCode;
744#define IPMI_TRANSPORT_GET_TAP_RESPONSE_CODE 0x13
753#define IPMI_TRANSPORT_SET_PPP_UDP_PROXY_TXDATA 0x14
762#define IPMI_TRANSPORT_GET_PPP_UDP_PROXY_TXDATA 0x15
771#define IPMI_TRANSPORT_SEND_PPP_UDP_PROXY_PACKET 0x16
780#define IPMI_TRANSPORT_GET_PPP_UDP_PROXY_RX 0x17
789#define IPMI_TRANSPORT_SERIAL_CONNECTION_ACTIVE 0x18
798#define IPMI_TRANSPORT_CALLBACK 0x19
807#define IPMI_TRANSPORT_SET_USER_CALLBACK_OPTIONS 0x1A
816#define IPMI_TRANSPORT_GET_USER_CALLBACK_OPTIONS 0x1B
829#define IPMI_TRANSPORT_SOL_ACTIVATING 0x20
836 UINT8 SessionState : 4;
844 UINT8 PayloadInstance;
845 UINT8 FormatVersionMajor;
846 UINT8 FormatVersionMinor;
852#define IPMI_TRANSPORT_SET_SOL_CONFIG_PARAM 0x21
861#define IPMI_SOL_CONFIGURATION_PARAMETER_SET_IN_PROGRESS 0
862#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_ENABLE 1
863#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_AUTHENTICATION 2
864#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_CHARACTER_PARAM 3
865#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_RETRY 4
866#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_NV_BIT_RATE 5
867#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_VOLATILE_BIT_RATE 6
868#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_PAYLOAD_CHANNEL 7
869#define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_PAYLOAD_PORT 8
873 UINT8 ChannelNumber : 4;
881 UINT8 ParameterSelector;
882 UINT8 ParameterData[0];
888#define IPMI_TRANSPORT_GET_SOL_CONFIG_PARAM 0x22
895 UINT8 ChannelNumber : 4;
897 UINT8 GetParameter : 1;
904 UINT8 ParameterSelector;
910 UINT8 CompletionCode;
911 UINT8 ParameterRevision;
912 UINT8 ParameterData[0];