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 _UAPI_LINUX_IF_LINK_H
20 #define _UAPI_LINUX_IF_LINK_H
21 #include <linux/types.h>
22 #include <linux/netlink.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 struct rtnl_link_stats {
25   __u32 rx_packets;
26   __u32 tx_packets;
27   __u32 rx_bytes;
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29   __u32 tx_bytes;
30   __u32 rx_errors;
31   __u32 tx_errors;
32   __u32 rx_dropped;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34   __u32 tx_dropped;
35   __u32 multicast;
36   __u32 collisions;
37   __u32 rx_length_errors;
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39   __u32 rx_over_errors;
40   __u32 rx_crc_errors;
41   __u32 rx_frame_errors;
42   __u32 rx_fifo_errors;
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44   __u32 rx_missed_errors;
45   __u32 tx_aborted_errors;
46   __u32 tx_carrier_errors;
47   __u32 tx_fifo_errors;
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49   __u32 tx_heartbeat_errors;
50   __u32 tx_window_errors;
51   __u32 rx_compressed;
52   __u32 tx_compressed;
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 };
55 struct rtnl_link_stats64 {
56   __u64 rx_packets;
57   __u64 tx_packets;
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59   __u64 rx_bytes;
60   __u64 tx_bytes;
61   __u64 rx_errors;
62   __u64 tx_errors;
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64   __u64 rx_dropped;
65   __u64 tx_dropped;
66   __u64 multicast;
67   __u64 collisions;
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69   __u64 rx_length_errors;
70   __u64 rx_over_errors;
71   __u64 rx_crc_errors;
72   __u64 rx_frame_errors;
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74   __u64 rx_fifo_errors;
75   __u64 rx_missed_errors;
76   __u64 tx_aborted_errors;
77   __u64 tx_carrier_errors;
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79   __u64 tx_fifo_errors;
80   __u64 tx_heartbeat_errors;
81   __u64 tx_window_errors;
82   __u64 rx_compressed;
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84   __u64 tx_compressed;
85 };
86 struct rtnl_link_ifmap {
87   __u64 mem_start;
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89   __u64 mem_end;
90   __u64 base_addr;
91   __u16 irq;
92   __u8 dma;
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94   __u8 port;
95 };
96 enum {
97   IFLA_UNSPEC,
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99   IFLA_ADDRESS,
100   IFLA_BROADCAST,
101   IFLA_IFNAME,
102   IFLA_MTU,
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104   IFLA_LINK,
105   IFLA_QDISC,
106   IFLA_STATS,
107   IFLA_COST,
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 #define IFLA_COST IFLA_COST
110   IFLA_PRIORITY,
111 #define IFLA_PRIORITY IFLA_PRIORITY
112   IFLA_MASTER,
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114 #define IFLA_MASTER IFLA_MASTER
115   IFLA_WIRELESS,
116 #define IFLA_WIRELESS IFLA_WIRELESS
117   IFLA_PROTINFO,
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119 #define IFLA_PROTINFO IFLA_PROTINFO
120   IFLA_TXQLEN,
121 #define IFLA_TXQLEN IFLA_TXQLEN
122   IFLA_MAP,
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124 #define IFLA_MAP IFLA_MAP
125   IFLA_WEIGHT,
126 #define IFLA_WEIGHT IFLA_WEIGHT
127   IFLA_OPERSTATE,
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129   IFLA_LINKMODE,
130   IFLA_LINKINFO,
131 #define IFLA_LINKINFO IFLA_LINKINFO
132   IFLA_NET_NS_PID,
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134   IFLA_IFALIAS,
135   IFLA_NUM_VF,
136   IFLA_VFINFO_LIST,
137   IFLA_STATS64,
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139   IFLA_VF_PORTS,
140   IFLA_PORT_SELF,
141   IFLA_AF_SPEC,
142   IFLA_GROUP,
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144   IFLA_NET_NS_FD,
145   IFLA_EXT_MASK,
146   IFLA_PROMISCUITY,
147 #define IFLA_PROMISCUITY IFLA_PROMISCUITY
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149   IFLA_NUM_TX_QUEUES,
150   IFLA_NUM_RX_QUEUES,
151   IFLA_CARRIER,
152   IFLA_PHYS_PORT_ID,
153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154   IFLA_CARRIER_CHANGES,
155   IFLA_PHYS_SWITCH_ID,
156   IFLA_LINK_NETNSID,
157   IFLA_PHYS_PORT_NAME,
158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
159   IFLA_PROTO_DOWN,
160   __IFLA_MAX
161 };
162 #define IFLA_MAX (__IFLA_MAX - 1)
163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
164 #define IFLA_RTA(r) ((struct rtattr *) (((char *) (r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
165 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct ifinfomsg))
166 enum {
167   IFLA_INET_UNSPEC,
168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169   IFLA_INET_CONF,
170   __IFLA_INET_MAX,
171 };
172 #define IFLA_INET_MAX (__IFLA_INET_MAX - 1)
173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174 enum {
175   IFLA_INET6_UNSPEC,
176   IFLA_INET6_FLAGS,
177   IFLA_INET6_CONF,
178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179   IFLA_INET6_STATS,
180   IFLA_INET6_MCAST,
181   IFLA_INET6_CACHEINFO,
182   IFLA_INET6_ICMP6STATS,
183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184   IFLA_INET6_TOKEN,
185   IFLA_INET6_ADDR_GEN_MODE,
186   __IFLA_INET6_MAX
187 };
188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
189 #define IFLA_INET6_MAX (__IFLA_INET6_MAX - 1)
190 enum in6_addr_gen_mode {
191   IN6_ADDR_GEN_MODE_EUI64,
192   IN6_ADDR_GEN_MODE_NONE,
193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194   IN6_ADDR_GEN_MODE_STABLE_PRIVACY,
195 };
196 enum {
197   IFLA_BR_UNSPEC,
198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199   IFLA_BR_FORWARD_DELAY,
200   IFLA_BR_HELLO_TIME,
201   IFLA_BR_MAX_AGE,
202   IFLA_BR_AGEING_TIME,
203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204   IFLA_BR_STP_STATE,
205   IFLA_BR_PRIORITY,
206   IFLA_BR_VLAN_FILTERING,
207   IFLA_BR_VLAN_PROTOCOL,
208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209   IFLA_BR_GROUP_FWD_MASK,
210   IFLA_BR_ROOT_ID,
211   IFLA_BR_BRIDGE_ID,
212   IFLA_BR_ROOT_PORT,
213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214   IFLA_BR_ROOT_PATH_COST,
215   IFLA_BR_TOPOLOGY_CHANGE,
216   IFLA_BR_TOPOLOGY_CHANGE_DETECTED,
217   IFLA_BR_HELLO_TIMER,
218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
219   IFLA_BR_TCN_TIMER,
220   IFLA_BR_TOPOLOGY_CHANGE_TIMER,
221   IFLA_BR_GC_TIMER,
222   IFLA_BR_GROUP_ADDR,
223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224   IFLA_BR_FDB_FLUSH,
225   IFLA_BR_MCAST_ROUTER,
226   IFLA_BR_MCAST_SNOOPING,
227   IFLA_BR_MCAST_QUERY_USE_IFADDR,
228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229   IFLA_BR_MCAST_QUERIER,
230   IFLA_BR_MCAST_HASH_ELASTICITY,
231   IFLA_BR_MCAST_HASH_MAX,
232   IFLA_BR_MCAST_LAST_MEMBER_CNT,
233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
234   IFLA_BR_MCAST_STARTUP_QUERY_CNT,
235   IFLA_BR_MCAST_LAST_MEMBER_INTVL,
236   IFLA_BR_MCAST_MEMBERSHIP_INTVL,
237   IFLA_BR_MCAST_QUERIER_INTVL,
238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239   IFLA_BR_MCAST_QUERY_INTVL,
240   IFLA_BR_MCAST_QUERY_RESPONSE_INTVL,
241   IFLA_BR_MCAST_STARTUP_QUERY_INTVL,
242   IFLA_BR_NF_CALL_IPTABLES,
243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
244   IFLA_BR_NF_CALL_IP6TABLES,
245   IFLA_BR_NF_CALL_ARPTABLES,
246   IFLA_BR_VLAN_DEFAULT_PVID,
247   __IFLA_BR_MAX,
248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
249 };
250 #define IFLA_BR_MAX (__IFLA_BR_MAX - 1)
251 struct ifla_bridge_id {
252   __u8 prio[2];
253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
254   __u8 addr[6];
255 };
256 enum {
257   BRIDGE_MODE_UNSPEC,
258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259   BRIDGE_MODE_HAIRPIN,
260 };
261 enum {
262   IFLA_BRPORT_UNSPEC,
263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
264   IFLA_BRPORT_STATE,
265   IFLA_BRPORT_PRIORITY,
266   IFLA_BRPORT_COST,
267   IFLA_BRPORT_MODE,
268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269   IFLA_BRPORT_GUARD,
270   IFLA_BRPORT_PROTECT,
271   IFLA_BRPORT_FAST_LEAVE,
272   IFLA_BRPORT_LEARNING,
273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274   IFLA_BRPORT_UNICAST_FLOOD,
275   IFLA_BRPORT_PROXYARP,
276   IFLA_BRPORT_LEARNING_SYNC,
277   IFLA_BRPORT_PROXYARP_WIFI,
278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279   IFLA_BRPORT_ROOT_ID,
280   IFLA_BRPORT_BRIDGE_ID,
281   IFLA_BRPORT_DESIGNATED_PORT,
282   IFLA_BRPORT_DESIGNATED_COST,
283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
284   IFLA_BRPORT_ID,
285   IFLA_BRPORT_NO,
286   IFLA_BRPORT_TOPOLOGY_CHANGE_ACK,
287   IFLA_BRPORT_CONFIG_PENDING,
288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
289   IFLA_BRPORT_MESSAGE_AGE_TIMER,
290   IFLA_BRPORT_FORWARD_DELAY_TIMER,
291   IFLA_BRPORT_HOLD_TIMER,
292   IFLA_BRPORT_FLUSH,
293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
294   IFLA_BRPORT_MULTICAST_ROUTER,
295   __IFLA_BRPORT_MAX
296 };
297 #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1)
298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299 struct ifla_cacheinfo {
300   __u32 max_reasm_len;
301   __u32 tstamp;
302   __u32 reachable_time;
303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
304   __u32 retrans_time;
305 };
306 enum {
307   IFLA_INFO_UNSPEC,
308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
309   IFLA_INFO_KIND,
310   IFLA_INFO_DATA,
311   IFLA_INFO_XSTATS,
312   IFLA_INFO_SLAVE_KIND,
313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
314   IFLA_INFO_SLAVE_DATA,
315   __IFLA_INFO_MAX,
316 };
317 #define IFLA_INFO_MAX (__IFLA_INFO_MAX - 1)
318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
319 enum {
320   IFLA_VLAN_UNSPEC,
321   IFLA_VLAN_ID,
322   IFLA_VLAN_FLAGS,
323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
324   IFLA_VLAN_EGRESS_QOS,
325   IFLA_VLAN_INGRESS_QOS,
326   IFLA_VLAN_PROTOCOL,
327   __IFLA_VLAN_MAX,
328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
329 };
330 #define IFLA_VLAN_MAX (__IFLA_VLAN_MAX - 1)
331 struct ifla_vlan_flags {
332   __u32 flags;
333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
334   __u32 mask;
335 };
336 enum {
337   IFLA_VLAN_QOS_UNSPEC,
338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
339   IFLA_VLAN_QOS_MAPPING,
340   __IFLA_VLAN_QOS_MAX
341 };
342 #define IFLA_VLAN_QOS_MAX (__IFLA_VLAN_QOS_MAX - 1)
343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
344 struct ifla_vlan_qos_mapping {
345   __u32 from;
346   __u32 to;
347 };
348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
349 enum {
350   IFLA_MACVLAN_UNSPEC,
351   IFLA_MACVLAN_MODE,
352   IFLA_MACVLAN_FLAGS,
353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
354   IFLA_MACVLAN_MACADDR_MODE,
355   IFLA_MACVLAN_MACADDR,
356   IFLA_MACVLAN_MACADDR_DATA,
357   IFLA_MACVLAN_MACADDR_COUNT,
358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
359   __IFLA_MACVLAN_MAX,
360 };
361 #define IFLA_MACVLAN_MAX (__IFLA_MACVLAN_MAX - 1)
362 enum macvlan_mode {
363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
364   MACVLAN_MODE_PRIVATE = 1,
365   MACVLAN_MODE_VEPA = 2,
366   MACVLAN_MODE_BRIDGE = 4,
367   MACVLAN_MODE_PASSTHRU = 8,
368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
369   MACVLAN_MODE_SOURCE = 16,
370 };
371 enum macvlan_macaddr_mode {
372   MACVLAN_MACADDR_ADD,
373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
374   MACVLAN_MACADDR_DEL,
375   MACVLAN_MACADDR_FLUSH,
376   MACVLAN_MACADDR_SET,
377 };
378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
379 #define MACVLAN_FLAG_NOPROMISC 1
380 enum {
381   IFLA_VRF_UNSPEC,
382   IFLA_VRF_TABLE,
383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
384   __IFLA_VRF_MAX
385 };
386 #define IFLA_VRF_MAX (__IFLA_VRF_MAX - 1)
387 enum {
388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
389   IFLA_IPVLAN_UNSPEC,
390   IFLA_IPVLAN_MODE,
391   __IFLA_IPVLAN_MAX
392 };
393 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
394 #define IFLA_IPVLAN_MAX (__IFLA_IPVLAN_MAX - 1)
395 enum ipvlan_mode {
396   IPVLAN_MODE_L2 = 0,
397   IPVLAN_MODE_L3,
398 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
399   IPVLAN_MODE_MAX
400 };
401 enum {
402   IFLA_VXLAN_UNSPEC,
403 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
404   IFLA_VXLAN_ID,
405   IFLA_VXLAN_GROUP,
406   IFLA_VXLAN_LINK,
407   IFLA_VXLAN_LOCAL,
408 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
409   IFLA_VXLAN_TTL,
410   IFLA_VXLAN_TOS,
411   IFLA_VXLAN_LEARNING,
412   IFLA_VXLAN_AGEING,
413 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
414   IFLA_VXLAN_LIMIT,
415   IFLA_VXLAN_PORT_RANGE,
416   IFLA_VXLAN_PROXY,
417   IFLA_VXLAN_RSC,
418 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
419   IFLA_VXLAN_L2MISS,
420   IFLA_VXLAN_L3MISS,
421   IFLA_VXLAN_PORT,
422   IFLA_VXLAN_GROUP6,
423 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
424   IFLA_VXLAN_LOCAL6,
425   IFLA_VXLAN_UDP_CSUM,
426   IFLA_VXLAN_UDP_ZERO_CSUM6_TX,
427   IFLA_VXLAN_UDP_ZERO_CSUM6_RX,
428 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
429   IFLA_VXLAN_REMCSUM_TX,
430   IFLA_VXLAN_REMCSUM_RX,
431   IFLA_VXLAN_GBP,
432   IFLA_VXLAN_REMCSUM_NOPARTIAL,
433 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
434   IFLA_VXLAN_COLLECT_METADATA,
435   __IFLA_VXLAN_MAX
436 };
437 #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1)
438 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
439 struct ifla_vxlan_port_range {
440   __be16 low;
441   __be16 high;
442 };
443 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
444 enum {
445   IFLA_GENEVE_UNSPEC,
446   IFLA_GENEVE_ID,
447   IFLA_GENEVE_REMOTE,
448 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
449   IFLA_GENEVE_TTL,
450   IFLA_GENEVE_TOS,
451   IFLA_GENEVE_PORT,
452   IFLA_GENEVE_COLLECT_METADATA,
453 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
454   IFLA_GENEVE_REMOTE6,
455   __IFLA_GENEVE_MAX
456 };
457 #define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1)
458 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
459 enum {
460   IFLA_BOND_UNSPEC,
461   IFLA_BOND_MODE,
462   IFLA_BOND_ACTIVE_SLAVE,
463 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
464   IFLA_BOND_MIIMON,
465   IFLA_BOND_UPDELAY,
466   IFLA_BOND_DOWNDELAY,
467   IFLA_BOND_USE_CARRIER,
468 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
469   IFLA_BOND_ARP_INTERVAL,
470   IFLA_BOND_ARP_IP_TARGET,
471   IFLA_BOND_ARP_VALIDATE,
472   IFLA_BOND_ARP_ALL_TARGETS,
473 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
474   IFLA_BOND_PRIMARY,
475   IFLA_BOND_PRIMARY_RESELECT,
476   IFLA_BOND_FAIL_OVER_MAC,
477   IFLA_BOND_XMIT_HASH_POLICY,
478 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
479   IFLA_BOND_RESEND_IGMP,
480   IFLA_BOND_NUM_PEER_NOTIF,
481   IFLA_BOND_ALL_SLAVES_ACTIVE,
482   IFLA_BOND_MIN_LINKS,
483 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
484   IFLA_BOND_LP_INTERVAL,
485   IFLA_BOND_PACKETS_PER_SLAVE,
486   IFLA_BOND_AD_LACP_RATE,
487   IFLA_BOND_AD_SELECT,
488 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
489   IFLA_BOND_AD_INFO,
490   IFLA_BOND_AD_ACTOR_SYS_PRIO,
491   IFLA_BOND_AD_USER_PORT_KEY,
492   IFLA_BOND_AD_ACTOR_SYSTEM,
493 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
494   IFLA_BOND_TLB_DYNAMIC_LB,
495   __IFLA_BOND_MAX,
496 };
497 #define IFLA_BOND_MAX (__IFLA_BOND_MAX - 1)
498 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
499 enum {
500   IFLA_BOND_AD_INFO_UNSPEC,
501   IFLA_BOND_AD_INFO_AGGREGATOR,
502   IFLA_BOND_AD_INFO_NUM_PORTS,
503 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
504   IFLA_BOND_AD_INFO_ACTOR_KEY,
505   IFLA_BOND_AD_INFO_PARTNER_KEY,
506   IFLA_BOND_AD_INFO_PARTNER_MAC,
507   __IFLA_BOND_AD_INFO_MAX,
508 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
509 };
510 #define IFLA_BOND_AD_INFO_MAX (__IFLA_BOND_AD_INFO_MAX - 1)
511 enum {
512   IFLA_BOND_SLAVE_UNSPEC,
513 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
514   IFLA_BOND_SLAVE_STATE,
515   IFLA_BOND_SLAVE_MII_STATUS,
516   IFLA_BOND_SLAVE_LINK_FAILURE_COUNT,
517   IFLA_BOND_SLAVE_PERM_HWADDR,
518 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
519   IFLA_BOND_SLAVE_QUEUE_ID,
520   IFLA_BOND_SLAVE_AD_AGGREGATOR_ID,
521   IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE,
522   IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE,
523 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
524   __IFLA_BOND_SLAVE_MAX,
525 };
526 #define IFLA_BOND_SLAVE_MAX (__IFLA_BOND_SLAVE_MAX - 1)
527 enum {
528 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
529   IFLA_VF_INFO_UNSPEC,
530   IFLA_VF_INFO,
531   __IFLA_VF_INFO_MAX,
532 };
533 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
534 #define IFLA_VF_INFO_MAX (__IFLA_VF_INFO_MAX - 1)
535 enum {
536   IFLA_VF_UNSPEC,
537   IFLA_VF_MAC,
538 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
539   IFLA_VF_VLAN,
540   IFLA_VF_TX_RATE,
541   IFLA_VF_SPOOFCHK,
542   IFLA_VF_LINK_STATE,
543 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
544   IFLA_VF_RATE,
545   IFLA_VF_RSS_QUERY_EN,
546   IFLA_VF_STATS,
547   IFLA_VF_TRUST,
548 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
549   __IFLA_VF_MAX,
550 };
551 #define IFLA_VF_MAX (__IFLA_VF_MAX - 1)
552 struct ifla_vf_mac {
553 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
554   __u32 vf;
555   __u8 mac[32];
556 };
557 struct ifla_vf_vlan {
558 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
559   __u32 vf;
560   __u32 vlan;
561   __u32 qos;
562 };
563 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
564 struct ifla_vf_tx_rate {
565   __u32 vf;
566   __u32 rate;
567 };
568 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
569 struct ifla_vf_rate {
570   __u32 vf;
571   __u32 min_tx_rate;
572   __u32 max_tx_rate;
573 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
574 };
575 struct ifla_vf_spoofchk {
576   __u32 vf;
577   __u32 setting;
578 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
579 };
580 enum {
581   IFLA_VF_LINK_STATE_AUTO,
582   IFLA_VF_LINK_STATE_ENABLE,
583 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
584   IFLA_VF_LINK_STATE_DISABLE,
585   __IFLA_VF_LINK_STATE_MAX,
586 };
587 struct ifla_vf_link_state {
588 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
589   __u32 vf;
590   __u32 link_state;
591 };
592 struct ifla_vf_rss_query_en {
593 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
594   __u32 vf;
595   __u32 setting;
596 };
597 enum {
598 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
599   IFLA_VF_STATS_RX_PACKETS,
600   IFLA_VF_STATS_TX_PACKETS,
601   IFLA_VF_STATS_RX_BYTES,
602   IFLA_VF_STATS_TX_BYTES,
603 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
604   IFLA_VF_STATS_BROADCAST,
605   IFLA_VF_STATS_MULTICAST,
606   __IFLA_VF_STATS_MAX,
607 };
608 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
609 #define IFLA_VF_STATS_MAX (__IFLA_VF_STATS_MAX - 1)
610 struct ifla_vf_trust {
611   __u32 vf;
612   __u32 setting;
613 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
614 };
615 enum {
616   IFLA_VF_PORT_UNSPEC,
617   IFLA_VF_PORT,
618 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
619   __IFLA_VF_PORT_MAX,
620 };
621 #define IFLA_VF_PORT_MAX (__IFLA_VF_PORT_MAX - 1)
622 enum {
623 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
624   IFLA_PORT_UNSPEC,
625   IFLA_PORT_VF,
626   IFLA_PORT_PROFILE,
627   IFLA_PORT_VSI_TYPE,
628 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
629   IFLA_PORT_INSTANCE_UUID,
630   IFLA_PORT_HOST_UUID,
631   IFLA_PORT_REQUEST,
632   IFLA_PORT_RESPONSE,
633 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
634   __IFLA_PORT_MAX,
635 };
636 #define IFLA_PORT_MAX (__IFLA_PORT_MAX - 1)
637 #define PORT_PROFILE_MAX 40
638 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
639 #define PORT_UUID_MAX 16
640 #define PORT_SELF_VF - 1
641 enum {
642   PORT_REQUEST_PREASSOCIATE = 0,
643 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
644   PORT_REQUEST_PREASSOCIATE_RR,
645   PORT_REQUEST_ASSOCIATE,
646   PORT_REQUEST_DISASSOCIATE,
647 };
648 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
649 enum {
650   PORT_VDP_RESPONSE_SUCCESS = 0,
651   PORT_VDP_RESPONSE_INVALID_FORMAT,
652   PORT_VDP_RESPONSE_INSUFFICIENT_RESOURCES,
653 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
654   PORT_VDP_RESPONSE_UNUSED_VTID,
655   PORT_VDP_RESPONSE_VTID_VIOLATION,
656   PORT_VDP_RESPONSE_VTID_VERSION_VIOALTION,
657   PORT_VDP_RESPONSE_OUT_OF_SYNC,
658 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
659   PORT_PROFILE_RESPONSE_SUCCESS = 0x100,
660   PORT_PROFILE_RESPONSE_INPROGRESS,
661   PORT_PROFILE_RESPONSE_INVALID,
662   PORT_PROFILE_RESPONSE_BADSTATE,
663 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
664   PORT_PROFILE_RESPONSE_INSUFFICIENT_RESOURCES,
665   PORT_PROFILE_RESPONSE_ERROR,
666 };
667 struct ifla_port_vsi {
668 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
669   __u8 vsi_mgr_id;
670   __u8 vsi_type_id[3];
671   __u8 vsi_type_version;
672   __u8 pad[3];
673 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
674 };
675 enum {
676   IFLA_IPOIB_UNSPEC,
677   IFLA_IPOIB_PKEY,
678 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
679   IFLA_IPOIB_MODE,
680   IFLA_IPOIB_UMCAST,
681   __IFLA_IPOIB_MAX
682 };
683 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
684 enum {
685   IPOIB_MODE_DATAGRAM = 0,
686   IPOIB_MODE_CONNECTED = 1,
687 };
688 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
689 #define IFLA_IPOIB_MAX (__IFLA_IPOIB_MAX - 1)
690 enum {
691   IFLA_HSR_UNSPEC,
692   IFLA_HSR_SLAVE1,
693 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
694   IFLA_HSR_SLAVE2,
695   IFLA_HSR_MULTICAST_SPEC,
696   IFLA_HSR_SUPERVISION_ADDR,
697   IFLA_HSR_SEQ_NR,
698 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
699   __IFLA_HSR_MAX,
700 };
701 #define IFLA_HSR_MAX (__IFLA_HSR_MAX - 1)
702 #endif
703 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
704