blob: 11b904d642398c4c3f99591cf02612b79a8d924a [file] [log] [blame]
Ronak Kanabar1ae366f2023-06-07 01:21:56 +05301/** @file
2 IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
3 IPMI Intelligent Chassis Management Bus Bridge Specification Version 1.0,
4 Revision 1.3.
5
6 See IPMI specification, Appendix G, Command Assignments
7 and Appendix H, Sub-function Assignments.
8
9 Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>
10 SPDX-License-Identifier: BSD-2-Clause-Patent
11**/
12
13#ifndef _IPMI_NET_FN_BRIDGE_H_
14#define _IPMI_NET_FN_BRIDGE_H_
15
16//
17// Net function definition for Bridge command
18//
19#define IPMI_NETFN_BRIDGE 0x02
20
21//
22// Definitions for Get Bridge State command
23//
24#define IPMI_BRIDGE_GET_STATE 0x00
25
26//
27// Constants and Structure definitions for "Get Bridge State" command to follow here
28//
29
30//
31// Definitions for Set Bridge State command
32//
33#define IPMI_BRIDGE_SET_STATE 0x01
34
35//
36// Constants and Structure definitions for "Set Bridge State" command to follow here
37//
38
39//
40// Definitions for Get ICMB Address command
41//
42#define IPMI_BRIDGE_GET_ICMB_ADDRESS 0x02
43
44//
45// Constants and Structure definitions for "Get ICMB Address" command to follow here
46//
47
48//
49// Definitions for Set ICMB Address command
50//
51#define IPMI_BRIDGE_SET_ICMB_ADDRESS 0x03
52
53//
54// Constants and Structure definitions for "Set ICMB Address" command to follow here
55//
56
57//
58// Definitions for Set Bridge Proxy Address command
59//
60#define IPMI_BRIDGE_SET_PROXY_ADDRESS 0x04
61
62//
63// Constants and Structure definitions for "Set Bridge Proxy Address" command to follow here
64//
65
66//
67// Definitions for Get Bridge Statistics command
68//
69#define IPMI_BRIDGE_GET_BRIDGE_STATISTICS 0x05
70
71//
72// Constants and Structure definitions for "Get Bridge Statistics" command to follow here
73//
74
75//
76// Definitions for Get ICMB Capabilities command
77//
78#define IPMI_BRIDGE_GET_ICMB_CAPABILITIES 0x06
79
80//
81// Constants and Structure definitions for "Get ICMB Capabilities" command to follow here
82//
83
84//
85// Definitions for Clear Bridge Statistics command
86//
87#define IPMI_BRIDGE_CLEAR_STATISTICS 0x08
88
89//
90// Constants and Structure definitions for "Clear Bridge Statistics" command to follow here
91//
92
93//
94// Definitions for Get Bridge Proxy Address command
95//
96#define IPMI_BRIDGE_GET_PROXY_ADDRESS 0x09
97
98//
99// Constants and Structure definitions for "Get Bridge Proxy Address" command to follow here
100//
101
102//
103// Definitions for Get ICMB Connector Info command
104//
105#define IPMI_BRIDGE_GET_ICMB_CONNECTOR_INFO 0x0A
106
107//
108// Constants and Structure definitions for "Get ICMB Connector Info " command to follow here
109//
110
111//
112// Definitions for Get ICMB Connection ID command
113//
114#define IPMI_BRIDGE_GET_ICMB_CONNECTION_ID 0x0B
115
116//
117// Constants and Structure definitions for "Get ICMB Connection ID" command to follow here
118//
119
120//
121// Definitions for Get ICMB Connection ID command
122//
123#define IPMI_BRIDGE_SEND_ICMB_CONNECTION_ID 0x0C
124
125//
126// Constants and Structure definitions for "Send ICMB Connection ID" command to follow here
127//
128
129//
130// Definitions for Prepare for Discovery command
131//
132#define IPMI_BRIDGE_PREPARE_FOR_DISCOVERY 0x10
133
134//
135// Constants and Structure definitions for "Prepare for Discovery" command to follow here
136//
137
138//
139// Definitions for Get Addresses command
140//
141#define IPMI_BRIDGE_GET_ADDRESSES 0x11
142
143//
144// Constants and Structure definitions for "Get Addresses" command to follow here
145//
146
147//
148// Definitions for Set Discovered command
149//
150#define IPMI_BRIDGE_SET_DISCOVERED 0x12
151
152//
153// Constants and Structure definitions for "Set Discovered" command to follow here
154//
155
156//
157// Definitions for Get Chassis Device ID command
158//
159#define IPMI_BRIDGE_GET_CHASSIS_DEVICEID 0x13
160
161//
162// Constants and Structure definitions for "Get Chassis Device ID" command to follow here
163//
164
165//
166// Definitions for Set Chassis Device ID command
167//
168#define IPMI_BRIDGE_SET_CHASSIS_DEVICEID 0x14
169
170//
171// Constants and Structure definitions for "Set Chassis Device ID" command to follow here
172//
173
174//
175// Definitions for Bridge Request command
176//
177#define IPMI_BRIDGE_REQUEST 0x20
178
179//
180// Constants and Structure definitions for "Bridge Request" command to follow here
181//
182
183//
184// Definitions for Bridge Message command
185//
186#define IPMI_BRIDGE_MESSAGE 0x21
187
188//
189// Constants and Structure definitions for "Bridge Message" command to follow here
190//
191
192//
193// Definitions for Get Event Count command
194//
195#define IPMI_BRIDGE_GET_EVENT_COUNT 0x30
196
197//
198// Constants and Structure definitions for "Get Event Count" command to follow here
199//
200
201//
202// Definitions for Set Event Destination command
203//
204#define IPMI_BRIDGE_SET_EVENT_DESTINATION 0x31
205
206//
207// Constants and Structure definitions for "Set Event Destination" command to follow here
208//
209
210//
211// Definitions for Set Event Reception State command
212//
213#define IPMI_BRIDGE_SET_EVENT_RECEPTION_STATE 0x32
214
215//
216// Constants and Structure definitions for "Set Event Reception State" command to follow here
217//
218
219//
220// Definitions for Set Event Reception State command
221//
222#define IPMI_BRIDGE_SET_EVENT_RECEPTION_STATE 0x32
223
224//
225// Constants and Structure definitions for "Set Event Reception State" command to follow here
226//
227
228//
229// Definitions for Send ICMB Event Message command
230//
231#define IPMI_BRIDGE_SEND_ICMB_EVENT_MESSAGE 0x33
232
233//
234// Constants and Structure definitions for "Send ICMB Event Message" command to follow here
235//
236
237#endif