]>
Commit | Line | Data |
---|---|---|
e59a797f DB |
1 | /** @file\r |
2 | IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.\r | |
3 | \r | |
4 | This file contains all NetFn Transport commands, including:\r | |
5 | IPM LAN Commands (Chapter 23)\r | |
6 | IPMI Serial/Modem Commands (Chapter 25)\r | |
7 | SOL Commands (Chapter 26)\r | |
8 | Command Forwarding Commands (Chapter 35b)\r | |
9 | \r | |
10 | See IPMI specification, Appendix G, Command Assignments\r | |
11 | and Appendix H, Sub-function Assignments.\r | |
12 | \r | |
25517f7c | 13 | Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>\r |
e59a797f DB |
14 | This program and the accompanying materials\r |
15 | are licensed and made available under the terms and conditions of the BSD License\r | |
16 | which accompanies this distribution. The full text of the license may be found at\r | |
17 | http://opensource.org/licenses/bsd-license.php\r | |
18 | \r | |
19 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
20 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
21 | **/\r | |
22 | \r | |
23 | #ifndef _IPMI_NET_FN_TRANSPORT_H_\r | |
24 | #define _IPMI_NET_FN_TRANSPORT_H_\r | |
25 | \r | |
26 | #pragma pack(1)\r | |
27 | //\r | |
28 | // Net function definition for Transport command\r | |
29 | //\r | |
30 | #define IPMI_NETFN_TRANSPORT 0x0C\r | |
31 | \r | |
32 | //\r | |
33 | // Below is Definitions for IPM LAN Commands (Chapter 23)\r | |
34 | //\r | |
35 | \r | |
36 | //\r | |
37 | // Definitions for Set Lan Configuration Parameters command\r | |
38 | //\r | |
39 | #define IPMI_TRANSPORT_SET_LAN_CONFIG_PARAMETERS 0x01\r | |
40 | \r | |
41 | //\r | |
42 | // Constants and Structure definitions for "Set Lan Configuration Parameters" command to follow here\r | |
43 | //\r | |
44 | \r | |
45 | //\r | |
46 | // LAN Management Structure\r | |
47 | //\r | |
48 | typedef enum {\r | |
49 | IpmiLanReserved1,\r | |
50 | IpmiLanReserved2,\r | |
51 | IpmiLanAuthType,\r | |
52 | IpmiLanIpAddress,\r | |
53 | IpmiLanIpAddressSource,\r | |
54 | IpmiLanMacAddress,\r | |
55 | IpmiLanSubnetMask,\r | |
56 | IpmiLanIpv4HeaderParam,\r | |
57 | IpmiLanPrimaryRcmpPort,\r | |
58 | IpmiLanSecondaryRcmpPort,\r | |
59 | IpmiLanBmcGeneratedArpCtrl,\r | |
60 | IpmiLanArpInterval,\r | |
61 | IpmiLanDefaultGateway,\r | |
62 | IpmiLanDefaultGatewayMac,\r | |
63 | IpmiLanBackupGateway,\r | |
64 | IpmiLanBackupGatewayMac,\r | |
65 | IpmiLanCommunityString,\r | |
66 | IpmiLanReserved3,\r | |
67 | IpmiLanDestinationType,\r | |
25517f7c HW |
68 | IpmiLanDestinationAddress,\r |
69 | IpmiIpv4OrIpv6Support = 0x32,\r | |
70 | IpmiIpv4OrIpv6AddressEnable,\r | |
71 | IpmiIpv6HdrStatTrafficClass,\r | |
72 | IpmiIpv6HdrStatHopLimit,\r | |
73 | IpmiIpv6HdrFlowLabel,\r | |
74 | IpmiIpv6Status,\r | |
75 | IpmiIpv6StaticAddress,\r | |
76 | IpmiIpv6DhcpStaticDuidLen,\r | |
77 | IpmiIpv6DhcpStaticDuid,\r | |
78 | IpmiIpv6DhcpAddress,\r | |
79 | IpmiIpv6DhcpDynamicDuidLen,\r | |
80 | IpmiIpv6DhcpDynamicDuid,\r | |
81 | IpmiIpv6RouterConfig = 0x40,\r | |
82 | IpmiIpv6StaticRouter1IpAddr,\r | |
83 | IpmiIpv6DynamicRouterIpAddr = 0x4a\r | |
e59a797f DB |
84 | } IPMI_LAN_OPTION_TYPE;\r |
85 | \r | |
86 | //\r | |
87 | // IP Address Source\r | |
88 | //\r | |
89 | typedef enum {\r | |
90 | IpmiUnspecified,\r | |
91 | IpmiStaticAddrsss,\r | |
92 | IpmiDynamicAddressBmcDhcp,\r | |
93 | IpmiDynamicAddressBiosDhcp,\r | |
94 | IpmiDynamicAddressBmcNonDhcp\r | |
95 | } IPMI_IP_ADDRESS_SRC;\r | |
96 | \r | |
97 | //\r | |
98 | // Destination Type\r | |
99 | //\r | |
100 | typedef enum {\r | |
101 | IpmiPetTrapDestination,\r | |
102 | IpmiDirectedEventDestination,\r | |
103 | IpmiReserved1,\r | |
104 | IpmiReserved2,\r | |
105 | IpmiReserved3,\r | |
106 | IpmiReserved4,\r | |
107 | IpmiReserved5,\r | |
108 | IpmiOem1,\r | |
109 | IpmiOem2\r | |
110 | } IPMI_LAN_DEST_TYPE_DEST_TYPE;\r | |
111 | \r | |
112 | typedef struct {\r | |
113 | UINT8 NoAuth : 1;\r | |
114 | UINT8 MD2Auth : 1;\r | |
115 | UINT8 MD5Auth : 1;\r | |
116 | UINT8 Reserved1 : 1;\r | |
117 | UINT8 StraightPswd : 1;\r | |
118 | UINT8 OemType : 1;\r | |
119 | UINT8 Reserved2 : 2;\r | |
120 | } IPMI_LAN_AUTH_TYPE;\r | |
121 | \r | |
122 | typedef struct {\r | |
123 | UINT8 IpAddress[4];\r | |
124 | } IPMI_LAN_IP_ADDRESS;\r | |
125 | \r | |
126 | typedef struct {\r | |
127 | UINT8 AddressSrc : 4;\r | |
128 | UINT8 Reserved : 4;\r | |
129 | } IPMI_LAN_IP_ADDRESS_SRC;\r | |
130 | \r | |
131 | typedef struct {\r | |
132 | UINT8 MacAddress[6];\r | |
133 | } IPMI_LAN_MAC_ADDRESS;\r | |
134 | \r | |
135 | typedef struct {\r | |
136 | UINT8 IpAddress[4];\r | |
137 | } IPMI_LAN_SUBNET_MASK;\r | |
138 | \r | |
139 | typedef struct {\r | |
140 | UINT8 TimeToLive;\r | |
141 | UINT8 IpFlag : 3;\r | |
142 | UINT8 Reserved1 : 5;\r | |
143 | UINT8 Precedence : 3;\r | |
144 | UINT8 Reserved2 : 1;\r | |
145 | UINT8 ServiceType : 4;\r | |
146 | } IPMI_LAN_IPV4_HDR_PARAM;\r | |
147 | \r | |
148 | typedef struct {\r | |
149 | UINT8 RcmpPortMsb;\r | |
150 | UINT8 RcmpPortLsb;\r | |
151 | } IPMI_LAN_RCMP_PORT;\r | |
152 | \r | |
153 | typedef struct {\r | |
154 | UINT8 EnableBmcArpResponse : 1;\r | |
155 | UINT8 EnableBmcGratuitousArp : 1;\r | |
156 | UINT8 Reserved : 6;\r | |
157 | } IPMI_LAN_BMC_GENERATED_ARP_CONTROL;\r | |
158 | \r | |
159 | typedef struct {\r | |
160 | UINT8 ArpInterval;\r | |
161 | } IPMI_LAN_ARP_INTERVAL;\r | |
162 | \r | |
163 | typedef struct {\r | |
164 | UINT8 Data[18];\r | |
165 | } IPMI_LAN_COMMUNITY_STRING;\r | |
166 | \r | |
167 | typedef struct {\r | |
168 | UINT8 DestinationSelector : 4;\r | |
169 | UINT8 Reserved2 : 4;\r | |
170 | UINT8 DestinationType : 3;\r | |
171 | UINT8 Reserved1 : 4;\r | |
172 | UINT8 AlertAcknowledged : 1;\r | |
173 | } IPMI_LAN_DEST_TYPE;\r | |
174 | \r | |
175 | typedef struct {\r | |
176 | UINT8 DestinationSelector : 4;\r | |
177 | UINT8 Reserved1 : 4;\r | |
178 | UINT8 AlertingIpAddressSelector : 4;\r | |
179 | UINT8 AddressFormat : 4;\r | |
180 | UINT8 UseDefaultGateway : 1;\r | |
181 | UINT8 Reserved2 : 7;\r | |
182 | IPMI_LAN_IP_ADDRESS AlertingIpAddress;\r | |
183 | IPMI_LAN_MAC_ADDRESS AlertingMacAddress;\r | |
184 | } IPMI_LAN_DEST_ADDRESS;\r | |
185 | \r | |
186 | typedef union {\r | |
187 | IPMI_LAN_AUTH_TYPE IpmiLanAuthType;\r | |
188 | IPMI_LAN_IP_ADDRESS IpmiLanIpAddress;\r | |
189 | IPMI_LAN_IP_ADDRESS_SRC IpmiLanIpAddressSrc;\r | |
190 | IPMI_LAN_MAC_ADDRESS IpmiLanMacAddress;\r | |
191 | IPMI_LAN_SUBNET_MASK IpmiLanSubnetMask;\r | |
192 | IPMI_LAN_IPV4_HDR_PARAM IpmiLanIpv4HdrParam;\r | |
193 | IPMI_LAN_RCMP_PORT IpmiLanPrimaryRcmpPort;\r | |
194 | IPMI_LAN_BMC_GENERATED_ARP_CONTROL IpmiLanArpControl;\r | |
195 | IPMI_LAN_ARP_INTERVAL IpmiLanArpInterval;\r | |
196 | IPMI_LAN_COMMUNITY_STRING IpmiLanCommunityString;\r | |
197 | IPMI_LAN_DEST_TYPE IpmiLanDestType;\r | |
198 | IPMI_LAN_DEST_ADDRESS IpmiLanDestAddress;\r | |
199 | } IPMI_LAN_OPTIONS;\r | |
200 | \r | |
25517f7c HW |
201 | typedef struct {\r |
202 | UINT8 SetSelector;\r | |
203 | UINT8 AddressSourceType : 4;\r | |
204 | UINT8 Reserved : 3;\r | |
205 | UINT8 EnableStatus : 1;\r | |
206 | UINT8 Ipv6Address[16];\r | |
207 | UINT8 AddressPrefixLen;\r | |
208 | UINT8 AddressStatus;\r | |
209 | } IPMI_LAN_IPV6_STATIC_ADDRESS;\r | |
210 | \r | |
211 | //\r | |
212 | // Set in progress parameter\r | |
213 | //\r | |
214 | typedef struct {\r | |
215 | UINT8 SetInProgress:2;\r | |
216 | UINT8 Reserved:6;\r | |
217 | } IPMI_LAN_SET_IN_PROGRESS;\r | |
218 | \r | |
219 | \r | |
220 | typedef struct {\r | |
221 | UINT8 ChannelNo : 4;\r | |
222 | UINT8 Reserved : 4;\r | |
223 | UINT8 ParameterSelector;\r | |
224 | UINT8 ParameterData[0];\r | |
225 | } IPMI_SET_LAN_CONFIGURATION_PARAMETERS_COMMAND_REQUEST;\r | |
226 | \r | |
e59a797f DB |
227 | //\r |
228 | // Definitions for Get Lan Configuration Parameters command\r | |
229 | //\r | |
230 | #define IPMI_TRANSPORT_GET_LAN_CONFIG_PARAMETERS 0x02\r | |
231 | \r | |
232 | //\r | |
233 | // Constants and Structure definitions for "Get Lan Configuration Parameters" command to follow here\r | |
234 | //\r | |
25517f7c HW |
235 | typedef struct {\r |
236 | UINT8 ChannelNo : 4;\r | |
237 | UINT8 Reserved : 3;\r | |
238 | UINT8 GetParameter : 1;\r | |
239 | UINT8 ParameterSelector;\r | |
240 | UINT8 SetSelector;\r | |
241 | UINT8 BlockSelector;\r | |
242 | } IPMI_GET_LAN_CONFIGURATION_PARAMETERS_REQUEST;\r | |
243 | \r | |
244 | typedef struct {\r | |
245 | UINT8 CompletionCode;\r | |
246 | UINT8 ParameterRevision;\r | |
247 | UINT8 ParameterData[0];\r | |
248 | } IPMI_GET_LAN_CONFIGURATION_PARAMETERS_RESPONSE;\r | |
e59a797f DB |
249 | \r |
250 | //\r | |
251 | // Definitions for Suspend BMC ARPs command\r | |
252 | //\r | |
253 | #define IPMI_TRANSPORT_SUSPEND_BMC_ARPS 0x03\r | |
254 | \r | |
255 | //\r | |
256 | // Constants and Structure definitions for "Suspend BMC ARPs" command to follow here\r | |
257 | //\r | |
258 | \r | |
259 | //\r | |
260 | // Definitions for Get IP-UDP-RMCP Statistics command\r | |
261 | //\r | |
262 | #define IPMI_TRANSPORT_GET_PACKET_STATISTICS 0x04\r | |
263 | \r | |
264 | //\r | |
265 | // Constants and Structure definitions for "Get IP-UDP-RMCP Statistics" command to follow here\r | |
266 | //\r | |
267 | \r | |
268 | //\r | |
269 | // Below is Definitions for IPMI Serial/Modem Commands (Chapter 25)\r | |
270 | //\r | |
271 | \r | |
272 | //\r | |
273 | // Definitions for Set Serial/Modem Configuration command\r | |
274 | //\r | |
275 | #define IPMI_TRANSPORT_SET_SERIAL_CONFIGURATION 0x10\r | |
276 | \r | |
277 | //\r | |
278 | // Constants and Structure definitions for "Set Serial/Modem Configuration" command to follow here\r | |
279 | //\r | |
280 | \r | |
281 | //\r | |
282 | // EMP OPTION DATA\r | |
283 | //\r | |
284 | typedef struct {\r | |
285 | UINT8 NoAuthentication : 1;\r | |
286 | UINT8 MD2Authentication : 1;\r | |
287 | UINT8 MD5Authentication : 1;\r | |
288 | UINT8 Reserved1 : 1;\r | |
289 | UINT8 StraightPassword : 1;\r | |
290 | UINT8 OemProprietary : 1;\r | |
291 | UINT8 Reservd2 : 2;\r | |
292 | } IPMI_EMP_AUTH_TYPE;\r | |
293 | \r | |
294 | typedef struct {\r | |
295 | UINT8 EnableBasicMode : 1;\r | |
296 | UINT8 EnablePPPMode : 1;\r | |
297 | UINT8 EnableTerminalMode : 1;\r | |
298 | UINT8 Reserved1 : 2;\r | |
299 | UINT8 SnoopOsPPPNegotiation : 1;\r | |
300 | UINT8 Reserved2 : 1;\r | |
301 | UINT8 DirectConnect : 1;\r | |
302 | } IPMI_EMP_CONNECTION_TYPE;\r | |
303 | \r | |
304 | typedef struct {\r | |
305 | UINT8 InactivityTimeout : 4;\r | |
306 | UINT8 Reserved : 4;\r | |
307 | } IPMI_EMP_INACTIVITY_TIMEOUT;\r | |
308 | \r | |
309 | typedef struct {\r | |
310 | UINT8 IpmiCallback : 1;\r | |
311 | UINT8 CBCPCallback : 1;\r | |
312 | UINT8 Reserved1 : 6;\r | |
313 | UINT8 CbcpEnableNoCallback : 1;\r | |
314 | UINT8 CbcpEnablePreSpecifiedNumber : 1;\r | |
315 | UINT8 CbcpEnableUserSpecifiedNumber : 1;\r | |
316 | UINT8 CbcpEnableCallbackFromList : 1;\r | |
317 | UINT8 Reserved : 4;\r | |
318 | UINT8 CallbackDestination1;\r | |
319 | UINT8 CallbackDestination2;\r | |
320 | UINT8 CallbackDestination3;\r | |
321 | } IPMI_EMP_CHANNEL_CALLBACK_CONTROL;\r | |
322 | \r | |
323 | typedef struct {\r | |
324 | UINT8 CloseSessionOnDCDLoss : 1;\r | |
325 | UINT8 EnableSessionInactivityTimeout : 1;\r | |
326 | UINT8 Reserved : 6;\r | |
327 | } IPMI_EMP_SESSION_TERMINATION;\r | |
328 | \r | |
329 | typedef struct {\r | |
330 | UINT8 Reserved1 : 5;\r | |
331 | UINT8 EnableDtrHangup : 1;\r | |
332 | UINT8 FlowControl : 2;\r | |
333 | UINT8 BitRate : 4;\r | |
334 | UINT8 Reserved2 : 4;\r | |
335 | UINT8 SaveSetting : 1;\r | |
336 | UINT8 SetComPort : 1;\r | |
337 | UINT8 Reserved3 : 6;\r | |
338 | } IPMI_EMP_MESSAGING_COM_SETTING;\r | |
339 | \r | |
340 | typedef struct {\r | |
341 | UINT8 RingDurationInterval : 6;\r | |
342 | UINT8 Reserved1 : 2;\r | |
343 | UINT8 RingDeadTime : 4;\r | |
344 | UINT8 Reserved : 4;\r | |
345 | } IPMI_EMP_MODEM_RING_TIME;\r | |
346 | \r | |
347 | typedef struct {\r | |
348 | UINT8 Reserved;\r | |
349 | UINT8 InitString[48];\r | |
350 | } IPMI_EMP_MODEM_INIT_STRING;\r | |
351 | \r | |
352 | typedef struct {\r | |
353 | UINT8 EscapeSequence[5];\r | |
354 | } IPMI_EMP_MODEM_ESC_SEQUENCE;\r | |
355 | \r | |
356 | typedef struct {\r | |
357 | UINT8 HangupSequence[8];\r | |
358 | } IPMI_EMP_MODEM_HANGUP_SEQUENCE;\r | |
359 | \r | |
360 | typedef struct {\r | |
361 | UINT8 ModelDialCommend[8];\r | |
362 | } IPMI_MODEM_DIALUP_COMMAND;\r | |
363 | \r | |
364 | typedef struct {\r | |
365 | UINT8 PageBlackoutInterval;\r | |
366 | } IPMI_PAGE_BLACKOUT_INTERVAL;\r | |
367 | \r | |
368 | typedef struct {\r | |
369 | UINT8 CommunityString[18];\r | |
370 | } IPMI_EMP_COMMUNITY_STRING;\r | |
371 | \r | |
372 | typedef struct {\r | |
373 | UINT8 Reserved5 : 4;\r | |
374 | UINT8 DialStringSelector : 4;\r | |
375 | } IPMI_DIAL_PAGE_DESTINATION;\r | |
376 | \r | |
377 | typedef struct {\r | |
378 | UINT8 TapAccountSelector : 4;\r | |
379 | UINT8 Reserved : 4;\r | |
380 | } IPMI_TAP_PAGE_DESTINATION;\r | |
381 | \r | |
382 | typedef struct {\r | |
383 | UINT8 PPPAccountSetSelector;\r | |
384 | UINT8 DialStringSelector;\r | |
385 | } IPMI_PPP_ALERT_DESTINATION;\r | |
386 | \r | |
387 | typedef union {\r | |
388 | IPMI_DIAL_PAGE_DESTINATION DialPageDestination;\r | |
389 | IPMI_TAP_PAGE_DESTINATION TapPageDestination;\r | |
390 | IPMI_PPP_ALERT_DESTINATION PppAlertDestination;\r | |
391 | } IPMI_DEST_TYPE_SPECIFIC;\r | |
392 | \r | |
393 | typedef struct {\r | |
394 | UINT8 DestinationSelector : 4;\r | |
395 | UINT8 Reserved1 : 4;\r | |
396 | UINT8 DestinationType : 4;\r | |
397 | UINT8 Reserved2 : 3;\r | |
398 | UINT8 AlertAckRequired : 1;\r | |
399 | UINT8 AlertAckTimeoutSeconds;\r | |
400 | UINT8 NumRetriesCall : 3;\r | |
401 | UINT8 Reserved3 : 1;\r | |
402 | UINT8 NumRetryAlert : 3;\r | |
403 | UINT8 Reserved4 : 1;\r | |
404 | IPMI_DEST_TYPE_SPECIFIC DestinationTypeSpecific;\r | |
405 | } IPMI_EMP_DESTINATION_INFO;\r | |
406 | \r | |
407 | typedef struct {\r | |
408 | UINT8 DestinationSelector : 4;\r | |
409 | UINT8 Reserved1 : 4;\r | |
410 | UINT8 Parity : 3;\r | |
411 | UINT8 CharacterSize : 1;\r | |
412 | UINT8 StopBit : 1;\r | |
413 | UINT8 DtrHangup : 1;\r | |
414 | UINT8 FlowControl : 2;\r | |
415 | UINT8 BitRate : 4;\r | |
416 | UINT8 Reserved2 : 4;\r | |
417 | UINT8 SaveSetting : 1;\r | |
418 | UINT8 SetComPort : 1;\r | |
419 | UINT8 Reserved3 : 6;\r | |
420 | } IPMI_EMP_DESTINATION_COM_SETTING;\r | |
421 | \r | |
422 | typedef struct {\r | |
423 | UINT8 DialStringSelector : 4;\r | |
424 | UINT8 Reserved1 : 4;\r | |
425 | UINT8 Reserved2;\r | |
426 | UINT8 DialString[48];\r | |
427 | } IPMI_DESTINATION_DIAL_STRING;\r | |
428 | \r | |
429 | typedef union {\r | |
430 | UINT32 IpAddressLong;\r | |
431 | UINT8 IpAddress[4];\r | |
432 | } IPMI_PPP_IP_ADDRESS;\r | |
433 | \r | |
434 | typedef struct {\r | |
435 | UINT8 IpAddressSelector : 4;\r | |
436 | UINT8 Reserved1 : 4;\r | |
437 | IPMI_PPP_IP_ADDRESS PppIpAddress;\r | |
438 | } IPMI_DESTINATION_IP_ADDRESS;\r | |
439 | \r | |
440 | typedef struct {\r | |
441 | UINT8 TapSelector;\r | |
442 | UINT8 TapServiceSelector : 4;\r | |
443 | UINT8 TapDialStringSelector : 4;\r | |
444 | } IPMI_DESTINATION_TAP_ACCOUNT;\r | |
445 | \r | |
446 | typedef struct {\r | |
447 | UINT8 TapSelector;\r | |
448 | UINT8 PagerIdString[16];\r | |
449 | } IPMI_TAP_PAGER_ID_STRING;\r | |
450 | \r | |
451 | typedef union {\r | |
452 | UINT8 OptionData;\r | |
453 | IPMI_EMP_AUTH_TYPE EmpAuthType;\r | |
454 | IPMI_EMP_CONNECTION_TYPE EmpConnectionType;\r | |
455 | IPMI_EMP_INACTIVITY_TIMEOUT EmpInactivityTimeout;\r | |
456 | IPMI_EMP_CHANNEL_CALLBACK_CONTROL EmpCallbackControl;\r | |
457 | IPMI_EMP_SESSION_TERMINATION EmpSessionTermination;\r | |
458 | IPMI_EMP_MESSAGING_COM_SETTING EmpMessagingComSetting;\r | |
459 | IPMI_EMP_MODEM_RING_TIME EmpModemRingTime;\r | |
460 | IPMI_EMP_MODEM_INIT_STRING EmpModemInitString;\r | |
461 | IPMI_EMP_MODEM_ESC_SEQUENCE EmpModemEscSequence;\r | |
462 | IPMI_EMP_MODEM_HANGUP_SEQUENCE EmpModemHangupSequence;\r | |
463 | IPMI_MODEM_DIALUP_COMMAND EmpModemDialupCommand;\r | |
464 | IPMI_PAGE_BLACKOUT_INTERVAL EmpPageBlackoutInterval;\r | |
465 | IPMI_EMP_COMMUNITY_STRING EmpCommunityString;\r | |
466 | IPMI_EMP_DESTINATION_INFO EmpDestinationInfo;\r | |
467 | IPMI_EMP_DESTINATION_COM_SETTING EmpDestinationComSetting;\r | |
468 | UINT8 CallRetryBusySignalInterval;\r | |
469 | IPMI_DESTINATION_DIAL_STRING DestinationDialString;\r | |
470 | IPMI_DESTINATION_IP_ADDRESS DestinationIpAddress;\r | |
471 | IPMI_DESTINATION_TAP_ACCOUNT DestinationTapAccount;\r | |
472 | IPMI_TAP_PAGER_ID_STRING TapPagerIdString;\r | |
473 | } IPMI_EMP_OPTIONS;\r | |
474 | \r | |
475 | //\r | |
476 | // Definitions for Get Serial/Modem Configuration command\r | |
477 | //\r | |
478 | #define IPMI_TRANSPORT_GET_SERIAL_CONFIGURATION 0x11\r | |
479 | \r | |
480 | //\r | |
481 | // Constants and Structure definitions for "Get Serial/Modem Configuration" command to follow here\r | |
482 | //\r | |
483 | \r | |
484 | //\r | |
485 | // Definitions for Set Serial/Modem Mux command\r | |
486 | //\r | |
487 | #define IPMI_TRANSPORT_SET_SERIAL_MUX 0x12\r | |
488 | \r | |
489 | //\r | |
490 | // Constants and Structure definitions for "Set Serial/Modem Mux" command to follow here\r | |
491 | //\r | |
25517f7c HW |
492 | \r |
493 | //\r | |
494 | // Set Serial/Modem Mux command request return status\r | |
495 | //\r | |
496 | #define IPMI_MUX_SETTING_REQUEST_REJECTED 0x00\r | |
497 | #define IPMI_MUX_SETTING_REQUEST_ACCEPTED 0x01\r | |
498 | \r | |
499 | //\r | |
500 | // Definitions for serial multiplex settings\r | |
501 | //\r | |
502 | #define IPMI_MUX_SETTING_GET_MUX_SETTING 0x0\r | |
503 | #define IPMI_MUX_SETTING_REQUEST_MUX_TO_SYSTEM 0x1\r | |
504 | #define IPMI_MUX_SETTING_REQUEST_MUX_TO_BMC 0x2\r | |
505 | #define IPMI_MUX_SETTING_FORCE_MUX_TO_SYSTEM 0x3\r | |
506 | #define IPMI_MUX_SETTING_FORCE_MUX_TO_BMC 0x4\r | |
507 | #define IPMI_MUX_SETTING_BLOCK_REQUEST_MUX_TO_SYSTEM 0x5\r | |
508 | #define IPMI_MUX_SETTING_ALLOW_REQUEST_MUX_TO_SYSTEM 0x6\r | |
509 | #define IPMI_MUX_SETTING_BLOCK_REQUEST_MUX_TO_BMC 0x7\r | |
510 | #define IPMI_MUX_SETTING_ALLOW_REQUEST_MUX_TO_BMC 0x8\r | |
511 | \r | |
e59a797f DB |
512 | typedef struct {\r |
513 | UINT8 ChannelNo : 4;\r | |
514 | UINT8 Reserved1 : 4;\r | |
515 | UINT8 MuxSetting : 4;\r | |
516 | UINT8 Reserved2 : 4;\r | |
aeff1d6e | 517 | } IPMI_SET_SERIAL_MODEM_MUX_COMMAND_REQUEST;\r |
e59a797f DB |
518 | \r |
519 | typedef struct {\r | |
25517f7c | 520 | UINT8 CompletionCode;\r |
e59a797f DB |
521 | UINT8 MuxSetToBmc : 1;\r |
522 | UINT8 CommandStatus : 1;\r | |
523 | UINT8 MessagingSessionActive : 1;\r | |
524 | UINT8 AlertInProgress : 1;\r | |
525 | UINT8 Reserved2 : 2;\r | |
526 | UINT8 MuxToBmcAllowed : 1;\r | |
527 | UINT8 MuxToSystemBlocked : 1;\r | |
aeff1d6e | 528 | } IPMI_SET_SERIAL_MODEM_MUX_COMMAND_RESPONSE;\r |
e59a797f DB |
529 | \r |
530 | //\r | |
531 | // Definitions for Get TAP Response Code command\r | |
532 | //\r | |
533 | #define IPMI_TRANSPORT_GET_TAP_RESPONSE_CODE 0x13\r | |
534 | \r | |
535 | //\r | |
536 | // Constants and Structure definitions for "Get TAP Response Code" command to follow here\r | |
537 | //\r | |
538 | \r | |
539 | //\r | |
540 | // Definitions for Set PPP UDP Proxy Transmit Data command\r | |
541 | //\r | |
542 | #define IPMI_TRANSPORT_SET_PPP_UDP_PROXY_TXDATA 0x14\r | |
543 | \r | |
544 | //\r | |
545 | // Constants and Structure definitions for "Set PPP UDP Proxy Transmit Data" command to follow here\r | |
546 | //\r | |
547 | \r | |
548 | //\r | |
549 | // Definitions for Get PPP UDP Proxy Transmit Data command\r | |
550 | //\r | |
551 | #define IPMI_TRANSPORT_GET_PPP_UDP_PROXY_TXDATA 0x15\r | |
552 | \r | |
553 | //\r | |
554 | // Constants and Structure definitions for "Get PPP UDP Proxy Transmit Data" command to follow here\r | |
555 | //\r | |
556 | \r | |
557 | //\r | |
558 | // Definitions for Send PPP UDP Proxy Packet command\r | |
559 | //\r | |
560 | #define IPMI_TRANSPORT_SEND_PPP_UDP_PROXY_PACKET 0x16\r | |
561 | \r | |
562 | //\r | |
563 | // Constants and Structure definitions for "Send PPP UDP Proxy Packet" command to follow here\r | |
564 | //\r | |
565 | \r | |
566 | //\r | |
567 | // Definitions for Get PPP UDP Proxy Receive Data command\r | |
568 | //\r | |
569 | #define IPMI_TRANSPORT_GET_PPP_UDP_PROXY_RX 0x17\r | |
570 | \r | |
571 | //\r | |
572 | // Constants and Structure definitions for "Get PPP UDP Proxy Receive Data" command to follow here\r | |
573 | //\r | |
574 | \r | |
575 | //\r | |
576 | // Definitions for Serial/Modem connection active command\r | |
577 | //\r | |
578 | #define IPMI_TRANSPORT_SERIAL_CONNECTION_ACTIVE 0x18\r | |
579 | \r | |
580 | //\r | |
581 | // Constants and Structure definitions for "Serial/Modem connection active" command to follow here\r | |
582 | //\r | |
583 | \r | |
584 | //\r | |
585 | // Definitions for Callback command\r | |
586 | //\r | |
587 | #define IPMI_TRANSPORT_CALLBACK 0x19\r | |
588 | \r | |
589 | //\r | |
590 | // Constants and Structure definitions for "Callback" command to follow here\r | |
591 | //\r | |
592 | \r | |
593 | //\r | |
594 | // Definitions for Set user Callback Options command\r | |
595 | //\r | |
596 | #define IPMI_TRANSPORT_SET_USER_CALLBACK_OPTIONS 0x1A\r | |
597 | \r | |
598 | //\r | |
599 | // Constants and Structure definitions for "Set user Callback Options" command to follow here\r | |
600 | //\r | |
601 | \r | |
602 | //\r | |
603 | // Definitions for Get user Callback Options command\r | |
604 | //\r | |
605 | #define IPMI_TRANSPORT_GET_USER_CALLBACK_OPTIONS 0x1B\r | |
606 | \r | |
607 | //\r | |
608 | // Constants and Structure definitions for "Get user Callback Options" command to follow here\r | |
609 | //\r | |
610 | \r | |
611 | //\r | |
612 | // Below is Definitions for SOL Commands (Chapter 26)\r | |
613 | //\r | |
614 | \r | |
615 | //\r | |
616 | // Definitions for SOL activating command\r | |
617 | //\r | |
618 | #define IPMI_TRANSPORT_SOL_ACTIVATING 0x20\r | |
619 | \r | |
620 | //\r | |
621 | // Constants and Structure definitions for "SOL activating" command to follow here\r | |
622 | //\r | |
25517f7c HW |
623 | typedef struct {\r |
624 | UINT8 SessionState : 4;\r | |
625 | UINT8 Reserved : 4;\r | |
626 | UINT8 PayloadInstance;\r | |
627 | UINT8 FormatVersionMajor; // 1\r | |
628 | UINT8 FormatVersionMinor; // 0\r | |
629 | } IPMI_SOL_ACTIVATING_REQUEST;\r | |
e59a797f DB |
630 | \r |
631 | //\r | |
632 | // Definitions for Set SOL Configuration Parameters command\r | |
633 | //\r | |
634 | #define IPMI_TRANSPORT_SET_SOL_CONFIG_PARAM 0x21\r | |
635 | \r | |
636 | //\r | |
637 | // Constants and Structure definitions for "Set SOL Configuration Parameters" command to follow here\r | |
638 | //\r | |
639 | \r | |
25517f7c HW |
640 | //\r |
641 | // SOL Configuration Parameters selector\r | |
642 | //\r | |
643 | #define IPMI_SOL_CONFIGURATION_PARAMETER_SET_IN_PROGRESS 0\r | |
644 | #define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_ENABLE 1\r | |
645 | #define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_AUTHENTICATION 2\r | |
646 | #define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_CHARACTER_PARAM 3\r | |
647 | #define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_RETRY 4\r | |
648 | #define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_NV_BIT_RATE 5\r | |
649 | #define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_VOLATILE_BIT_RATE 6\r | |
650 | #define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_PAYLOAD_CHANNEL 7\r | |
651 | #define IPMI_SOL_CONFIGURATION_PARAMETER_SOL_PAYLOAD_PORT 8\r | |
652 | \r | |
653 | typedef struct {\r | |
654 | UINT8 ChannelNumber : 4;\r | |
655 | UINT8 Reserved : 4;\r | |
656 | UINT8 ParameterSelector;\r | |
657 | UINT8 ParameterData[0];\r | |
658 | } IPMI_SET_SOL_CONFIGURATION_PARAMETERS_REQUEST;\r | |
659 | \r | |
e59a797f DB |
660 | //\r |
661 | // Definitions for Get SOL Configuration Parameters command\r | |
662 | //\r | |
663 | #define IPMI_TRANSPORT_GET_SOL_CONFIG_PARAM 0x22\r | |
664 | \r | |
665 | //\r | |
666 | // Constants and Structure definitions for "Get SOL Configuration Parameters" command to follow here\r | |
667 | //\r | |
25517f7c HW |
668 | typedef struct {\r |
669 | UINT8 ChannelNumber : 4;\r | |
670 | UINT8 Reserved : 3;\r | |
671 | UINT8 GetParameter : 1;\r | |
672 | UINT8 ParameterSelector;\r | |
673 | UINT8 SetSelector;\r | |
674 | UINT8 BlockSelector;\r | |
675 | } IPMI_GET_SOL_CONFIGURATION_PARAMETERS_REQUEST;\r | |
676 | \r | |
677 | typedef struct {\r | |
678 | UINT8 CompletionCode;\r | |
679 | UINT8 ParameterRevision;\r | |
680 | UINT8 ParameterData[0];\r | |
681 | } IPMI_GET_SOL_CONFIGURATION_PARAMETERS_RESPONSE;\r | |
682 | \r | |
e59a797f DB |
683 | #pragma pack()\r |
684 | #endif\r |