1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef __LINUX_DCBNL_H__
20 #define __LINUX_DCBNL_H__
21 #include <linux/types.h>
22 #define IEEE_8021QAZ_MAX_TCS 8
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define IEEE_8021QAZ_TSA_STRICT 0
25 #define IEEE_8021QAZ_TSA_CB_SHAPER 1
26 #define IEEE_8021QAZ_TSA_ETS 2
27 #define IEEE_8021QAZ_TSA_VENDOR 255
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 struct ieee_ets {
30   __u8 willing;
31   __u8 ets_cap;
32   __u8 cbs;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34   __u8 tc_tx_bw[IEEE_8021QAZ_MAX_TCS];
35   __u8 tc_rx_bw[IEEE_8021QAZ_MAX_TCS];
36   __u8 tc_tsa[IEEE_8021QAZ_MAX_TCS];
37   __u8 prio_tc[IEEE_8021QAZ_MAX_TCS];
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39   __u8 tc_reco_bw[IEEE_8021QAZ_MAX_TCS];
40   __u8 tc_reco_tsa[IEEE_8021QAZ_MAX_TCS];
41   __u8 reco_prio_tc[IEEE_8021QAZ_MAX_TCS];
42 };
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 struct ieee_maxrate {
45   __u64 tc_maxrate[IEEE_8021QAZ_MAX_TCS];
46 };
47 enum dcbnl_cndd_states {
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49   DCB_CNDD_RESET = 0,
50   DCB_CNDD_EDGE,
51   DCB_CNDD_INTERIOR,
52   DCB_CNDD_INTERIOR_READY,
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 };
55 struct ieee_qcn {
56   __u8 rpg_enable[IEEE_8021QAZ_MAX_TCS];
57   __u32 rppp_max_rps[IEEE_8021QAZ_MAX_TCS];
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59   __u32 rpg_time_reset[IEEE_8021QAZ_MAX_TCS];
60   __u32 rpg_byte_reset[IEEE_8021QAZ_MAX_TCS];
61   __u32 rpg_threshold[IEEE_8021QAZ_MAX_TCS];
62   __u32 rpg_max_rate[IEEE_8021QAZ_MAX_TCS];
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64   __u32 rpg_ai_rate[IEEE_8021QAZ_MAX_TCS];
65   __u32 rpg_hai_rate[IEEE_8021QAZ_MAX_TCS];
66   __u32 rpg_gd[IEEE_8021QAZ_MAX_TCS];
67   __u32 rpg_min_dec_fac[IEEE_8021QAZ_MAX_TCS];
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69   __u32 rpg_min_rate[IEEE_8021QAZ_MAX_TCS];
70   __u32 cndd_state_machine[IEEE_8021QAZ_MAX_TCS];
71 };
72 struct ieee_qcn_stats {
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74   __u64 rppp_rp_centiseconds[IEEE_8021QAZ_MAX_TCS];
75   __u32 rppp_created_rps[IEEE_8021QAZ_MAX_TCS];
76 };
77 struct ieee_pfc {
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79   __u8 pfc_cap;
80   __u8 pfc_en;
81   __u8 mbc;
82   __u16 delay;
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84   __u64 requests[IEEE_8021QAZ_MAX_TCS];
85   __u64 indications[IEEE_8021QAZ_MAX_TCS];
86 };
87 #define CEE_DCBX_MAX_PGS 8
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 #define CEE_DCBX_MAX_PRIO 8
90 struct cee_pg {
91   __u8 willing;
92   __u8 error;
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94   __u8 pg_en;
95   __u8 tcs_supported;
96   __u8 pg_bw[CEE_DCBX_MAX_PGS];
97   __u8 prio_pg[CEE_DCBX_MAX_PGS];
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 };
100 struct cee_pfc {
101   __u8 willing;
102   __u8 error;
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104   __u8 pfc_en;
105   __u8 tcs_supported;
106 };
107 #define IEEE_8021QAZ_APP_SEL_ETHERTYPE 1
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 #define IEEE_8021QAZ_APP_SEL_STREAM 2
110 #define IEEE_8021QAZ_APP_SEL_DGRAM 3
111 #define IEEE_8021QAZ_APP_SEL_ANY 4
112 struct dcb_app {
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114   __u8 selector;
115   __u8 priority;
116   __u16 protocol;
117 };
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119 struct dcb_peer_app_info {
120   __u8 willing;
121   __u8 error;
122 };
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124 struct dcbmsg {
125   __u8 dcb_family;
126   __u8 cmd;
127   __u16 dcb_pad;
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129 };
130 enum dcbnl_commands {
131   DCB_CMD_UNDEFINED,
132   DCB_CMD_GSTATE,
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134   DCB_CMD_SSTATE,
135   DCB_CMD_PGTX_GCFG,
136   DCB_CMD_PGTX_SCFG,
137   DCB_CMD_PGRX_GCFG,
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139   DCB_CMD_PGRX_SCFG,
140   DCB_CMD_PFC_GCFG,
141   DCB_CMD_PFC_SCFG,
142   DCB_CMD_SET_ALL,
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144   DCB_CMD_GPERM_HWADDR,
145   DCB_CMD_GCAP,
146   DCB_CMD_GNUMTCS,
147   DCB_CMD_SNUMTCS,
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149   DCB_CMD_PFC_GSTATE,
150   DCB_CMD_PFC_SSTATE,
151   DCB_CMD_BCN_GCFG,
152   DCB_CMD_BCN_SCFG,
153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154   DCB_CMD_GAPP,
155   DCB_CMD_SAPP,
156   DCB_CMD_IEEE_SET,
157   DCB_CMD_IEEE_GET,
158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159   DCB_CMD_GDCBX,
160   DCB_CMD_SDCBX,
161   DCB_CMD_GFEATCFG,
162   DCB_CMD_SFEATCFG,
163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164   DCB_CMD_CEE_GET,
165   DCB_CMD_IEEE_DEL,
166   __DCB_CMD_ENUM_MAX,
167   DCB_CMD_MAX = __DCB_CMD_ENUM_MAX - 1,
168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169 };
170 enum dcbnl_attrs {
171   DCB_ATTR_UNDEFINED,
172   DCB_ATTR_IFNAME,
173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174   DCB_ATTR_STATE,
175   DCB_ATTR_PFC_STATE,
176   DCB_ATTR_PFC_CFG,
177   DCB_ATTR_NUM_TC,
178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179   DCB_ATTR_PG_CFG,
180   DCB_ATTR_SET_ALL,
181   DCB_ATTR_PERM_HWADDR,
182   DCB_ATTR_CAP,
183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184   DCB_ATTR_NUMTCS,
185   DCB_ATTR_BCN,
186   DCB_ATTR_APP,
187   DCB_ATTR_IEEE,
188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189   DCB_ATTR_DCBX,
190   DCB_ATTR_FEATCFG,
191   DCB_ATTR_CEE,
192   __DCB_ATTR_ENUM_MAX,
193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194   DCB_ATTR_MAX = __DCB_ATTR_ENUM_MAX - 1,
195 };
196 enum ieee_attrs {
197   DCB_ATTR_IEEE_UNSPEC,
198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199   DCB_ATTR_IEEE_ETS,
200   DCB_ATTR_IEEE_PFC,
201   DCB_ATTR_IEEE_APP_TABLE,
202   DCB_ATTR_IEEE_PEER_ETS,
203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204   DCB_ATTR_IEEE_PEER_PFC,
205   DCB_ATTR_IEEE_PEER_APP,
206   DCB_ATTR_IEEE_MAXRATE,
207   DCB_ATTR_IEEE_QCN,
208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209   DCB_ATTR_IEEE_QCN_STATS,
210   __DCB_ATTR_IEEE_MAX
211 };
212 #define DCB_ATTR_IEEE_MAX (__DCB_ATTR_IEEE_MAX - 1)
213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214 enum ieee_attrs_app {
215   DCB_ATTR_IEEE_APP_UNSPEC,
216   DCB_ATTR_IEEE_APP,
217   __DCB_ATTR_IEEE_APP_MAX
218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219 };
220 #define DCB_ATTR_IEEE_APP_MAX (__DCB_ATTR_IEEE_APP_MAX - 1)
221 enum cee_attrs {
222   DCB_ATTR_CEE_UNSPEC,
223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224   DCB_ATTR_CEE_PEER_PG,
225   DCB_ATTR_CEE_PEER_PFC,
226   DCB_ATTR_CEE_PEER_APP_TABLE,
227   DCB_ATTR_CEE_TX_PG,
228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229   DCB_ATTR_CEE_RX_PG,
230   DCB_ATTR_CEE_PFC,
231   DCB_ATTR_CEE_APP_TABLE,
232   DCB_ATTR_CEE_FEAT,
233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
234   __DCB_ATTR_CEE_MAX
235 };
236 #define DCB_ATTR_CEE_MAX (__DCB_ATTR_CEE_MAX - 1)
237 enum peer_app_attr {
238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239   DCB_ATTR_CEE_PEER_APP_UNSPEC,
240   DCB_ATTR_CEE_PEER_APP_INFO,
241   DCB_ATTR_CEE_PEER_APP,
242   __DCB_ATTR_CEE_PEER_APP_MAX
243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
244 };
245 #define DCB_ATTR_CEE_PEER_APP_MAX (__DCB_ATTR_CEE_PEER_APP_MAX - 1)
246 enum cee_attrs_app {
247   DCB_ATTR_CEE_APP_UNSPEC,
248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
249   DCB_ATTR_CEE_APP,
250   __DCB_ATTR_CEE_APP_MAX
251 };
252 #define DCB_ATTR_CEE_APP_MAX (__DCB_ATTR_CEE_APP_MAX - 1)
253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
254 enum dcbnl_pfc_up_attrs {
255   DCB_PFC_UP_ATTR_UNDEFINED,
256   DCB_PFC_UP_ATTR_0,
257   DCB_PFC_UP_ATTR_1,
258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259   DCB_PFC_UP_ATTR_2,
260   DCB_PFC_UP_ATTR_3,
261   DCB_PFC_UP_ATTR_4,
262   DCB_PFC_UP_ATTR_5,
263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
264   DCB_PFC_UP_ATTR_6,
265   DCB_PFC_UP_ATTR_7,
266   DCB_PFC_UP_ATTR_ALL,
267   __DCB_PFC_UP_ATTR_ENUM_MAX,
268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269   DCB_PFC_UP_ATTR_MAX = __DCB_PFC_UP_ATTR_ENUM_MAX - 1,
270 };
271 enum dcbnl_pg_attrs {
272   DCB_PG_ATTR_UNDEFINED,
273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274   DCB_PG_ATTR_TC_0,
275   DCB_PG_ATTR_TC_1,
276   DCB_PG_ATTR_TC_2,
277   DCB_PG_ATTR_TC_3,
278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279   DCB_PG_ATTR_TC_4,
280   DCB_PG_ATTR_TC_5,
281   DCB_PG_ATTR_TC_6,
282   DCB_PG_ATTR_TC_7,
283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
284   DCB_PG_ATTR_TC_MAX,
285   DCB_PG_ATTR_TC_ALL,
286   DCB_PG_ATTR_BW_ID_0,
287   DCB_PG_ATTR_BW_ID_1,
288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
289   DCB_PG_ATTR_BW_ID_2,
290   DCB_PG_ATTR_BW_ID_3,
291   DCB_PG_ATTR_BW_ID_4,
292   DCB_PG_ATTR_BW_ID_5,
293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
294   DCB_PG_ATTR_BW_ID_6,
295   DCB_PG_ATTR_BW_ID_7,
296   DCB_PG_ATTR_BW_ID_MAX,
297   DCB_PG_ATTR_BW_ID_ALL,
298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299   __DCB_PG_ATTR_ENUM_MAX,
300   DCB_PG_ATTR_MAX = __DCB_PG_ATTR_ENUM_MAX - 1,
301 };
302 enum dcbnl_tc_attrs {
303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
304   DCB_TC_ATTR_PARAM_UNDEFINED,
305   DCB_TC_ATTR_PARAM_PGID,
306   DCB_TC_ATTR_PARAM_UP_MAPPING,
307   DCB_TC_ATTR_PARAM_STRICT_PRIO,
308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
309   DCB_TC_ATTR_PARAM_BW_PCT,
310   DCB_TC_ATTR_PARAM_ALL,
311   __DCB_TC_ATTR_PARAM_ENUM_MAX,
312   DCB_TC_ATTR_PARAM_MAX = __DCB_TC_ATTR_PARAM_ENUM_MAX - 1,
313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
314 };
315 enum dcbnl_cap_attrs {
316   DCB_CAP_ATTR_UNDEFINED,
317   DCB_CAP_ATTR_ALL,
318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
319   DCB_CAP_ATTR_PG,
320   DCB_CAP_ATTR_PFC,
321   DCB_CAP_ATTR_UP2TC,
322   DCB_CAP_ATTR_PG_TCS,
323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
324   DCB_CAP_ATTR_PFC_TCS,
325   DCB_CAP_ATTR_GSP,
326   DCB_CAP_ATTR_BCN,
327   DCB_CAP_ATTR_DCBX,
328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
329   __DCB_CAP_ATTR_ENUM_MAX,
330   DCB_CAP_ATTR_MAX = __DCB_CAP_ATTR_ENUM_MAX - 1,
331 };
332 #define DCB_CAP_DCBX_HOST 0x01
333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
334 #define DCB_CAP_DCBX_LLD_MANAGED 0x02
335 #define DCB_CAP_DCBX_VER_CEE 0x04
336 #define DCB_CAP_DCBX_VER_IEEE 0x08
337 #define DCB_CAP_DCBX_STATIC 0x10
338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
339 enum dcbnl_numtcs_attrs {
340   DCB_NUMTCS_ATTR_UNDEFINED,
341   DCB_NUMTCS_ATTR_ALL,
342   DCB_NUMTCS_ATTR_PG,
343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
344   DCB_NUMTCS_ATTR_PFC,
345   __DCB_NUMTCS_ATTR_ENUM_MAX,
346   DCB_NUMTCS_ATTR_MAX = __DCB_NUMTCS_ATTR_ENUM_MAX - 1,
347 };
348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
349 enum dcbnl_bcn_attrs {
350   DCB_BCN_ATTR_UNDEFINED = 0,
351   DCB_BCN_ATTR_RP_0,
352   DCB_BCN_ATTR_RP_1,
353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
354   DCB_BCN_ATTR_RP_2,
355   DCB_BCN_ATTR_RP_3,
356   DCB_BCN_ATTR_RP_4,
357   DCB_BCN_ATTR_RP_5,
358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
359   DCB_BCN_ATTR_RP_6,
360   DCB_BCN_ATTR_RP_7,
361   DCB_BCN_ATTR_RP_ALL,
362   DCB_BCN_ATTR_BCNA_0,
363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
364   DCB_BCN_ATTR_BCNA_1,
365   DCB_BCN_ATTR_ALPHA,
366   DCB_BCN_ATTR_BETA,
367   DCB_BCN_ATTR_GD,
368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
369   DCB_BCN_ATTR_GI,
370   DCB_BCN_ATTR_TMAX,
371   DCB_BCN_ATTR_TD,
372   DCB_BCN_ATTR_RMIN,
373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
374   DCB_BCN_ATTR_W,
375   DCB_BCN_ATTR_RD,
376   DCB_BCN_ATTR_RU,
377   DCB_BCN_ATTR_WRTT,
378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
379   DCB_BCN_ATTR_RI,
380   DCB_BCN_ATTR_C,
381   DCB_BCN_ATTR_ALL,
382   __DCB_BCN_ATTR_ENUM_MAX,
383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
384   DCB_BCN_ATTR_MAX = __DCB_BCN_ATTR_ENUM_MAX - 1,
385 };
386 enum dcb_general_attr_values {
387   DCB_ATTR_VALUE_UNDEFINED = 0xff
388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
389 };
390 #define DCB_APP_IDTYPE_ETHTYPE 0x00
391 #define DCB_APP_IDTYPE_PORTNUM 0x01
392 enum dcbnl_app_attrs {
393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
394   DCB_APP_ATTR_UNDEFINED,
395   DCB_APP_ATTR_IDTYPE,
396   DCB_APP_ATTR_ID,
397   DCB_APP_ATTR_PRIORITY,
398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
399   __DCB_APP_ATTR_ENUM_MAX,
400   DCB_APP_ATTR_MAX = __DCB_APP_ATTR_ENUM_MAX - 1,
401 };
402 #define DCB_FEATCFG_ERROR 0x01
403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
404 #define DCB_FEATCFG_ENABLE 0x02
405 #define DCB_FEATCFG_WILLING 0x04
406 #define DCB_FEATCFG_ADVERTISE 0x08
407 enum dcbnl_featcfg_attrs {
408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
409   DCB_FEATCFG_ATTR_UNDEFINED,
410   DCB_FEATCFG_ATTR_ALL,
411   DCB_FEATCFG_ATTR_PG,
412   DCB_FEATCFG_ATTR_PFC,
413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
414   DCB_FEATCFG_ATTR_APP,
415   __DCB_FEATCFG_ATTR_ENUM_MAX,
416   DCB_FEATCFG_ATTR_MAX = __DCB_FEATCFG_ATTR_ENUM_MAX - 1,
417 };
418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
419 #endif
420