]> git.proxmox.com Git - rustc.git/blob - vendor/linux-raw-sys-0.3.8/src/x32/netlink.rs
New upstream version 1.73.0+dfsg1
[rustc.git] / vendor / linux-raw-sys-0.3.8 / src / x32 / netlink.rs
1 /* automatically generated by rust-bindgen 0.59.2 */
2
3 #[repr(C)]
4 #[derive(Default)]
5 pub struct __IncompleteArrayField<T>(::core::marker::PhantomData<T>, [T; 0]);
6 impl<T> __IncompleteArrayField<T> {
7 #[inline]
8 pub const fn new() -> Self {
9 __IncompleteArrayField(::core::marker::PhantomData, [])
10 }
11 #[inline]
12 pub fn as_ptr(&self) -> *const T {
13 self as *const _ as *const T
14 }
15 #[inline]
16 pub fn as_mut_ptr(&mut self) -> *mut T {
17 self as *mut _ as *mut T
18 }
19 #[inline]
20 pub unsafe fn as_slice(&self, len: usize) -> &[T] {
21 ::core::slice::from_raw_parts(self.as_ptr(), len)
22 }
23 #[inline]
24 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
25 ::core::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
26 }
27 }
28 impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
29 fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
30 fmt.write_str("__IncompleteArrayField")
31 }
32 }
33 pub const LINUX_VERSION_CODE: u32 = 393984;
34 pub const LINUX_VERSION_MAJOR: u32 = 6;
35 pub const LINUX_VERSION_PATCHLEVEL: u32 = 3;
36 pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
37 pub const _K_SS_MAXSIZE: u32 = 128;
38 pub const SOCK_SNDBUF_LOCK: u32 = 1;
39 pub const SOCK_RCVBUF_LOCK: u32 = 2;
40 pub const SOCK_BUF_LOCK_MASK: u32 = 3;
41 pub const SOCK_TXREHASH_DEFAULT: u32 = 255;
42 pub const SOCK_TXREHASH_DISABLED: u32 = 0;
43 pub const SOCK_TXREHASH_ENABLED: u32 = 1;
44 pub const __BITS_PER_LONG: u32 = 32;
45 pub const __FD_SETSIZE: u32 = 1024;
46 pub const NETLINK_ROUTE: u32 = 0;
47 pub const NETLINK_UNUSED: u32 = 1;
48 pub const NETLINK_USERSOCK: u32 = 2;
49 pub const NETLINK_FIREWALL: u32 = 3;
50 pub const NETLINK_SOCK_DIAG: u32 = 4;
51 pub const NETLINK_NFLOG: u32 = 5;
52 pub const NETLINK_XFRM: u32 = 6;
53 pub const NETLINK_SELINUX: u32 = 7;
54 pub const NETLINK_ISCSI: u32 = 8;
55 pub const NETLINK_AUDIT: u32 = 9;
56 pub const NETLINK_FIB_LOOKUP: u32 = 10;
57 pub const NETLINK_CONNECTOR: u32 = 11;
58 pub const NETLINK_NETFILTER: u32 = 12;
59 pub const NETLINK_IP6_FW: u32 = 13;
60 pub const NETLINK_DNRTMSG: u32 = 14;
61 pub const NETLINK_KOBJECT_UEVENT: u32 = 15;
62 pub const NETLINK_GENERIC: u32 = 16;
63 pub const NETLINK_SCSITRANSPORT: u32 = 18;
64 pub const NETLINK_ECRYPTFS: u32 = 19;
65 pub const NETLINK_RDMA: u32 = 20;
66 pub const NETLINK_CRYPTO: u32 = 21;
67 pub const NETLINK_SMC: u32 = 22;
68 pub const NETLINK_INET_DIAG: u32 = 4;
69 pub const MAX_LINKS: u32 = 32;
70 pub const NLM_F_REQUEST: u32 = 1;
71 pub const NLM_F_MULTI: u32 = 2;
72 pub const NLM_F_ACK: u32 = 4;
73 pub const NLM_F_ECHO: u32 = 8;
74 pub const NLM_F_DUMP_INTR: u32 = 16;
75 pub const NLM_F_DUMP_FILTERED: u32 = 32;
76 pub const NLM_F_ROOT: u32 = 256;
77 pub const NLM_F_MATCH: u32 = 512;
78 pub const NLM_F_ATOMIC: u32 = 1024;
79 pub const NLM_F_DUMP: u32 = 768;
80 pub const NLM_F_REPLACE: u32 = 256;
81 pub const NLM_F_EXCL: u32 = 512;
82 pub const NLM_F_CREATE: u32 = 1024;
83 pub const NLM_F_APPEND: u32 = 2048;
84 pub const NLM_F_NONREC: u32 = 256;
85 pub const NLM_F_BULK: u32 = 512;
86 pub const NLM_F_CAPPED: u32 = 256;
87 pub const NLM_F_ACK_TLVS: u32 = 512;
88 pub const NLMSG_ALIGNTO: u32 = 4;
89 pub const NLMSG_NOOP: u32 = 1;
90 pub const NLMSG_ERROR: u32 = 2;
91 pub const NLMSG_DONE: u32 = 3;
92 pub const NLMSG_OVERRUN: u32 = 4;
93 pub const NLMSG_MIN_TYPE: u32 = 16;
94 pub const NETLINK_ADD_MEMBERSHIP: u32 = 1;
95 pub const NETLINK_DROP_MEMBERSHIP: u32 = 2;
96 pub const NETLINK_PKTINFO: u32 = 3;
97 pub const NETLINK_BROADCAST_ERROR: u32 = 4;
98 pub const NETLINK_NO_ENOBUFS: u32 = 5;
99 pub const NETLINK_RX_RING: u32 = 6;
100 pub const NETLINK_TX_RING: u32 = 7;
101 pub const NETLINK_LISTEN_ALL_NSID: u32 = 8;
102 pub const NETLINK_LIST_MEMBERSHIPS: u32 = 9;
103 pub const NETLINK_CAP_ACK: u32 = 10;
104 pub const NETLINK_EXT_ACK: u32 = 11;
105 pub const NETLINK_GET_STRICT_CHK: u32 = 12;
106 pub const NL_MMAP_MSG_ALIGNMENT: u32 = 4;
107 pub const NET_MAJOR: u32 = 36;
108 pub const NLA_F_NESTED: u32 = 32768;
109 pub const NLA_F_NET_BYTEORDER: u32 = 16384;
110 pub const NLA_TYPE_MASK: i32 = -49153;
111 pub const NLA_ALIGNTO: u32 = 4;
112 pub const MACVLAN_FLAG_NOPROMISC: u32 = 1;
113 pub const MACVLAN_FLAG_NODST: u32 = 2;
114 pub const IPVLAN_F_PRIVATE: u32 = 1;
115 pub const IPVLAN_F_VEPA: u32 = 2;
116 pub const TUNNEL_MSG_FLAG_STATS: u32 = 1;
117 pub const TUNNEL_MSG_VALID_USER_FLAGS: u32 = 1;
118 pub const MAX_VLAN_LIST_LEN: u32 = 1;
119 pub const PORT_PROFILE_MAX: u32 = 40;
120 pub const PORT_UUID_MAX: u32 = 16;
121 pub const PORT_SELF_VF: i32 = -1;
122 pub const XDP_FLAGS_UPDATE_IF_NOEXIST: u32 = 1;
123 pub const XDP_FLAGS_SKB_MODE: u32 = 2;
124 pub const XDP_FLAGS_DRV_MODE: u32 = 4;
125 pub const XDP_FLAGS_HW_MODE: u32 = 8;
126 pub const XDP_FLAGS_REPLACE: u32 = 16;
127 pub const XDP_FLAGS_MODES: u32 = 14;
128 pub const XDP_FLAGS_MASK: u32 = 31;
129 pub const RMNET_FLAGS_INGRESS_DEAGGREGATION: u32 = 1;
130 pub const RMNET_FLAGS_INGRESS_MAP_COMMANDS: u32 = 2;
131 pub const RMNET_FLAGS_INGRESS_MAP_CKSUMV4: u32 = 4;
132 pub const RMNET_FLAGS_EGRESS_MAP_CKSUMV4: u32 = 8;
133 pub const RMNET_FLAGS_INGRESS_MAP_CKSUMV5: u32 = 16;
134 pub const RMNET_FLAGS_EGRESS_MAP_CKSUMV5: u32 = 32;
135 pub const IFA_F_SECONDARY: u32 = 1;
136 pub const IFA_F_TEMPORARY: u32 = 1;
137 pub const IFA_F_NODAD: u32 = 2;
138 pub const IFA_F_OPTIMISTIC: u32 = 4;
139 pub const IFA_F_DADFAILED: u32 = 8;
140 pub const IFA_F_HOMEADDRESS: u32 = 16;
141 pub const IFA_F_DEPRECATED: u32 = 32;
142 pub const IFA_F_TENTATIVE: u32 = 64;
143 pub const IFA_F_PERMANENT: u32 = 128;
144 pub const IFA_F_MANAGETEMPADDR: u32 = 256;
145 pub const IFA_F_NOPREFIXROUTE: u32 = 512;
146 pub const IFA_F_MCAUTOJOIN: u32 = 1024;
147 pub const IFA_F_STABLE_PRIVACY: u32 = 2048;
148 pub const IFAPROT_UNSPEC: u32 = 0;
149 pub const IFAPROT_KERNEL_LO: u32 = 1;
150 pub const IFAPROT_KERNEL_RA: u32 = 2;
151 pub const IFAPROT_KERNEL_LL: u32 = 3;
152 pub const NTF_USE: u32 = 1;
153 pub const NTF_SELF: u32 = 2;
154 pub const NTF_MASTER: u32 = 4;
155 pub const NTF_PROXY: u32 = 8;
156 pub const NTF_EXT_LEARNED: u32 = 16;
157 pub const NTF_OFFLOADED: u32 = 32;
158 pub const NTF_STICKY: u32 = 64;
159 pub const NTF_ROUTER: u32 = 128;
160 pub const NTF_EXT_MANAGED: u32 = 1;
161 pub const NTF_EXT_LOCKED: u32 = 2;
162 pub const NUD_INCOMPLETE: u32 = 1;
163 pub const NUD_REACHABLE: u32 = 2;
164 pub const NUD_STALE: u32 = 4;
165 pub const NUD_DELAY: u32 = 8;
166 pub const NUD_PROBE: u32 = 16;
167 pub const NUD_FAILED: u32 = 32;
168 pub const NUD_NOARP: u32 = 64;
169 pub const NUD_PERMANENT: u32 = 128;
170 pub const NUD_NONE: u32 = 0;
171 pub const RTNL_FAMILY_IPMR: u32 = 128;
172 pub const RTNL_FAMILY_IP6MR: u32 = 129;
173 pub const RTNL_FAMILY_MAX: u32 = 129;
174 pub const RTA_ALIGNTO: u32 = 4;
175 pub const RTPROT_UNSPEC: u32 = 0;
176 pub const RTPROT_REDIRECT: u32 = 1;
177 pub const RTPROT_KERNEL: u32 = 2;
178 pub const RTPROT_BOOT: u32 = 3;
179 pub const RTPROT_STATIC: u32 = 4;
180 pub const RTPROT_GATED: u32 = 8;
181 pub const RTPROT_RA: u32 = 9;
182 pub const RTPROT_MRT: u32 = 10;
183 pub const RTPROT_ZEBRA: u32 = 11;
184 pub const RTPROT_BIRD: u32 = 12;
185 pub const RTPROT_DNROUTED: u32 = 13;
186 pub const RTPROT_XORP: u32 = 14;
187 pub const RTPROT_NTK: u32 = 15;
188 pub const RTPROT_DHCP: u32 = 16;
189 pub const RTPROT_MROUTED: u32 = 17;
190 pub const RTPROT_KEEPALIVED: u32 = 18;
191 pub const RTPROT_BABEL: u32 = 42;
192 pub const RTPROT_OPENR: u32 = 99;
193 pub const RTPROT_BGP: u32 = 186;
194 pub const RTPROT_ISIS: u32 = 187;
195 pub const RTPROT_OSPF: u32 = 188;
196 pub const RTPROT_RIP: u32 = 189;
197 pub const RTPROT_EIGRP: u32 = 192;
198 pub const RTM_F_NOTIFY: u32 = 256;
199 pub const RTM_F_CLONED: u32 = 512;
200 pub const RTM_F_EQUALIZE: u32 = 1024;
201 pub const RTM_F_PREFIX: u32 = 2048;
202 pub const RTM_F_LOOKUP_TABLE: u32 = 4096;
203 pub const RTM_F_FIB_MATCH: u32 = 8192;
204 pub const RTM_F_OFFLOAD: u32 = 16384;
205 pub const RTM_F_TRAP: u32 = 32768;
206 pub const RTM_F_OFFLOAD_FAILED: u32 = 536870912;
207 pub const RTNH_F_DEAD: u32 = 1;
208 pub const RTNH_F_PERVASIVE: u32 = 2;
209 pub const RTNH_F_ONLINK: u32 = 4;
210 pub const RTNH_F_OFFLOAD: u32 = 8;
211 pub const RTNH_F_LINKDOWN: u32 = 16;
212 pub const RTNH_F_UNRESOLVED: u32 = 32;
213 pub const RTNH_F_TRAP: u32 = 64;
214 pub const RTNH_COMPARE_MASK: u32 = 89;
215 pub const RTNH_ALIGNTO: u32 = 4;
216 pub const RTNETLINK_HAVE_PEERINFO: u32 = 1;
217 pub const RTAX_FEATURE_ECN: u32 = 1;
218 pub const RTAX_FEATURE_SACK: u32 = 2;
219 pub const RTAX_FEATURE_TIMESTAMP: u32 = 4;
220 pub const RTAX_FEATURE_ALLFRAG: u32 = 8;
221 pub const RTAX_FEATURE_MASK: u32 = 15;
222 pub const TCM_IFINDEX_MAGIC_BLOCK: u32 = 4294967295;
223 pub const TCA_DUMP_FLAGS_TERSE: u32 = 1;
224 pub const RTMGRP_LINK: u32 = 1;
225 pub const RTMGRP_NOTIFY: u32 = 2;
226 pub const RTMGRP_NEIGH: u32 = 4;
227 pub const RTMGRP_TC: u32 = 8;
228 pub const RTMGRP_IPV4_IFADDR: u32 = 16;
229 pub const RTMGRP_IPV4_MROUTE: u32 = 32;
230 pub const RTMGRP_IPV4_ROUTE: u32 = 64;
231 pub const RTMGRP_IPV4_RULE: u32 = 128;
232 pub const RTMGRP_IPV6_IFADDR: u32 = 256;
233 pub const RTMGRP_IPV6_MROUTE: u32 = 512;
234 pub const RTMGRP_IPV6_ROUTE: u32 = 1024;
235 pub const RTMGRP_IPV6_IFINFO: u32 = 2048;
236 pub const RTMGRP_DECnet_IFADDR: u32 = 4096;
237 pub const RTMGRP_DECnet_ROUTE: u32 = 16384;
238 pub const RTMGRP_IPV6_PREFIX: u32 = 131072;
239 pub const TCA_FLAG_LARGE_DUMP_ON: u32 = 1;
240 pub const TCA_ACT_FLAG_LARGE_DUMP_ON: u32 = 1;
241 pub const TCA_ACT_FLAG_TERSE_DUMP: u32 = 2;
242 pub const RTEXT_FILTER_VF: u32 = 1;
243 pub const RTEXT_FILTER_BRVLAN: u32 = 2;
244 pub const RTEXT_FILTER_BRVLAN_COMPRESSED: u32 = 4;
245 pub const RTEXT_FILTER_SKIP_STATS: u32 = 8;
246 pub const RTEXT_FILTER_MRP: u32 = 16;
247 pub const RTEXT_FILTER_CFM_CONFIG: u32 = 32;
248 pub const RTEXT_FILTER_CFM_STATUS: u32 = 64;
249 pub const RTEXT_FILTER_MST: u32 = 128;
250 pub type size_t = crate::ctypes::c_uint;
251 pub type ssize_t = crate::ctypes::c_int;
252 pub type __kernel_sa_family_t = crate::ctypes::c_ushort;
253 #[repr(C)]
254 #[derive(Copy, Clone)]
255 pub struct __kernel_sockaddr_storage {
256 pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1,
257 }
258 #[repr(C)]
259 #[derive(Copy, Clone)]
260 pub union __kernel_sockaddr_storage__bindgen_ty_1 {
261 pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1,
262 pub __align: *mut crate::ctypes::c_void,
263 }
264 #[repr(C)]
265 #[derive(Debug, Copy, Clone)]
266 pub struct __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1 {
267 pub ss_family: __kernel_sa_family_t,
268 pub __data: [crate::ctypes::c_char; 126usize],
269 }
270 pub type __s8 = crate::ctypes::c_schar;
271 pub type __u8 = crate::ctypes::c_uchar;
272 pub type __s16 = crate::ctypes::c_short;
273 pub type __u16 = crate::ctypes::c_ushort;
274 pub type __s32 = crate::ctypes::c_int;
275 pub type __u32 = crate::ctypes::c_uint;
276 pub type __s64 = crate::ctypes::c_longlong;
277 pub type __u64 = crate::ctypes::c_ulonglong;
278 #[repr(C)]
279 #[derive(Debug, Copy, Clone)]
280 pub struct __kernel_fd_set {
281 pub fds_bits: [crate::ctypes::c_ulong; 32usize],
282 }
283 pub type __kernel_sighandler_t = ::core::option::Option<unsafe extern "C" fn(arg1: crate::ctypes::c_int)>;
284 pub type __kernel_key_t = crate::ctypes::c_int;
285 pub type __kernel_mqd_t = crate::ctypes::c_int;
286 pub type __kernel_long_t = crate::ctypes::c_longlong;
287 pub type __kernel_ulong_t = crate::ctypes::c_ulonglong;
288 pub type __kernel_old_uid_t = crate::ctypes::c_ushort;
289 pub type __kernel_old_gid_t = crate::ctypes::c_ushort;
290 pub type __kernel_old_dev_t = crate::ctypes::c_ulong;
291 pub type __kernel_ino_t = __kernel_ulong_t;
292 pub type __kernel_mode_t = crate::ctypes::c_uint;
293 pub type __kernel_pid_t = crate::ctypes::c_int;
294 pub type __kernel_ipc_pid_t = crate::ctypes::c_int;
295 pub type __kernel_uid_t = crate::ctypes::c_uint;
296 pub type __kernel_gid_t = crate::ctypes::c_uint;
297 pub type __kernel_suseconds_t = __kernel_long_t;
298 pub type __kernel_daddr_t = crate::ctypes::c_int;
299 pub type __kernel_uid32_t = crate::ctypes::c_uint;
300 pub type __kernel_gid32_t = crate::ctypes::c_uint;
301 pub type __kernel_size_t = crate::ctypes::c_uint;
302 pub type __kernel_ssize_t = crate::ctypes::c_int;
303 pub type __kernel_ptrdiff_t = crate::ctypes::c_int;
304 #[repr(C)]
305 #[derive(Debug, Copy, Clone)]
306 pub struct __kernel_fsid_t {
307 pub val: [crate::ctypes::c_int; 2usize],
308 }
309 pub type __kernel_off_t = __kernel_long_t;
310 pub type __kernel_loff_t = crate::ctypes::c_longlong;
311 pub type __kernel_old_time_t = __kernel_long_t;
312 pub type __kernel_time_t = __kernel_long_t;
313 pub type __kernel_time64_t = crate::ctypes::c_longlong;
314 pub type __kernel_clock_t = __kernel_long_t;
315 pub type __kernel_timer_t = crate::ctypes::c_int;
316 pub type __kernel_clockid_t = crate::ctypes::c_int;
317 pub type __kernel_caddr_t = *mut crate::ctypes::c_char;
318 pub type __kernel_uid16_t = crate::ctypes::c_ushort;
319 pub type __kernel_gid16_t = crate::ctypes::c_ushort;
320 pub type __le16 = __u16;
321 pub type __be16 = __u16;
322 pub type __le32 = __u32;
323 pub type __be32 = __u32;
324 pub type __le64 = __u64;
325 pub type __be64 = __u64;
326 pub type __sum16 = __u16;
327 pub type __wsum = __u32;
328 pub type __poll_t = crate::ctypes::c_uint;
329 #[repr(C)]
330 #[derive(Debug, Copy, Clone)]
331 pub struct sockaddr_nl {
332 pub nl_family: __kernel_sa_family_t,
333 pub nl_pad: crate::ctypes::c_ushort,
334 pub nl_pid: __u32,
335 pub nl_groups: __u32,
336 }
337 #[repr(C)]
338 #[derive(Debug, Copy, Clone)]
339 pub struct nlmsghdr {
340 pub nlmsg_len: __u32,
341 pub nlmsg_type: __u16,
342 pub nlmsg_flags: __u16,
343 pub nlmsg_seq: __u32,
344 pub nlmsg_pid: __u32,
345 }
346 #[repr(C)]
347 #[derive(Debug, Copy, Clone)]
348 pub struct nlmsgerr {
349 pub error: crate::ctypes::c_int,
350 pub msg: nlmsghdr,
351 }
352 impl nlmsgerr_attrs {
353 pub const NLMSGERR_ATTR_MAX: nlmsgerr_attrs = nlmsgerr_attrs::NLMSGERR_ATTR_MISS_NEST;
354 }
355 #[repr(u32)]
356 #[non_exhaustive]
357 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
358 pub enum nlmsgerr_attrs {
359 NLMSGERR_ATTR_UNUSED = 0,
360 NLMSGERR_ATTR_MSG = 1,
361 NLMSGERR_ATTR_OFFS = 2,
362 NLMSGERR_ATTR_COOKIE = 3,
363 NLMSGERR_ATTR_POLICY = 4,
364 NLMSGERR_ATTR_MISS_TYPE = 5,
365 NLMSGERR_ATTR_MISS_NEST = 6,
366 __NLMSGERR_ATTR_MAX = 7,
367 }
368 #[repr(C)]
369 #[derive(Debug, Copy, Clone)]
370 pub struct nl_pktinfo {
371 pub group: __u32,
372 }
373 #[repr(C)]
374 #[derive(Debug, Copy, Clone)]
375 pub struct nl_mmap_req {
376 pub nm_block_size: crate::ctypes::c_uint,
377 pub nm_block_nr: crate::ctypes::c_uint,
378 pub nm_frame_size: crate::ctypes::c_uint,
379 pub nm_frame_nr: crate::ctypes::c_uint,
380 }
381 #[repr(C)]
382 #[derive(Debug, Copy, Clone)]
383 pub struct nl_mmap_hdr {
384 pub nm_status: crate::ctypes::c_uint,
385 pub nm_len: crate::ctypes::c_uint,
386 pub nm_group: __u32,
387 pub nm_pid: __u32,
388 pub nm_uid: __u32,
389 pub nm_gid: __u32,
390 }
391 #[repr(u32)]
392 #[non_exhaustive]
393 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
394 pub enum nl_mmap_status {
395 NL_MMAP_STATUS_UNUSED = 0,
396 NL_MMAP_STATUS_RESERVED = 1,
397 NL_MMAP_STATUS_VALID = 2,
398 NL_MMAP_STATUS_COPY = 3,
399 NL_MMAP_STATUS_SKIP = 4,
400 }
401 pub const NETLINK_UNCONNECTED: _bindgen_ty_1 = _bindgen_ty_1::NETLINK_UNCONNECTED;
402 pub const NETLINK_CONNECTED: _bindgen_ty_1 = _bindgen_ty_1::NETLINK_CONNECTED;
403 #[repr(u32)]
404 #[non_exhaustive]
405 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
406 pub enum _bindgen_ty_1 {
407 NETLINK_UNCONNECTED = 0,
408 NETLINK_CONNECTED = 1,
409 }
410 #[repr(C)]
411 #[derive(Debug, Copy, Clone)]
412 pub struct nlattr {
413 pub nla_len: __u16,
414 pub nla_type: __u16,
415 }
416 #[repr(C)]
417 #[derive(Debug, Copy, Clone)]
418 pub struct nla_bitfield32 {
419 pub value: __u32,
420 pub selector: __u32,
421 }
422 #[repr(u32)]
423 #[non_exhaustive]
424 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
425 pub enum netlink_attribute_type {
426 NL_ATTR_TYPE_INVALID = 0,
427 NL_ATTR_TYPE_FLAG = 1,
428 NL_ATTR_TYPE_U8 = 2,
429 NL_ATTR_TYPE_U16 = 3,
430 NL_ATTR_TYPE_U32 = 4,
431 NL_ATTR_TYPE_U64 = 5,
432 NL_ATTR_TYPE_S8 = 6,
433 NL_ATTR_TYPE_S16 = 7,
434 NL_ATTR_TYPE_S32 = 8,
435 NL_ATTR_TYPE_S64 = 9,
436 NL_ATTR_TYPE_BINARY = 10,
437 NL_ATTR_TYPE_STRING = 11,
438 NL_ATTR_TYPE_NUL_STRING = 12,
439 NL_ATTR_TYPE_NESTED = 13,
440 NL_ATTR_TYPE_NESTED_ARRAY = 14,
441 NL_ATTR_TYPE_BITFIELD32 = 15,
442 }
443 impl netlink_policy_type_attr {
444 pub const NL_POLICY_TYPE_ATTR_MAX: netlink_policy_type_attr = netlink_policy_type_attr::NL_POLICY_TYPE_ATTR_MASK;
445 }
446 #[repr(u32)]
447 #[non_exhaustive]
448 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
449 pub enum netlink_policy_type_attr {
450 NL_POLICY_TYPE_ATTR_UNSPEC = 0,
451 NL_POLICY_TYPE_ATTR_TYPE = 1,
452 NL_POLICY_TYPE_ATTR_MIN_VALUE_S = 2,
453 NL_POLICY_TYPE_ATTR_MAX_VALUE_S = 3,
454 NL_POLICY_TYPE_ATTR_MIN_VALUE_U = 4,
455 NL_POLICY_TYPE_ATTR_MAX_VALUE_U = 5,
456 NL_POLICY_TYPE_ATTR_MIN_LENGTH = 6,
457 NL_POLICY_TYPE_ATTR_MAX_LENGTH = 7,
458 NL_POLICY_TYPE_ATTR_POLICY_IDX = 8,
459 NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE = 9,
460 NL_POLICY_TYPE_ATTR_BITFIELD32_MASK = 10,
461 NL_POLICY_TYPE_ATTR_PAD = 11,
462 NL_POLICY_TYPE_ATTR_MASK = 12,
463 __NL_POLICY_TYPE_ATTR_MAX = 13,
464 }
465 #[repr(C)]
466 #[derive(Debug, Copy, Clone)]
467 pub struct rtnl_link_stats {
468 pub rx_packets: __u32,
469 pub tx_packets: __u32,
470 pub rx_bytes: __u32,
471 pub tx_bytes: __u32,
472 pub rx_errors: __u32,
473 pub tx_errors: __u32,
474 pub rx_dropped: __u32,
475 pub tx_dropped: __u32,
476 pub multicast: __u32,
477 pub collisions: __u32,
478 pub rx_length_errors: __u32,
479 pub rx_over_errors: __u32,
480 pub rx_crc_errors: __u32,
481 pub rx_frame_errors: __u32,
482 pub rx_fifo_errors: __u32,
483 pub rx_missed_errors: __u32,
484 pub tx_aborted_errors: __u32,
485 pub tx_carrier_errors: __u32,
486 pub tx_fifo_errors: __u32,
487 pub tx_heartbeat_errors: __u32,
488 pub tx_window_errors: __u32,
489 pub rx_compressed: __u32,
490 pub tx_compressed: __u32,
491 pub rx_nohandler: __u32,
492 }
493 #[repr(C)]
494 #[derive(Debug, Copy, Clone)]
495 pub struct rtnl_link_stats64 {
496 pub rx_packets: __u64,
497 pub tx_packets: __u64,
498 pub rx_bytes: __u64,
499 pub tx_bytes: __u64,
500 pub rx_errors: __u64,
501 pub tx_errors: __u64,
502 pub rx_dropped: __u64,
503 pub tx_dropped: __u64,
504 pub multicast: __u64,
505 pub collisions: __u64,
506 pub rx_length_errors: __u64,
507 pub rx_over_errors: __u64,
508 pub rx_crc_errors: __u64,
509 pub rx_frame_errors: __u64,
510 pub rx_fifo_errors: __u64,
511 pub rx_missed_errors: __u64,
512 pub tx_aborted_errors: __u64,
513 pub tx_carrier_errors: __u64,
514 pub tx_fifo_errors: __u64,
515 pub tx_heartbeat_errors: __u64,
516 pub tx_window_errors: __u64,
517 pub rx_compressed: __u64,
518 pub tx_compressed: __u64,
519 pub rx_nohandler: __u64,
520 pub rx_otherhost_dropped: __u64,
521 }
522 #[repr(C)]
523 #[derive(Debug, Copy, Clone)]
524 pub struct rtnl_hw_stats64 {
525 pub rx_packets: __u64,
526 pub tx_packets: __u64,
527 pub rx_bytes: __u64,
528 pub tx_bytes: __u64,
529 pub rx_errors: __u64,
530 pub tx_errors: __u64,
531 pub rx_dropped: __u64,
532 pub tx_dropped: __u64,
533 pub multicast: __u64,
534 }
535 #[repr(C)]
536 #[derive(Debug, Copy, Clone)]
537 pub struct rtnl_link_ifmap {
538 pub mem_start: __u64,
539 pub mem_end: __u64,
540 pub base_addr: __u64,
541 pub irq: __u16,
542 pub dma: __u8,
543 pub port: __u8,
544 }
545 pub const IFLA_UNSPEC: _bindgen_ty_2 = _bindgen_ty_2::IFLA_UNSPEC;
546 pub const IFLA_ADDRESS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_ADDRESS;
547 pub const IFLA_BROADCAST: _bindgen_ty_2 = _bindgen_ty_2::IFLA_BROADCAST;
548 pub const IFLA_IFNAME: _bindgen_ty_2 = _bindgen_ty_2::IFLA_IFNAME;
549 pub const IFLA_MTU: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MTU;
550 pub const IFLA_LINK: _bindgen_ty_2 = _bindgen_ty_2::IFLA_LINK;
551 pub const IFLA_QDISC: _bindgen_ty_2 = _bindgen_ty_2::IFLA_QDISC;
552 pub const IFLA_STATS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_STATS;
553 pub const IFLA_COST: _bindgen_ty_2 = _bindgen_ty_2::IFLA_COST;
554 pub const IFLA_PRIORITY: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PRIORITY;
555 pub const IFLA_MASTER: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MASTER;
556 pub const IFLA_WIRELESS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_WIRELESS;
557 pub const IFLA_PROTINFO: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PROTINFO;
558 pub const IFLA_TXQLEN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TXQLEN;
559 pub const IFLA_MAP: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAP;
560 pub const IFLA_WEIGHT: _bindgen_ty_2 = _bindgen_ty_2::IFLA_WEIGHT;
561 pub const IFLA_OPERSTATE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_OPERSTATE;
562 pub const IFLA_LINKMODE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_LINKMODE;
563 pub const IFLA_LINKINFO: _bindgen_ty_2 = _bindgen_ty_2::IFLA_LINKINFO;
564 pub const IFLA_NET_NS_PID: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NET_NS_PID;
565 pub const IFLA_IFALIAS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_IFALIAS;
566 pub const IFLA_NUM_VF: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NUM_VF;
567 pub const IFLA_VFINFO_LIST: _bindgen_ty_2 = _bindgen_ty_2::IFLA_VFINFO_LIST;
568 pub const IFLA_STATS64: _bindgen_ty_2 = _bindgen_ty_2::IFLA_STATS64;
569 pub const IFLA_VF_PORTS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_VF_PORTS;
570 pub const IFLA_PORT_SELF: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PORT_SELF;
571 pub const IFLA_AF_SPEC: _bindgen_ty_2 = _bindgen_ty_2::IFLA_AF_SPEC;
572 pub const IFLA_GROUP: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GROUP;
573 pub const IFLA_NET_NS_FD: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NET_NS_FD;
574 pub const IFLA_EXT_MASK: _bindgen_ty_2 = _bindgen_ty_2::IFLA_EXT_MASK;
575 pub const IFLA_PROMISCUITY: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PROMISCUITY;
576 pub const IFLA_NUM_TX_QUEUES: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NUM_TX_QUEUES;
577 pub const IFLA_NUM_RX_QUEUES: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NUM_RX_QUEUES;
578 pub const IFLA_CARRIER: _bindgen_ty_2 = _bindgen_ty_2::IFLA_CARRIER;
579 pub const IFLA_PHYS_PORT_ID: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PHYS_PORT_ID;
580 pub const IFLA_CARRIER_CHANGES: _bindgen_ty_2 = _bindgen_ty_2::IFLA_CARRIER_CHANGES;
581 pub const IFLA_PHYS_SWITCH_ID: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PHYS_SWITCH_ID;
582 pub const IFLA_LINK_NETNSID: _bindgen_ty_2 = _bindgen_ty_2::IFLA_LINK_NETNSID;
583 pub const IFLA_PHYS_PORT_NAME: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PHYS_PORT_NAME;
584 pub const IFLA_PROTO_DOWN: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PROTO_DOWN;
585 pub const IFLA_GSO_MAX_SEGS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GSO_MAX_SEGS;
586 pub const IFLA_GSO_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GSO_MAX_SIZE;
587 pub const IFLA_PAD: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PAD;
588 pub const IFLA_XDP: _bindgen_ty_2 = _bindgen_ty_2::IFLA_XDP;
589 pub const IFLA_EVENT: _bindgen_ty_2 = _bindgen_ty_2::IFLA_EVENT;
590 pub const IFLA_NEW_NETNSID: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NEW_NETNSID;
591 pub const IFLA_IF_NETNSID: _bindgen_ty_2 = _bindgen_ty_2::IFLA_IF_NETNSID;
592 pub const IFLA_TARGET_NETNSID: _bindgen_ty_2 = _bindgen_ty_2::IFLA_IF_NETNSID;
593 pub const IFLA_CARRIER_UP_COUNT: _bindgen_ty_2 = _bindgen_ty_2::IFLA_CARRIER_UP_COUNT;
594 pub const IFLA_CARRIER_DOWN_COUNT: _bindgen_ty_2 = _bindgen_ty_2::IFLA_CARRIER_DOWN_COUNT;
595 pub const IFLA_NEW_IFINDEX: _bindgen_ty_2 = _bindgen_ty_2::IFLA_NEW_IFINDEX;
596 pub const IFLA_MIN_MTU: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MIN_MTU;
597 pub const IFLA_MAX_MTU: _bindgen_ty_2 = _bindgen_ty_2::IFLA_MAX_MTU;
598 pub const IFLA_PROP_LIST: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PROP_LIST;
599 pub const IFLA_ALT_IFNAME: _bindgen_ty_2 = _bindgen_ty_2::IFLA_ALT_IFNAME;
600 pub const IFLA_PERM_ADDRESS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PERM_ADDRESS;
601 pub const IFLA_PROTO_DOWN_REASON: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PROTO_DOWN_REASON;
602 pub const IFLA_PARENT_DEV_NAME: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PARENT_DEV_NAME;
603 pub const IFLA_PARENT_DEV_BUS_NAME: _bindgen_ty_2 = _bindgen_ty_2::IFLA_PARENT_DEV_BUS_NAME;
604 pub const IFLA_GRO_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_MAX_SIZE;
605 pub const IFLA_TSO_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TSO_MAX_SIZE;
606 pub const IFLA_TSO_MAX_SEGS: _bindgen_ty_2 = _bindgen_ty_2::IFLA_TSO_MAX_SEGS;
607 pub const IFLA_ALLMULTI: _bindgen_ty_2 = _bindgen_ty_2::IFLA_ALLMULTI;
608 pub const IFLA_DEVLINK_PORT: _bindgen_ty_2 = _bindgen_ty_2::IFLA_DEVLINK_PORT;
609 pub const IFLA_GSO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GSO_IPV4_MAX_SIZE;
610 pub const IFLA_GRO_IPV4_MAX_SIZE: _bindgen_ty_2 = _bindgen_ty_2::IFLA_GRO_IPV4_MAX_SIZE;
611 pub const __IFLA_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IFLA_MAX;
612 #[repr(u32)]
613 #[non_exhaustive]
614 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
615 pub enum _bindgen_ty_2 {
616 IFLA_UNSPEC = 0,
617 IFLA_ADDRESS = 1,
618 IFLA_BROADCAST = 2,
619 IFLA_IFNAME = 3,
620 IFLA_MTU = 4,
621 IFLA_LINK = 5,
622 IFLA_QDISC = 6,
623 IFLA_STATS = 7,
624 IFLA_COST = 8,
625 IFLA_PRIORITY = 9,
626 IFLA_MASTER = 10,
627 IFLA_WIRELESS = 11,
628 IFLA_PROTINFO = 12,
629 IFLA_TXQLEN = 13,
630 IFLA_MAP = 14,
631 IFLA_WEIGHT = 15,
632 IFLA_OPERSTATE = 16,
633 IFLA_LINKMODE = 17,
634 IFLA_LINKINFO = 18,
635 IFLA_NET_NS_PID = 19,
636 IFLA_IFALIAS = 20,
637 IFLA_NUM_VF = 21,
638 IFLA_VFINFO_LIST = 22,
639 IFLA_STATS64 = 23,
640 IFLA_VF_PORTS = 24,
641 IFLA_PORT_SELF = 25,
642 IFLA_AF_SPEC = 26,
643 IFLA_GROUP = 27,
644 IFLA_NET_NS_FD = 28,
645 IFLA_EXT_MASK = 29,
646 IFLA_PROMISCUITY = 30,
647 IFLA_NUM_TX_QUEUES = 31,
648 IFLA_NUM_RX_QUEUES = 32,
649 IFLA_CARRIER = 33,
650 IFLA_PHYS_PORT_ID = 34,
651 IFLA_CARRIER_CHANGES = 35,
652 IFLA_PHYS_SWITCH_ID = 36,
653 IFLA_LINK_NETNSID = 37,
654 IFLA_PHYS_PORT_NAME = 38,
655 IFLA_PROTO_DOWN = 39,
656 IFLA_GSO_MAX_SEGS = 40,
657 IFLA_GSO_MAX_SIZE = 41,
658 IFLA_PAD = 42,
659 IFLA_XDP = 43,
660 IFLA_EVENT = 44,
661 IFLA_NEW_NETNSID = 45,
662 IFLA_IF_NETNSID = 46,
663 IFLA_CARRIER_UP_COUNT = 47,
664 IFLA_CARRIER_DOWN_COUNT = 48,
665 IFLA_NEW_IFINDEX = 49,
666 IFLA_MIN_MTU = 50,
667 IFLA_MAX_MTU = 51,
668 IFLA_PROP_LIST = 52,
669 IFLA_ALT_IFNAME = 53,
670 IFLA_PERM_ADDRESS = 54,
671 IFLA_PROTO_DOWN_REASON = 55,
672 IFLA_PARENT_DEV_NAME = 56,
673 IFLA_PARENT_DEV_BUS_NAME = 57,
674 IFLA_GRO_MAX_SIZE = 58,
675 IFLA_TSO_MAX_SIZE = 59,
676 IFLA_TSO_MAX_SEGS = 60,
677 IFLA_ALLMULTI = 61,
678 IFLA_DEVLINK_PORT = 62,
679 IFLA_GSO_IPV4_MAX_SIZE = 63,
680 IFLA_GRO_IPV4_MAX_SIZE = 64,
681 __IFLA_MAX = 65,
682 }
683 pub const IFLA_PROTO_DOWN_REASON_UNSPEC: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_UNSPEC;
684 pub const IFLA_PROTO_DOWN_REASON_MASK: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_MASK;
685 pub const IFLA_PROTO_DOWN_REASON_VALUE: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_VALUE;
686 pub const __IFLA_PROTO_DOWN_REASON_CNT: _bindgen_ty_3 = _bindgen_ty_3::__IFLA_PROTO_DOWN_REASON_CNT;
687 pub const IFLA_PROTO_DOWN_REASON_MAX: _bindgen_ty_3 = _bindgen_ty_3::IFLA_PROTO_DOWN_REASON_VALUE;
688 #[repr(u32)]
689 #[non_exhaustive]
690 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
691 pub enum _bindgen_ty_3 {
692 IFLA_PROTO_DOWN_REASON_UNSPEC = 0,
693 IFLA_PROTO_DOWN_REASON_MASK = 1,
694 IFLA_PROTO_DOWN_REASON_VALUE = 2,
695 __IFLA_PROTO_DOWN_REASON_CNT = 3,
696 }
697 pub const IFLA_INET_UNSPEC: _bindgen_ty_4 = _bindgen_ty_4::IFLA_INET_UNSPEC;
698 pub const IFLA_INET_CONF: _bindgen_ty_4 = _bindgen_ty_4::IFLA_INET_CONF;
699 pub const __IFLA_INET_MAX: _bindgen_ty_4 = _bindgen_ty_4::__IFLA_INET_MAX;
700 #[repr(u32)]
701 #[non_exhaustive]
702 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
703 pub enum _bindgen_ty_4 {
704 IFLA_INET_UNSPEC = 0,
705 IFLA_INET_CONF = 1,
706 __IFLA_INET_MAX = 2,
707 }
708 pub const IFLA_INET6_UNSPEC: _bindgen_ty_5 = _bindgen_ty_5::IFLA_INET6_UNSPEC;
709 pub const IFLA_INET6_FLAGS: _bindgen_ty_5 = _bindgen_ty_5::IFLA_INET6_FLAGS;
710 pub const IFLA_INET6_CONF: _bindgen_ty_5 = _bindgen_ty_5::IFLA_INET6_CONF;
711 pub const IFLA_INET6_STATS: _bindgen_ty_5 = _bindgen_ty_5::IFLA_INET6_STATS;
712 pub const IFLA_INET6_MCAST: _bindgen_ty_5 = _bindgen_ty_5::IFLA_INET6_MCAST;
713 pub const IFLA_INET6_CACHEINFO: _bindgen_ty_5 = _bindgen_ty_5::IFLA_INET6_CACHEINFO;
714 pub const IFLA_INET6_ICMP6STATS: _bindgen_ty_5 = _bindgen_ty_5::IFLA_INET6_ICMP6STATS;
715 pub const IFLA_INET6_TOKEN: _bindgen_ty_5 = _bindgen_ty_5::IFLA_INET6_TOKEN;
716 pub const IFLA_INET6_ADDR_GEN_MODE: _bindgen_ty_5 = _bindgen_ty_5::IFLA_INET6_ADDR_GEN_MODE;
717 pub const IFLA_INET6_RA_MTU: _bindgen_ty_5 = _bindgen_ty_5::IFLA_INET6_RA_MTU;
718 pub const __IFLA_INET6_MAX: _bindgen_ty_5 = _bindgen_ty_5::__IFLA_INET6_MAX;
719 #[repr(u32)]
720 #[non_exhaustive]
721 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
722 pub enum _bindgen_ty_5 {
723 IFLA_INET6_UNSPEC = 0,
724 IFLA_INET6_FLAGS = 1,
725 IFLA_INET6_CONF = 2,
726 IFLA_INET6_STATS = 3,
727 IFLA_INET6_MCAST = 4,
728 IFLA_INET6_CACHEINFO = 5,
729 IFLA_INET6_ICMP6STATS = 6,
730 IFLA_INET6_TOKEN = 7,
731 IFLA_INET6_ADDR_GEN_MODE = 8,
732 IFLA_INET6_RA_MTU = 9,
733 __IFLA_INET6_MAX = 10,
734 }
735 #[repr(u32)]
736 #[non_exhaustive]
737 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
738 pub enum in6_addr_gen_mode {
739 IN6_ADDR_GEN_MODE_EUI64 = 0,
740 IN6_ADDR_GEN_MODE_NONE = 1,
741 IN6_ADDR_GEN_MODE_STABLE_PRIVACY = 2,
742 IN6_ADDR_GEN_MODE_RANDOM = 3,
743 }
744 pub const IFLA_BR_UNSPEC: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_UNSPEC;
745 pub const IFLA_BR_FORWARD_DELAY: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_FORWARD_DELAY;
746 pub const IFLA_BR_HELLO_TIME: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_HELLO_TIME;
747 pub const IFLA_BR_MAX_AGE: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MAX_AGE;
748 pub const IFLA_BR_AGEING_TIME: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_AGEING_TIME;
749 pub const IFLA_BR_STP_STATE: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_STP_STATE;
750 pub const IFLA_BR_PRIORITY: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_PRIORITY;
751 pub const IFLA_BR_VLAN_FILTERING: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_VLAN_FILTERING;
752 pub const IFLA_BR_VLAN_PROTOCOL: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_VLAN_PROTOCOL;
753 pub const IFLA_BR_GROUP_FWD_MASK: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_GROUP_FWD_MASK;
754 pub const IFLA_BR_ROOT_ID: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_ROOT_ID;
755 pub const IFLA_BR_BRIDGE_ID: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_BRIDGE_ID;
756 pub const IFLA_BR_ROOT_PORT: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_ROOT_PORT;
757 pub const IFLA_BR_ROOT_PATH_COST: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_ROOT_PATH_COST;
758 pub const IFLA_BR_TOPOLOGY_CHANGE: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_TOPOLOGY_CHANGE;
759 pub const IFLA_BR_TOPOLOGY_CHANGE_DETECTED: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_TOPOLOGY_CHANGE_DETECTED;
760 pub const IFLA_BR_HELLO_TIMER: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_HELLO_TIMER;
761 pub const IFLA_BR_TCN_TIMER: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_TCN_TIMER;
762 pub const IFLA_BR_TOPOLOGY_CHANGE_TIMER: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_TOPOLOGY_CHANGE_TIMER;
763 pub const IFLA_BR_GC_TIMER: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_GC_TIMER;
764 pub const IFLA_BR_GROUP_ADDR: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_GROUP_ADDR;
765 pub const IFLA_BR_FDB_FLUSH: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_FDB_FLUSH;
766 pub const IFLA_BR_MCAST_ROUTER: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_ROUTER;
767 pub const IFLA_BR_MCAST_SNOOPING: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_SNOOPING;
768 pub const IFLA_BR_MCAST_QUERY_USE_IFADDR: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_QUERY_USE_IFADDR;
769 pub const IFLA_BR_MCAST_QUERIER: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_QUERIER;
770 pub const IFLA_BR_MCAST_HASH_ELASTICITY: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_HASH_ELASTICITY;
771 pub const IFLA_BR_MCAST_HASH_MAX: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_HASH_MAX;
772 pub const IFLA_BR_MCAST_LAST_MEMBER_CNT: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_LAST_MEMBER_CNT;
773 pub const IFLA_BR_MCAST_STARTUP_QUERY_CNT: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_STARTUP_QUERY_CNT;
774 pub const IFLA_BR_MCAST_LAST_MEMBER_INTVL: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_LAST_MEMBER_INTVL;
775 pub const IFLA_BR_MCAST_MEMBERSHIP_INTVL: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_MEMBERSHIP_INTVL;
776 pub const IFLA_BR_MCAST_QUERIER_INTVL: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_QUERIER_INTVL;
777 pub const IFLA_BR_MCAST_QUERY_INTVL: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_QUERY_INTVL;
778 pub const IFLA_BR_MCAST_QUERY_RESPONSE_INTVL: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_QUERY_RESPONSE_INTVL;
779 pub const IFLA_BR_MCAST_STARTUP_QUERY_INTVL: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_STARTUP_QUERY_INTVL;
780 pub const IFLA_BR_NF_CALL_IPTABLES: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_NF_CALL_IPTABLES;
781 pub const IFLA_BR_NF_CALL_IP6TABLES: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_NF_CALL_IP6TABLES;
782 pub const IFLA_BR_NF_CALL_ARPTABLES: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_NF_CALL_ARPTABLES;
783 pub const IFLA_BR_VLAN_DEFAULT_PVID: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_VLAN_DEFAULT_PVID;
784 pub const IFLA_BR_PAD: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_PAD;
785 pub const IFLA_BR_VLAN_STATS_ENABLED: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_VLAN_STATS_ENABLED;
786 pub const IFLA_BR_MCAST_STATS_ENABLED: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_STATS_ENABLED;
787 pub const IFLA_BR_MCAST_IGMP_VERSION: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_IGMP_VERSION;
788 pub const IFLA_BR_MCAST_MLD_VERSION: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_MLD_VERSION;
789 pub const IFLA_BR_VLAN_STATS_PER_PORT: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_VLAN_STATS_PER_PORT;
790 pub const IFLA_BR_MULTI_BOOLOPT: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MULTI_BOOLOPT;
791 pub const IFLA_BR_MCAST_QUERIER_STATE: _bindgen_ty_6 = _bindgen_ty_6::IFLA_BR_MCAST_QUERIER_STATE;
792 pub const __IFLA_BR_MAX: _bindgen_ty_6 = _bindgen_ty_6::__IFLA_BR_MAX;
793 #[repr(u32)]
794 #[non_exhaustive]
795 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
796 pub enum _bindgen_ty_6 {
797 IFLA_BR_UNSPEC = 0,
798 IFLA_BR_FORWARD_DELAY = 1,
799 IFLA_BR_HELLO_TIME = 2,
800 IFLA_BR_MAX_AGE = 3,
801 IFLA_BR_AGEING_TIME = 4,
802 IFLA_BR_STP_STATE = 5,
803 IFLA_BR_PRIORITY = 6,
804 IFLA_BR_VLAN_FILTERING = 7,
805 IFLA_BR_VLAN_PROTOCOL = 8,
806 IFLA_BR_GROUP_FWD_MASK = 9,
807 IFLA_BR_ROOT_ID = 10,
808 IFLA_BR_BRIDGE_ID = 11,
809 IFLA_BR_ROOT_PORT = 12,
810 IFLA_BR_ROOT_PATH_COST = 13,
811 IFLA_BR_TOPOLOGY_CHANGE = 14,
812 IFLA_BR_TOPOLOGY_CHANGE_DETECTED = 15,
813 IFLA_BR_HELLO_TIMER = 16,
814 IFLA_BR_TCN_TIMER = 17,
815 IFLA_BR_TOPOLOGY_CHANGE_TIMER = 18,
816 IFLA_BR_GC_TIMER = 19,
817 IFLA_BR_GROUP_ADDR = 20,
818 IFLA_BR_FDB_FLUSH = 21,
819 IFLA_BR_MCAST_ROUTER = 22,
820 IFLA_BR_MCAST_SNOOPING = 23,
821 IFLA_BR_MCAST_QUERY_USE_IFADDR = 24,
822 IFLA_BR_MCAST_QUERIER = 25,
823 IFLA_BR_MCAST_HASH_ELASTICITY = 26,
824 IFLA_BR_MCAST_HASH_MAX = 27,
825 IFLA_BR_MCAST_LAST_MEMBER_CNT = 28,
826 IFLA_BR_MCAST_STARTUP_QUERY_CNT = 29,
827 IFLA_BR_MCAST_LAST_MEMBER_INTVL = 30,
828 IFLA_BR_MCAST_MEMBERSHIP_INTVL = 31,
829 IFLA_BR_MCAST_QUERIER_INTVL = 32,
830 IFLA_BR_MCAST_QUERY_INTVL = 33,
831 IFLA_BR_MCAST_QUERY_RESPONSE_INTVL = 34,
832 IFLA_BR_MCAST_STARTUP_QUERY_INTVL = 35,
833 IFLA_BR_NF_CALL_IPTABLES = 36,
834 IFLA_BR_NF_CALL_IP6TABLES = 37,
835 IFLA_BR_NF_CALL_ARPTABLES = 38,
836 IFLA_BR_VLAN_DEFAULT_PVID = 39,
837 IFLA_BR_PAD = 40,
838 IFLA_BR_VLAN_STATS_ENABLED = 41,
839 IFLA_BR_MCAST_STATS_ENABLED = 42,
840 IFLA_BR_MCAST_IGMP_VERSION = 43,
841 IFLA_BR_MCAST_MLD_VERSION = 44,
842 IFLA_BR_VLAN_STATS_PER_PORT = 45,
843 IFLA_BR_MULTI_BOOLOPT = 46,
844 IFLA_BR_MCAST_QUERIER_STATE = 47,
845 __IFLA_BR_MAX = 48,
846 }
847 #[repr(C)]
848 #[derive(Debug, Copy, Clone)]
849 pub struct ifla_bridge_id {
850 pub prio: [__u8; 2usize],
851 pub addr: [__u8; 6usize],
852 }
853 pub const BRIDGE_MODE_UNSPEC: _bindgen_ty_7 = _bindgen_ty_7::BRIDGE_MODE_UNSPEC;
854 pub const BRIDGE_MODE_HAIRPIN: _bindgen_ty_7 = _bindgen_ty_7::BRIDGE_MODE_HAIRPIN;
855 #[repr(u32)]
856 #[non_exhaustive]
857 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
858 pub enum _bindgen_ty_7 {
859 BRIDGE_MODE_UNSPEC = 0,
860 BRIDGE_MODE_HAIRPIN = 1,
861 }
862 pub const IFLA_BRPORT_UNSPEC: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_UNSPEC;
863 pub const IFLA_BRPORT_STATE: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_STATE;
864 pub const IFLA_BRPORT_PRIORITY: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_PRIORITY;
865 pub const IFLA_BRPORT_COST: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_COST;
866 pub const IFLA_BRPORT_MODE: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MODE;
867 pub const IFLA_BRPORT_GUARD: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_GUARD;
868 pub const IFLA_BRPORT_PROTECT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_PROTECT;
869 pub const IFLA_BRPORT_FAST_LEAVE: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_FAST_LEAVE;
870 pub const IFLA_BRPORT_LEARNING: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_LEARNING;
871 pub const IFLA_BRPORT_UNICAST_FLOOD: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_UNICAST_FLOOD;
872 pub const IFLA_BRPORT_PROXYARP: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_PROXYARP;
873 pub const IFLA_BRPORT_LEARNING_SYNC: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_LEARNING_SYNC;
874 pub const IFLA_BRPORT_PROXYARP_WIFI: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_PROXYARP_WIFI;
875 pub const IFLA_BRPORT_ROOT_ID: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_ROOT_ID;
876 pub const IFLA_BRPORT_BRIDGE_ID: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_BRIDGE_ID;
877 pub const IFLA_BRPORT_DESIGNATED_PORT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_DESIGNATED_PORT;
878 pub const IFLA_BRPORT_DESIGNATED_COST: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_DESIGNATED_COST;
879 pub const IFLA_BRPORT_ID: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_ID;
880 pub const IFLA_BRPORT_NO: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_NO;
881 pub const IFLA_BRPORT_TOPOLOGY_CHANGE_ACK: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_TOPOLOGY_CHANGE_ACK;
882 pub const IFLA_BRPORT_CONFIG_PENDING: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_CONFIG_PENDING;
883 pub const IFLA_BRPORT_MESSAGE_AGE_TIMER: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MESSAGE_AGE_TIMER;
884 pub const IFLA_BRPORT_FORWARD_DELAY_TIMER: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_FORWARD_DELAY_TIMER;
885 pub const IFLA_BRPORT_HOLD_TIMER: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_HOLD_TIMER;
886 pub const IFLA_BRPORT_FLUSH: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_FLUSH;
887 pub const IFLA_BRPORT_MULTICAST_ROUTER: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MULTICAST_ROUTER;
888 pub const IFLA_BRPORT_PAD: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_PAD;
889 pub const IFLA_BRPORT_MCAST_FLOOD: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_FLOOD;
890 pub const IFLA_BRPORT_MCAST_TO_UCAST: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_TO_UCAST;
891 pub const IFLA_BRPORT_VLAN_TUNNEL: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_VLAN_TUNNEL;
892 pub const IFLA_BRPORT_BCAST_FLOOD: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_BCAST_FLOOD;
893 pub const IFLA_BRPORT_GROUP_FWD_MASK: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_GROUP_FWD_MASK;
894 pub const IFLA_BRPORT_NEIGH_SUPPRESS: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_NEIGH_SUPPRESS;
895 pub const IFLA_BRPORT_ISOLATED: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_ISOLATED;
896 pub const IFLA_BRPORT_BACKUP_PORT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_BACKUP_PORT;
897 pub const IFLA_BRPORT_MRP_RING_OPEN: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MRP_RING_OPEN;
898 pub const IFLA_BRPORT_MRP_IN_OPEN: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MRP_IN_OPEN;
899 pub const IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT;
900 pub const IFLA_BRPORT_MCAST_EHT_HOSTS_CNT: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_EHT_HOSTS_CNT;
901 pub const IFLA_BRPORT_LOCKED: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_LOCKED;
902 pub const IFLA_BRPORT_MAB: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MAB;
903 pub const IFLA_BRPORT_MCAST_N_GROUPS: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_N_GROUPS;
904 pub const IFLA_BRPORT_MCAST_MAX_GROUPS: _bindgen_ty_8 = _bindgen_ty_8::IFLA_BRPORT_MCAST_MAX_GROUPS;
905 pub const __IFLA_BRPORT_MAX: _bindgen_ty_8 = _bindgen_ty_8::__IFLA_BRPORT_MAX;
906 #[repr(u32)]
907 #[non_exhaustive]
908 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
909 pub enum _bindgen_ty_8 {
910 IFLA_BRPORT_UNSPEC = 0,
911 IFLA_BRPORT_STATE = 1,
912 IFLA_BRPORT_PRIORITY = 2,
913 IFLA_BRPORT_COST = 3,
914 IFLA_BRPORT_MODE = 4,
915 IFLA_BRPORT_GUARD = 5,
916 IFLA_BRPORT_PROTECT = 6,
917 IFLA_BRPORT_FAST_LEAVE = 7,
918 IFLA_BRPORT_LEARNING = 8,
919 IFLA_BRPORT_UNICAST_FLOOD = 9,
920 IFLA_BRPORT_PROXYARP = 10,
921 IFLA_BRPORT_LEARNING_SYNC = 11,
922 IFLA_BRPORT_PROXYARP_WIFI = 12,
923 IFLA_BRPORT_ROOT_ID = 13,
924 IFLA_BRPORT_BRIDGE_ID = 14,
925 IFLA_BRPORT_DESIGNATED_PORT = 15,
926 IFLA_BRPORT_DESIGNATED_COST = 16,
927 IFLA_BRPORT_ID = 17,
928 IFLA_BRPORT_NO = 18,
929 IFLA_BRPORT_TOPOLOGY_CHANGE_ACK = 19,
930 IFLA_BRPORT_CONFIG_PENDING = 20,
931 IFLA_BRPORT_MESSAGE_AGE_TIMER = 21,
932 IFLA_BRPORT_FORWARD_DELAY_TIMER = 22,
933 IFLA_BRPORT_HOLD_TIMER = 23,
934 IFLA_BRPORT_FLUSH = 24,
935 IFLA_BRPORT_MULTICAST_ROUTER = 25,
936 IFLA_BRPORT_PAD = 26,
937 IFLA_BRPORT_MCAST_FLOOD = 27,
938 IFLA_BRPORT_MCAST_TO_UCAST = 28,
939 IFLA_BRPORT_VLAN_TUNNEL = 29,
940 IFLA_BRPORT_BCAST_FLOOD = 30,
941 IFLA_BRPORT_GROUP_FWD_MASK = 31,
942 IFLA_BRPORT_NEIGH_SUPPRESS = 32,
943 IFLA_BRPORT_ISOLATED = 33,
944 IFLA_BRPORT_BACKUP_PORT = 34,
945 IFLA_BRPORT_MRP_RING_OPEN = 35,
946 IFLA_BRPORT_MRP_IN_OPEN = 36,
947 IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT = 37,
948 IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = 38,
949 IFLA_BRPORT_LOCKED = 39,
950 IFLA_BRPORT_MAB = 40,
951 IFLA_BRPORT_MCAST_N_GROUPS = 41,
952 IFLA_BRPORT_MCAST_MAX_GROUPS = 42,
953 __IFLA_BRPORT_MAX = 43,
954 }
955 #[repr(C)]
956 #[derive(Debug, Copy, Clone)]
957 pub struct ifla_cacheinfo {
958 pub max_reasm_len: __u32,
959 pub tstamp: __u32,
960 pub reachable_time: __u32,
961 pub retrans_time: __u32,
962 }
963 pub const IFLA_INFO_UNSPEC: _bindgen_ty_9 = _bindgen_ty_9::IFLA_INFO_UNSPEC;
964 pub const IFLA_INFO_KIND: _bindgen_ty_9 = _bindgen_ty_9::IFLA_INFO_KIND;
965 pub const IFLA_INFO_DATA: _bindgen_ty_9 = _bindgen_ty_9::IFLA_INFO_DATA;
966 pub const IFLA_INFO_XSTATS: _bindgen_ty_9 = _bindgen_ty_9::IFLA_INFO_XSTATS;
967 pub const IFLA_INFO_SLAVE_KIND: _bindgen_ty_9 = _bindgen_ty_9::IFLA_INFO_SLAVE_KIND;
968 pub const IFLA_INFO_SLAVE_DATA: _bindgen_ty_9 = _bindgen_ty_9::IFLA_INFO_SLAVE_DATA;
969 pub const __IFLA_INFO_MAX: _bindgen_ty_9 = _bindgen_ty_9::__IFLA_INFO_MAX;
970 #[repr(u32)]
971 #[non_exhaustive]
972 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
973 pub enum _bindgen_ty_9 {
974 IFLA_INFO_UNSPEC = 0,
975 IFLA_INFO_KIND = 1,
976 IFLA_INFO_DATA = 2,
977 IFLA_INFO_XSTATS = 3,
978 IFLA_INFO_SLAVE_KIND = 4,
979 IFLA_INFO_SLAVE_DATA = 5,
980 __IFLA_INFO_MAX = 6,
981 }
982 pub const IFLA_VLAN_UNSPEC: _bindgen_ty_10 = _bindgen_ty_10::IFLA_VLAN_UNSPEC;
983 pub const IFLA_VLAN_ID: _bindgen_ty_10 = _bindgen_ty_10::IFLA_VLAN_ID;
984 pub const IFLA_VLAN_FLAGS: _bindgen_ty_10 = _bindgen_ty_10::IFLA_VLAN_FLAGS;
985 pub const IFLA_VLAN_EGRESS_QOS: _bindgen_ty_10 = _bindgen_ty_10::IFLA_VLAN_EGRESS_QOS;
986 pub const IFLA_VLAN_INGRESS_QOS: _bindgen_ty_10 = _bindgen_ty_10::IFLA_VLAN_INGRESS_QOS;
987 pub const IFLA_VLAN_PROTOCOL: _bindgen_ty_10 = _bindgen_ty_10::IFLA_VLAN_PROTOCOL;
988 pub const __IFLA_VLAN_MAX: _bindgen_ty_10 = _bindgen_ty_10::__IFLA_VLAN_MAX;
989 #[repr(u32)]
990 #[non_exhaustive]
991 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
992 pub enum _bindgen_ty_10 {
993 IFLA_VLAN_UNSPEC = 0,
994 IFLA_VLAN_ID = 1,
995 IFLA_VLAN_FLAGS = 2,
996 IFLA_VLAN_EGRESS_QOS = 3,
997 IFLA_VLAN_INGRESS_QOS = 4,
998 IFLA_VLAN_PROTOCOL = 5,
999 __IFLA_VLAN_MAX = 6,
1000 }
1001 #[repr(C)]
1002 #[derive(Debug, Copy, Clone)]
1003 pub struct ifla_vlan_flags {
1004 pub flags: __u32,
1005 pub mask: __u32,
1006 }
1007 pub const IFLA_VLAN_QOS_UNSPEC: _bindgen_ty_11 = _bindgen_ty_11::IFLA_VLAN_QOS_UNSPEC;
1008 pub const IFLA_VLAN_QOS_MAPPING: _bindgen_ty_11 = _bindgen_ty_11::IFLA_VLAN_QOS_MAPPING;
1009 pub const __IFLA_VLAN_QOS_MAX: _bindgen_ty_11 = _bindgen_ty_11::__IFLA_VLAN_QOS_MAX;
1010 #[repr(u32)]
1011 #[non_exhaustive]
1012 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1013 pub enum _bindgen_ty_11 {
1014 IFLA_VLAN_QOS_UNSPEC = 0,
1015 IFLA_VLAN_QOS_MAPPING = 1,
1016 __IFLA_VLAN_QOS_MAX = 2,
1017 }
1018 #[repr(C)]
1019 #[derive(Debug, Copy, Clone)]
1020 pub struct ifla_vlan_qos_mapping {
1021 pub from: __u32,
1022 pub to: __u32,
1023 }
1024 pub const IFLA_MACVLAN_UNSPEC: _bindgen_ty_12 = _bindgen_ty_12::IFLA_MACVLAN_UNSPEC;
1025 pub const IFLA_MACVLAN_MODE: _bindgen_ty_12 = _bindgen_ty_12::IFLA_MACVLAN_MODE;
1026 pub const IFLA_MACVLAN_FLAGS: _bindgen_ty_12 = _bindgen_ty_12::IFLA_MACVLAN_FLAGS;
1027 pub const IFLA_MACVLAN_MACADDR_MODE: _bindgen_ty_12 = _bindgen_ty_12::IFLA_MACVLAN_MACADDR_MODE;
1028 pub const IFLA_MACVLAN_MACADDR: _bindgen_ty_12 = _bindgen_ty_12::IFLA_MACVLAN_MACADDR;
1029 pub const IFLA_MACVLAN_MACADDR_DATA: _bindgen_ty_12 = _bindgen_ty_12::IFLA_MACVLAN_MACADDR_DATA;
1030 pub const IFLA_MACVLAN_MACADDR_COUNT: _bindgen_ty_12 = _bindgen_ty_12::IFLA_MACVLAN_MACADDR_COUNT;
1031 pub const IFLA_MACVLAN_BC_QUEUE_LEN: _bindgen_ty_12 = _bindgen_ty_12::IFLA_MACVLAN_BC_QUEUE_LEN;
1032 pub const IFLA_MACVLAN_BC_QUEUE_LEN_USED: _bindgen_ty_12 = _bindgen_ty_12::IFLA_MACVLAN_BC_QUEUE_LEN_USED;
1033 pub const __IFLA_MACVLAN_MAX: _bindgen_ty_12 = _bindgen_ty_12::__IFLA_MACVLAN_MAX;
1034 #[repr(u32)]
1035 #[non_exhaustive]
1036 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1037 pub enum _bindgen_ty_12 {
1038 IFLA_MACVLAN_UNSPEC = 0,
1039 IFLA_MACVLAN_MODE = 1,
1040 IFLA_MACVLAN_FLAGS = 2,
1041 IFLA_MACVLAN_MACADDR_MODE = 3,
1042 IFLA_MACVLAN_MACADDR = 4,
1043 IFLA_MACVLAN_MACADDR_DATA = 5,
1044 IFLA_MACVLAN_MACADDR_COUNT = 6,
1045 IFLA_MACVLAN_BC_QUEUE_LEN = 7,
1046 IFLA_MACVLAN_BC_QUEUE_LEN_USED = 8,
1047 __IFLA_MACVLAN_MAX = 9,
1048 }
1049 #[repr(u32)]
1050 #[non_exhaustive]
1051 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1052 pub enum macvlan_mode {
1053 MACVLAN_MODE_PRIVATE = 1,
1054 MACVLAN_MODE_VEPA = 2,
1055 MACVLAN_MODE_BRIDGE = 4,
1056 MACVLAN_MODE_PASSTHRU = 8,
1057 MACVLAN_MODE_SOURCE = 16,
1058 }
1059 #[repr(u32)]
1060 #[non_exhaustive]
1061 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1062 pub enum macvlan_macaddr_mode {
1063 MACVLAN_MACADDR_ADD = 0,
1064 MACVLAN_MACADDR_DEL = 1,
1065 MACVLAN_MACADDR_FLUSH = 2,
1066 MACVLAN_MACADDR_SET = 3,
1067 }
1068 pub const IFLA_VRF_UNSPEC: _bindgen_ty_13 = _bindgen_ty_13::IFLA_VRF_UNSPEC;
1069 pub const IFLA_VRF_TABLE: _bindgen_ty_13 = _bindgen_ty_13::IFLA_VRF_TABLE;
1070 pub const __IFLA_VRF_MAX: _bindgen_ty_13 = _bindgen_ty_13::__IFLA_VRF_MAX;
1071 #[repr(u32)]
1072 #[non_exhaustive]
1073 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1074 pub enum _bindgen_ty_13 {
1075 IFLA_VRF_UNSPEC = 0,
1076 IFLA_VRF_TABLE = 1,
1077 __IFLA_VRF_MAX = 2,
1078 }
1079 pub const IFLA_VRF_PORT_UNSPEC: _bindgen_ty_14 = _bindgen_ty_14::IFLA_VRF_PORT_UNSPEC;
1080 pub const IFLA_VRF_PORT_TABLE: _bindgen_ty_14 = _bindgen_ty_14::IFLA_VRF_PORT_TABLE;
1081 pub const __IFLA_VRF_PORT_MAX: _bindgen_ty_14 = _bindgen_ty_14::__IFLA_VRF_PORT_MAX;
1082 #[repr(u32)]
1083 #[non_exhaustive]
1084 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1085 pub enum _bindgen_ty_14 {
1086 IFLA_VRF_PORT_UNSPEC = 0,
1087 IFLA_VRF_PORT_TABLE = 1,
1088 __IFLA_VRF_PORT_MAX = 2,
1089 }
1090 pub const IFLA_MACSEC_UNSPEC: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_UNSPEC;
1091 pub const IFLA_MACSEC_SCI: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_SCI;
1092 pub const IFLA_MACSEC_PORT: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_PORT;
1093 pub const IFLA_MACSEC_ICV_LEN: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_ICV_LEN;
1094 pub const IFLA_MACSEC_CIPHER_SUITE: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_CIPHER_SUITE;
1095 pub const IFLA_MACSEC_WINDOW: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_WINDOW;
1096 pub const IFLA_MACSEC_ENCODING_SA: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_ENCODING_SA;
1097 pub const IFLA_MACSEC_ENCRYPT: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_ENCRYPT;
1098 pub const IFLA_MACSEC_PROTECT: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_PROTECT;
1099 pub const IFLA_MACSEC_INC_SCI: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_INC_SCI;
1100 pub const IFLA_MACSEC_ES: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_ES;
1101 pub const IFLA_MACSEC_SCB: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_SCB;
1102 pub const IFLA_MACSEC_REPLAY_PROTECT: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_REPLAY_PROTECT;
1103 pub const IFLA_MACSEC_VALIDATION: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_VALIDATION;
1104 pub const IFLA_MACSEC_PAD: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_PAD;
1105 pub const IFLA_MACSEC_OFFLOAD: _bindgen_ty_15 = _bindgen_ty_15::IFLA_MACSEC_OFFLOAD;
1106 pub const __IFLA_MACSEC_MAX: _bindgen_ty_15 = _bindgen_ty_15::__IFLA_MACSEC_MAX;
1107 #[repr(u32)]
1108 #[non_exhaustive]
1109 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1110 pub enum _bindgen_ty_15 {
1111 IFLA_MACSEC_UNSPEC = 0,
1112 IFLA_MACSEC_SCI = 1,
1113 IFLA_MACSEC_PORT = 2,
1114 IFLA_MACSEC_ICV_LEN = 3,
1115 IFLA_MACSEC_CIPHER_SUITE = 4,
1116 IFLA_MACSEC_WINDOW = 5,
1117 IFLA_MACSEC_ENCODING_SA = 6,
1118 IFLA_MACSEC_ENCRYPT = 7,
1119 IFLA_MACSEC_PROTECT = 8,
1120 IFLA_MACSEC_INC_SCI = 9,
1121 IFLA_MACSEC_ES = 10,
1122 IFLA_MACSEC_SCB = 11,
1123 IFLA_MACSEC_REPLAY_PROTECT = 12,
1124 IFLA_MACSEC_VALIDATION = 13,
1125 IFLA_MACSEC_PAD = 14,
1126 IFLA_MACSEC_OFFLOAD = 15,
1127 __IFLA_MACSEC_MAX = 16,
1128 }
1129 pub const IFLA_XFRM_UNSPEC: _bindgen_ty_16 = _bindgen_ty_16::IFLA_XFRM_UNSPEC;
1130 pub const IFLA_XFRM_LINK: _bindgen_ty_16 = _bindgen_ty_16::IFLA_XFRM_LINK;
1131 pub const IFLA_XFRM_IF_ID: _bindgen_ty_16 = _bindgen_ty_16::IFLA_XFRM_IF_ID;
1132 pub const IFLA_XFRM_COLLECT_METADATA: _bindgen_ty_16 = _bindgen_ty_16::IFLA_XFRM_COLLECT_METADATA;
1133 pub const __IFLA_XFRM_MAX: _bindgen_ty_16 = _bindgen_ty_16::__IFLA_XFRM_MAX;
1134 #[repr(u32)]
1135 #[non_exhaustive]
1136 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1137 pub enum _bindgen_ty_16 {
1138 IFLA_XFRM_UNSPEC = 0,
1139 IFLA_XFRM_LINK = 1,
1140 IFLA_XFRM_IF_ID = 2,
1141 IFLA_XFRM_COLLECT_METADATA = 3,
1142 __IFLA_XFRM_MAX = 4,
1143 }
1144 impl macsec_validation_type {
1145 pub const MACSEC_VALIDATE_MAX: macsec_validation_type = macsec_validation_type::MACSEC_VALIDATE_STRICT;
1146 }
1147 #[repr(u32)]
1148 #[non_exhaustive]
1149 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1150 pub enum macsec_validation_type {
1151 MACSEC_VALIDATE_DISABLED = 0,
1152 MACSEC_VALIDATE_CHECK = 1,
1153 MACSEC_VALIDATE_STRICT = 2,
1154 __MACSEC_VALIDATE_END = 3,
1155 }
1156 impl macsec_offload {
1157 pub const MACSEC_OFFLOAD_MAX: macsec_offload = macsec_offload::MACSEC_OFFLOAD_MAC;
1158 }
1159 #[repr(u32)]
1160 #[non_exhaustive]
1161 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1162 pub enum macsec_offload {
1163 MACSEC_OFFLOAD_OFF = 0,
1164 MACSEC_OFFLOAD_PHY = 1,
1165 MACSEC_OFFLOAD_MAC = 2,
1166 __MACSEC_OFFLOAD_END = 3,
1167 }
1168 pub const IFLA_IPVLAN_UNSPEC: _bindgen_ty_17 = _bindgen_ty_17::IFLA_IPVLAN_UNSPEC;
1169 pub const IFLA_IPVLAN_MODE: _bindgen_ty_17 = _bindgen_ty_17::IFLA_IPVLAN_MODE;
1170 pub const IFLA_IPVLAN_FLAGS: _bindgen_ty_17 = _bindgen_ty_17::IFLA_IPVLAN_FLAGS;
1171 pub const __IFLA_IPVLAN_MAX: _bindgen_ty_17 = _bindgen_ty_17::__IFLA_IPVLAN_MAX;
1172 #[repr(u32)]
1173 #[non_exhaustive]
1174 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1175 pub enum _bindgen_ty_17 {
1176 IFLA_IPVLAN_UNSPEC = 0,
1177 IFLA_IPVLAN_MODE = 1,
1178 IFLA_IPVLAN_FLAGS = 2,
1179 __IFLA_IPVLAN_MAX = 3,
1180 }
1181 #[repr(u32)]
1182 #[non_exhaustive]
1183 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1184 pub enum ipvlan_mode {
1185 IPVLAN_MODE_L2 = 0,
1186 IPVLAN_MODE_L3 = 1,
1187 IPVLAN_MODE_L3S = 2,
1188 IPVLAN_MODE_MAX = 3,
1189 }
1190 #[repr(C)]
1191 #[derive(Debug, Copy, Clone)]
1192 pub struct tunnel_msg {
1193 pub family: __u8,
1194 pub flags: __u8,
1195 pub reserved2: __u16,
1196 pub ifindex: __u32,
1197 }
1198 pub const VNIFILTER_ENTRY_STATS_UNSPEC: _bindgen_ty_18 = _bindgen_ty_18::VNIFILTER_ENTRY_STATS_UNSPEC;
1199 pub const VNIFILTER_ENTRY_STATS_RX_BYTES: _bindgen_ty_18 = _bindgen_ty_18::VNIFILTER_ENTRY_STATS_RX_BYTES;
1200 pub const VNIFILTER_ENTRY_STATS_RX_PKTS: _bindgen_ty_18 = _bindgen_ty_18::VNIFILTER_ENTRY_STATS_RX_PKTS;
1201 pub const VNIFILTER_ENTRY_STATS_RX_DROPS: _bindgen_ty_18 = _bindgen_ty_18::VNIFILTER_ENTRY_STATS_RX_DROPS;
1202 pub const VNIFILTER_ENTRY_STATS_RX_ERRORS: _bindgen_ty_18 = _bindgen_ty_18::VNIFILTER_ENTRY_STATS_RX_ERRORS;
1203 pub const VNIFILTER_ENTRY_STATS_TX_BYTES: _bindgen_ty_18 = _bindgen_ty_18::VNIFILTER_ENTRY_STATS_TX_BYTES;
1204 pub const VNIFILTER_ENTRY_STATS_TX_PKTS: _bindgen_ty_18 = _bindgen_ty_18::VNIFILTER_ENTRY_STATS_TX_PKTS;
1205 pub const VNIFILTER_ENTRY_STATS_TX_DROPS: _bindgen_ty_18 = _bindgen_ty_18::VNIFILTER_ENTRY_STATS_TX_DROPS;
1206 pub const VNIFILTER_ENTRY_STATS_TX_ERRORS: _bindgen_ty_18 = _bindgen_ty_18::VNIFILTER_ENTRY_STATS_TX_ERRORS;
1207 pub const VNIFILTER_ENTRY_STATS_PAD: _bindgen_ty_18 = _bindgen_ty_18::VNIFILTER_ENTRY_STATS_PAD;
1208 pub const __VNIFILTER_ENTRY_STATS_MAX: _bindgen_ty_18 = _bindgen_ty_18::__VNIFILTER_ENTRY_STATS_MAX;
1209 #[repr(u32)]
1210 #[non_exhaustive]
1211 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1212 pub enum _bindgen_ty_18 {
1213 VNIFILTER_ENTRY_STATS_UNSPEC = 0,
1214 VNIFILTER_ENTRY_STATS_RX_BYTES = 1,
1215 VNIFILTER_ENTRY_STATS_RX_PKTS = 2,
1216 VNIFILTER_ENTRY_STATS_RX_DROPS = 3,
1217 VNIFILTER_ENTRY_STATS_RX_ERRORS = 4,
1218 VNIFILTER_ENTRY_STATS_TX_BYTES = 5,
1219 VNIFILTER_ENTRY_STATS_TX_PKTS = 6,
1220 VNIFILTER_ENTRY_STATS_TX_DROPS = 7,
1221 VNIFILTER_ENTRY_STATS_TX_ERRORS = 8,
1222 VNIFILTER_ENTRY_STATS_PAD = 9,
1223 __VNIFILTER_ENTRY_STATS_MAX = 10,
1224 }
1225 pub const VXLAN_VNIFILTER_ENTRY_UNSPEC: _bindgen_ty_19 = _bindgen_ty_19::VXLAN_VNIFILTER_ENTRY_UNSPEC;
1226 pub const VXLAN_VNIFILTER_ENTRY_START: _bindgen_ty_19 = _bindgen_ty_19::VXLAN_VNIFILTER_ENTRY_START;
1227 pub const VXLAN_VNIFILTER_ENTRY_END: _bindgen_ty_19 = _bindgen_ty_19::VXLAN_VNIFILTER_ENTRY_END;
1228 pub const VXLAN_VNIFILTER_ENTRY_GROUP: _bindgen_ty_19 = _bindgen_ty_19::VXLAN_VNIFILTER_ENTRY_GROUP;
1229 pub const VXLAN_VNIFILTER_ENTRY_GROUP6: _bindgen_ty_19 = _bindgen_ty_19::VXLAN_VNIFILTER_ENTRY_GROUP6;
1230 pub const VXLAN_VNIFILTER_ENTRY_STATS: _bindgen_ty_19 = _bindgen_ty_19::VXLAN_VNIFILTER_ENTRY_STATS;
1231 pub const __VXLAN_VNIFILTER_ENTRY_MAX: _bindgen_ty_19 = _bindgen_ty_19::__VXLAN_VNIFILTER_ENTRY_MAX;
1232 #[repr(u32)]
1233 #[non_exhaustive]
1234 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1235 pub enum _bindgen_ty_19 {
1236 VXLAN_VNIFILTER_ENTRY_UNSPEC = 0,
1237 VXLAN_VNIFILTER_ENTRY_START = 1,
1238 VXLAN_VNIFILTER_ENTRY_END = 2,
1239 VXLAN_VNIFILTER_ENTRY_GROUP = 3,
1240 VXLAN_VNIFILTER_ENTRY_GROUP6 = 4,
1241 VXLAN_VNIFILTER_ENTRY_STATS = 5,
1242 __VXLAN_VNIFILTER_ENTRY_MAX = 6,
1243 }
1244 pub const VXLAN_VNIFILTER_UNSPEC: _bindgen_ty_20 = _bindgen_ty_20::VXLAN_VNIFILTER_UNSPEC;
1245 pub const VXLAN_VNIFILTER_ENTRY: _bindgen_ty_20 = _bindgen_ty_20::VXLAN_VNIFILTER_ENTRY;
1246 pub const __VXLAN_VNIFILTER_MAX: _bindgen_ty_20 = _bindgen_ty_20::__VXLAN_VNIFILTER_MAX;
1247 #[repr(u32)]
1248 #[non_exhaustive]
1249 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1250 pub enum _bindgen_ty_20 {
1251 VXLAN_VNIFILTER_UNSPEC = 0,
1252 VXLAN_VNIFILTER_ENTRY = 1,
1253 __VXLAN_VNIFILTER_MAX = 2,
1254 }
1255 pub const IFLA_VXLAN_UNSPEC: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_UNSPEC;
1256 pub const IFLA_VXLAN_ID: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_ID;
1257 pub const IFLA_VXLAN_GROUP: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_GROUP;
1258 pub const IFLA_VXLAN_LINK: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_LINK;
1259 pub const IFLA_VXLAN_LOCAL: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_LOCAL;
1260 pub const IFLA_VXLAN_TTL: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_TTL;
1261 pub const IFLA_VXLAN_TOS: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_TOS;
1262 pub const IFLA_VXLAN_LEARNING: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_LEARNING;
1263 pub const IFLA_VXLAN_AGEING: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_AGEING;
1264 pub const IFLA_VXLAN_LIMIT: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_LIMIT;
1265 pub const IFLA_VXLAN_PORT_RANGE: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_PORT_RANGE;
1266 pub const IFLA_VXLAN_PROXY: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_PROXY;
1267 pub const IFLA_VXLAN_RSC: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_RSC;
1268 pub const IFLA_VXLAN_L2MISS: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_L2MISS;
1269 pub const IFLA_VXLAN_L3MISS: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_L3MISS;
1270 pub const IFLA_VXLAN_PORT: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_PORT;
1271 pub const IFLA_VXLAN_GROUP6: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_GROUP6;
1272 pub const IFLA_VXLAN_LOCAL6: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_LOCAL6;
1273 pub const IFLA_VXLAN_UDP_CSUM: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_UDP_CSUM;
1274 pub const IFLA_VXLAN_UDP_ZERO_CSUM6_TX: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_UDP_ZERO_CSUM6_TX;
1275 pub const IFLA_VXLAN_UDP_ZERO_CSUM6_RX: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_UDP_ZERO_CSUM6_RX;
1276 pub const IFLA_VXLAN_REMCSUM_TX: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_REMCSUM_TX;
1277 pub const IFLA_VXLAN_REMCSUM_RX: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_REMCSUM_RX;
1278 pub const IFLA_VXLAN_GBP: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_GBP;
1279 pub const IFLA_VXLAN_REMCSUM_NOPARTIAL: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_REMCSUM_NOPARTIAL;
1280 pub const IFLA_VXLAN_COLLECT_METADATA: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_COLLECT_METADATA;
1281 pub const IFLA_VXLAN_LABEL: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_LABEL;
1282 pub const IFLA_VXLAN_GPE: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_GPE;
1283 pub const IFLA_VXLAN_TTL_INHERIT: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_TTL_INHERIT;
1284 pub const IFLA_VXLAN_DF: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_DF;
1285 pub const IFLA_VXLAN_VNIFILTER: _bindgen_ty_21 = _bindgen_ty_21::IFLA_VXLAN_VNIFILTER;
1286 pub const __IFLA_VXLAN_MAX: _bindgen_ty_21 = _bindgen_ty_21::__IFLA_VXLAN_MAX;
1287 #[repr(u32)]
1288 #[non_exhaustive]
1289 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1290 pub enum _bindgen_ty_21 {
1291 IFLA_VXLAN_UNSPEC = 0,
1292 IFLA_VXLAN_ID = 1,
1293 IFLA_VXLAN_GROUP = 2,
1294 IFLA_VXLAN_LINK = 3,
1295 IFLA_VXLAN_LOCAL = 4,
1296 IFLA_VXLAN_TTL = 5,
1297 IFLA_VXLAN_TOS = 6,
1298 IFLA_VXLAN_LEARNING = 7,
1299 IFLA_VXLAN_AGEING = 8,
1300 IFLA_VXLAN_LIMIT = 9,
1301 IFLA_VXLAN_PORT_RANGE = 10,
1302 IFLA_VXLAN_PROXY = 11,
1303 IFLA_VXLAN_RSC = 12,
1304 IFLA_VXLAN_L2MISS = 13,
1305 IFLA_VXLAN_L3MISS = 14,
1306 IFLA_VXLAN_PORT = 15,
1307 IFLA_VXLAN_GROUP6 = 16,
1308 IFLA_VXLAN_LOCAL6 = 17,
1309 IFLA_VXLAN_UDP_CSUM = 18,
1310 IFLA_VXLAN_UDP_ZERO_CSUM6_TX = 19,
1311 IFLA_VXLAN_UDP_ZERO_CSUM6_RX = 20,
1312 IFLA_VXLAN_REMCSUM_TX = 21,
1313 IFLA_VXLAN_REMCSUM_RX = 22,
1314 IFLA_VXLAN_GBP = 23,
1315 IFLA_VXLAN_REMCSUM_NOPARTIAL = 24,
1316 IFLA_VXLAN_COLLECT_METADATA = 25,
1317 IFLA_VXLAN_LABEL = 26,
1318 IFLA_VXLAN_GPE = 27,
1319 IFLA_VXLAN_TTL_INHERIT = 28,
1320 IFLA_VXLAN_DF = 29,
1321 IFLA_VXLAN_VNIFILTER = 30,
1322 __IFLA_VXLAN_MAX = 31,
1323 }
1324 #[repr(C)]
1325 #[derive(Debug, Copy, Clone)]
1326 pub struct ifla_vxlan_port_range {
1327 pub low: __be16,
1328 pub high: __be16,
1329 }
1330 impl ifla_vxlan_df {
1331 pub const VXLAN_DF_MAX: ifla_vxlan_df = ifla_vxlan_df::VXLAN_DF_INHERIT;
1332 }
1333 #[repr(u32)]
1334 #[non_exhaustive]
1335 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1336 pub enum ifla_vxlan_df {
1337 VXLAN_DF_UNSET = 0,
1338 VXLAN_DF_SET = 1,
1339 VXLAN_DF_INHERIT = 2,
1340 __VXLAN_DF_END = 3,
1341 }
1342 pub const IFLA_GENEVE_UNSPEC: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_UNSPEC;
1343 pub const IFLA_GENEVE_ID: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_ID;
1344 pub const IFLA_GENEVE_REMOTE: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_REMOTE;
1345 pub const IFLA_GENEVE_TTL: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_TTL;
1346 pub const IFLA_GENEVE_TOS: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_TOS;
1347 pub const IFLA_GENEVE_PORT: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_PORT;
1348 pub const IFLA_GENEVE_COLLECT_METADATA: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_COLLECT_METADATA;
1349 pub const IFLA_GENEVE_REMOTE6: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_REMOTE6;
1350 pub const IFLA_GENEVE_UDP_CSUM: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_UDP_CSUM;
1351 pub const IFLA_GENEVE_UDP_ZERO_CSUM6_TX: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_UDP_ZERO_CSUM6_TX;
1352 pub const IFLA_GENEVE_UDP_ZERO_CSUM6_RX: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_UDP_ZERO_CSUM6_RX;
1353 pub const IFLA_GENEVE_LABEL: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_LABEL;
1354 pub const IFLA_GENEVE_TTL_INHERIT: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_TTL_INHERIT;
1355 pub const IFLA_GENEVE_DF: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_DF;
1356 pub const IFLA_GENEVE_INNER_PROTO_INHERIT: _bindgen_ty_22 = _bindgen_ty_22::IFLA_GENEVE_INNER_PROTO_INHERIT;
1357 pub const __IFLA_GENEVE_MAX: _bindgen_ty_22 = _bindgen_ty_22::__IFLA_GENEVE_MAX;
1358 #[repr(u32)]
1359 #[non_exhaustive]
1360 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1361 pub enum _bindgen_ty_22 {
1362 IFLA_GENEVE_UNSPEC = 0,
1363 IFLA_GENEVE_ID = 1,
1364 IFLA_GENEVE_REMOTE = 2,
1365 IFLA_GENEVE_TTL = 3,
1366 IFLA_GENEVE_TOS = 4,
1367 IFLA_GENEVE_PORT = 5,
1368 IFLA_GENEVE_COLLECT_METADATA = 6,
1369 IFLA_GENEVE_REMOTE6 = 7,
1370 IFLA_GENEVE_UDP_CSUM = 8,
1371 IFLA_GENEVE_UDP_ZERO_CSUM6_TX = 9,
1372 IFLA_GENEVE_UDP_ZERO_CSUM6_RX = 10,
1373 IFLA_GENEVE_LABEL = 11,
1374 IFLA_GENEVE_TTL_INHERIT = 12,
1375 IFLA_GENEVE_DF = 13,
1376 IFLA_GENEVE_INNER_PROTO_INHERIT = 14,
1377 __IFLA_GENEVE_MAX = 15,
1378 }
1379 impl ifla_geneve_df {
1380 pub const GENEVE_DF_MAX: ifla_geneve_df = ifla_geneve_df::GENEVE_DF_INHERIT;
1381 }
1382 #[repr(u32)]
1383 #[non_exhaustive]
1384 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1385 pub enum ifla_geneve_df {
1386 GENEVE_DF_UNSET = 0,
1387 GENEVE_DF_SET = 1,
1388 GENEVE_DF_INHERIT = 2,
1389 __GENEVE_DF_END = 3,
1390 }
1391 pub const IFLA_BAREUDP_UNSPEC: _bindgen_ty_23 = _bindgen_ty_23::IFLA_BAREUDP_UNSPEC;
1392 pub const IFLA_BAREUDP_PORT: _bindgen_ty_23 = _bindgen_ty_23::IFLA_BAREUDP_PORT;
1393 pub const IFLA_BAREUDP_ETHERTYPE: _bindgen_ty_23 = _bindgen_ty_23::IFLA_BAREUDP_ETHERTYPE;
1394 pub const IFLA_BAREUDP_SRCPORT_MIN: _bindgen_ty_23 = _bindgen_ty_23::IFLA_BAREUDP_SRCPORT_MIN;
1395 pub const IFLA_BAREUDP_MULTIPROTO_MODE: _bindgen_ty_23 = _bindgen_ty_23::IFLA_BAREUDP_MULTIPROTO_MODE;
1396 pub const __IFLA_BAREUDP_MAX: _bindgen_ty_23 = _bindgen_ty_23::__IFLA_BAREUDP_MAX;
1397 #[repr(u32)]
1398 #[non_exhaustive]
1399 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1400 pub enum _bindgen_ty_23 {
1401 IFLA_BAREUDP_UNSPEC = 0,
1402 IFLA_BAREUDP_PORT = 1,
1403 IFLA_BAREUDP_ETHERTYPE = 2,
1404 IFLA_BAREUDP_SRCPORT_MIN = 3,
1405 IFLA_BAREUDP_MULTIPROTO_MODE = 4,
1406 __IFLA_BAREUDP_MAX = 5,
1407 }
1408 pub const IFLA_PPP_UNSPEC: _bindgen_ty_24 = _bindgen_ty_24::IFLA_PPP_UNSPEC;
1409 pub const IFLA_PPP_DEV_FD: _bindgen_ty_24 = _bindgen_ty_24::IFLA_PPP_DEV_FD;
1410 pub const __IFLA_PPP_MAX: _bindgen_ty_24 = _bindgen_ty_24::__IFLA_PPP_MAX;
1411 #[repr(u32)]
1412 #[non_exhaustive]
1413 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1414 pub enum _bindgen_ty_24 {
1415 IFLA_PPP_UNSPEC = 0,
1416 IFLA_PPP_DEV_FD = 1,
1417 __IFLA_PPP_MAX = 2,
1418 }
1419 #[repr(u32)]
1420 #[non_exhaustive]
1421 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1422 pub enum ifla_gtp_role {
1423 GTP_ROLE_GGSN = 0,
1424 GTP_ROLE_SGSN = 1,
1425 }
1426 pub const IFLA_GTP_UNSPEC: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GTP_UNSPEC;
1427 pub const IFLA_GTP_FD0: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GTP_FD0;
1428 pub const IFLA_GTP_FD1: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GTP_FD1;
1429 pub const IFLA_GTP_PDP_HASHSIZE: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GTP_PDP_HASHSIZE;
1430 pub const IFLA_GTP_ROLE: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GTP_ROLE;
1431 pub const IFLA_GTP_CREATE_SOCKETS: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GTP_CREATE_SOCKETS;
1432 pub const IFLA_GTP_RESTART_COUNT: _bindgen_ty_25 = _bindgen_ty_25::IFLA_GTP_RESTART_COUNT;
1433 pub const __IFLA_GTP_MAX: _bindgen_ty_25 = _bindgen_ty_25::__IFLA_GTP_MAX;
1434 #[repr(u32)]
1435 #[non_exhaustive]
1436 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1437 pub enum _bindgen_ty_25 {
1438 IFLA_GTP_UNSPEC = 0,
1439 IFLA_GTP_FD0 = 1,
1440 IFLA_GTP_FD1 = 2,
1441 IFLA_GTP_PDP_HASHSIZE = 3,
1442 IFLA_GTP_ROLE = 4,
1443 IFLA_GTP_CREATE_SOCKETS = 5,
1444 IFLA_GTP_RESTART_COUNT = 6,
1445 __IFLA_GTP_MAX = 7,
1446 }
1447 pub const IFLA_BOND_UNSPEC: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_UNSPEC;
1448 pub const IFLA_BOND_MODE: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_MODE;
1449 pub const IFLA_BOND_ACTIVE_SLAVE: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_ACTIVE_SLAVE;
1450 pub const IFLA_BOND_MIIMON: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_MIIMON;
1451 pub const IFLA_BOND_UPDELAY: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_UPDELAY;
1452 pub const IFLA_BOND_DOWNDELAY: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_DOWNDELAY;
1453 pub const IFLA_BOND_USE_CARRIER: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_USE_CARRIER;
1454 pub const IFLA_BOND_ARP_INTERVAL: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_ARP_INTERVAL;
1455 pub const IFLA_BOND_ARP_IP_TARGET: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_ARP_IP_TARGET;
1456 pub const IFLA_BOND_ARP_VALIDATE: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_ARP_VALIDATE;
1457 pub const IFLA_BOND_ARP_ALL_TARGETS: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_ARP_ALL_TARGETS;
1458 pub const IFLA_BOND_PRIMARY: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_PRIMARY;
1459 pub const IFLA_BOND_PRIMARY_RESELECT: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_PRIMARY_RESELECT;
1460 pub const IFLA_BOND_FAIL_OVER_MAC: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_FAIL_OVER_MAC;
1461 pub const IFLA_BOND_XMIT_HASH_POLICY: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_XMIT_HASH_POLICY;
1462 pub const IFLA_BOND_RESEND_IGMP: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_RESEND_IGMP;
1463 pub const IFLA_BOND_NUM_PEER_NOTIF: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_NUM_PEER_NOTIF;
1464 pub const IFLA_BOND_ALL_SLAVES_ACTIVE: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_ALL_SLAVES_ACTIVE;
1465 pub const IFLA_BOND_MIN_LINKS: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_MIN_LINKS;
1466 pub const IFLA_BOND_LP_INTERVAL: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_LP_INTERVAL;
1467 pub const IFLA_BOND_PACKETS_PER_SLAVE: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_PACKETS_PER_SLAVE;
1468 pub const IFLA_BOND_AD_LACP_RATE: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_AD_LACP_RATE;
1469 pub const IFLA_BOND_AD_SELECT: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_AD_SELECT;
1470 pub const IFLA_BOND_AD_INFO: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_AD_INFO;
1471 pub const IFLA_BOND_AD_ACTOR_SYS_PRIO: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_AD_ACTOR_SYS_PRIO;
1472 pub const IFLA_BOND_AD_USER_PORT_KEY: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_AD_USER_PORT_KEY;
1473 pub const IFLA_BOND_AD_ACTOR_SYSTEM: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_AD_ACTOR_SYSTEM;
1474 pub const IFLA_BOND_TLB_DYNAMIC_LB: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_TLB_DYNAMIC_LB;
1475 pub const IFLA_BOND_PEER_NOTIF_DELAY: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_PEER_NOTIF_DELAY;
1476 pub const IFLA_BOND_AD_LACP_ACTIVE: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_AD_LACP_ACTIVE;
1477 pub const IFLA_BOND_MISSED_MAX: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_MISSED_MAX;
1478 pub const IFLA_BOND_NS_IP6_TARGET: _bindgen_ty_26 = _bindgen_ty_26::IFLA_BOND_NS_IP6_TARGET;
1479 pub const __IFLA_BOND_MAX: _bindgen_ty_26 = _bindgen_ty_26::__IFLA_BOND_MAX;
1480 #[repr(u32)]
1481 #[non_exhaustive]
1482 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1483 pub enum _bindgen_ty_26 {
1484 IFLA_BOND_UNSPEC = 0,
1485 IFLA_BOND_MODE = 1,
1486 IFLA_BOND_ACTIVE_SLAVE = 2,
1487 IFLA_BOND_MIIMON = 3,
1488 IFLA_BOND_UPDELAY = 4,
1489 IFLA_BOND_DOWNDELAY = 5,
1490 IFLA_BOND_USE_CARRIER = 6,
1491 IFLA_BOND_ARP_INTERVAL = 7,
1492 IFLA_BOND_ARP_IP_TARGET = 8,
1493 IFLA_BOND_ARP_VALIDATE = 9,
1494 IFLA_BOND_ARP_ALL_TARGETS = 10,
1495 IFLA_BOND_PRIMARY = 11,
1496 IFLA_BOND_PRIMARY_RESELECT = 12,
1497 IFLA_BOND_FAIL_OVER_MAC = 13,
1498 IFLA_BOND_XMIT_HASH_POLICY = 14,
1499 IFLA_BOND_RESEND_IGMP = 15,
1500 IFLA_BOND_NUM_PEER_NOTIF = 16,
1501 IFLA_BOND_ALL_SLAVES_ACTIVE = 17,
1502 IFLA_BOND_MIN_LINKS = 18,
1503 IFLA_BOND_LP_INTERVAL = 19,
1504 IFLA_BOND_PACKETS_PER_SLAVE = 20,
1505 IFLA_BOND_AD_LACP_RATE = 21,
1506 IFLA_BOND_AD_SELECT = 22,
1507 IFLA_BOND_AD_INFO = 23,
1508 IFLA_BOND_AD_ACTOR_SYS_PRIO = 24,
1509 IFLA_BOND_AD_USER_PORT_KEY = 25,
1510 IFLA_BOND_AD_ACTOR_SYSTEM = 26,
1511 IFLA_BOND_TLB_DYNAMIC_LB = 27,
1512 IFLA_BOND_PEER_NOTIF_DELAY = 28,
1513 IFLA_BOND_AD_LACP_ACTIVE = 29,
1514 IFLA_BOND_MISSED_MAX = 30,
1515 IFLA_BOND_NS_IP6_TARGET = 31,
1516 __IFLA_BOND_MAX = 32,
1517 }
1518 pub const IFLA_BOND_AD_INFO_UNSPEC: _bindgen_ty_27 = _bindgen_ty_27::IFLA_BOND_AD_INFO_UNSPEC;
1519 pub const IFLA_BOND_AD_INFO_AGGREGATOR: _bindgen_ty_27 = _bindgen_ty_27::IFLA_BOND_AD_INFO_AGGREGATOR;
1520 pub const IFLA_BOND_AD_INFO_NUM_PORTS: _bindgen_ty_27 = _bindgen_ty_27::IFLA_BOND_AD_INFO_NUM_PORTS;
1521 pub const IFLA_BOND_AD_INFO_ACTOR_KEY: _bindgen_ty_27 = _bindgen_ty_27::IFLA_BOND_AD_INFO_ACTOR_KEY;
1522 pub const IFLA_BOND_AD_INFO_PARTNER_KEY: _bindgen_ty_27 = _bindgen_ty_27::IFLA_BOND_AD_INFO_PARTNER_KEY;
1523 pub const IFLA_BOND_AD_INFO_PARTNER_MAC: _bindgen_ty_27 = _bindgen_ty_27::IFLA_BOND_AD_INFO_PARTNER_MAC;
1524 pub const __IFLA_BOND_AD_INFO_MAX: _bindgen_ty_27 = _bindgen_ty_27::__IFLA_BOND_AD_INFO_MAX;
1525 #[repr(u32)]
1526 #[non_exhaustive]
1527 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1528 pub enum _bindgen_ty_27 {
1529 IFLA_BOND_AD_INFO_UNSPEC = 0,
1530 IFLA_BOND_AD_INFO_AGGREGATOR = 1,
1531 IFLA_BOND_AD_INFO_NUM_PORTS = 2,
1532 IFLA_BOND_AD_INFO_ACTOR_KEY = 3,
1533 IFLA_BOND_AD_INFO_PARTNER_KEY = 4,
1534 IFLA_BOND_AD_INFO_PARTNER_MAC = 5,
1535 __IFLA_BOND_AD_INFO_MAX = 6,
1536 }
1537 pub const IFLA_BOND_SLAVE_UNSPEC: _bindgen_ty_28 = _bindgen_ty_28::IFLA_BOND_SLAVE_UNSPEC;
1538 pub const IFLA_BOND_SLAVE_STATE: _bindgen_ty_28 = _bindgen_ty_28::IFLA_BOND_SLAVE_STATE;
1539 pub const IFLA_BOND_SLAVE_MII_STATUS: _bindgen_ty_28 = _bindgen_ty_28::IFLA_BOND_SLAVE_MII_STATUS;
1540 pub const IFLA_BOND_SLAVE_LINK_FAILURE_COUNT: _bindgen_ty_28 = _bindgen_ty_28::IFLA_BOND_SLAVE_LINK_FAILURE_COUNT;
1541 pub const IFLA_BOND_SLAVE_PERM_HWADDR: _bindgen_ty_28 = _bindgen_ty_28::IFLA_BOND_SLAVE_PERM_HWADDR;
1542 pub const IFLA_BOND_SLAVE_QUEUE_ID: _bindgen_ty_28 = _bindgen_ty_28::IFLA_BOND_SLAVE_QUEUE_ID;
1543 pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID: _bindgen_ty_28 = _bindgen_ty_28::IFLA_BOND_SLAVE_AD_AGGREGATOR_ID;
1544 pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE: _bindgen_ty_28 = _bindgen_ty_28::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE;
1545 pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE: _bindgen_ty_28 = _bindgen_ty_28::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE;
1546 pub const IFLA_BOND_SLAVE_PRIO: _bindgen_ty_28 = _bindgen_ty_28::IFLA_BOND_SLAVE_PRIO;
1547 pub const __IFLA_BOND_SLAVE_MAX: _bindgen_ty_28 = _bindgen_ty_28::__IFLA_BOND_SLAVE_MAX;
1548 #[repr(u32)]
1549 #[non_exhaustive]
1550 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1551 pub enum _bindgen_ty_28 {
1552 IFLA_BOND_SLAVE_UNSPEC = 0,
1553 IFLA_BOND_SLAVE_STATE = 1,
1554 IFLA_BOND_SLAVE_MII_STATUS = 2,
1555 IFLA_BOND_SLAVE_LINK_FAILURE_COUNT = 3,
1556 IFLA_BOND_SLAVE_PERM_HWADDR = 4,
1557 IFLA_BOND_SLAVE_QUEUE_ID = 5,
1558 IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 6,
1559 IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 7,
1560 IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 8,
1561 IFLA_BOND_SLAVE_PRIO = 9,
1562 __IFLA_BOND_SLAVE_MAX = 10,
1563 }
1564 pub const IFLA_VF_INFO_UNSPEC: _bindgen_ty_29 = _bindgen_ty_29::IFLA_VF_INFO_UNSPEC;
1565 pub const IFLA_VF_INFO: _bindgen_ty_29 = _bindgen_ty_29::IFLA_VF_INFO;
1566 pub const __IFLA_VF_INFO_MAX: _bindgen_ty_29 = _bindgen_ty_29::__IFLA_VF_INFO_MAX;
1567 #[repr(u32)]
1568 #[non_exhaustive]
1569 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1570 pub enum _bindgen_ty_29 {
1571 IFLA_VF_INFO_UNSPEC = 0,
1572 IFLA_VF_INFO = 1,
1573 __IFLA_VF_INFO_MAX = 2,
1574 }
1575 pub const IFLA_VF_UNSPEC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_UNSPEC;
1576 pub const IFLA_VF_MAC: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_MAC;
1577 pub const IFLA_VF_VLAN: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_VLAN;
1578 pub const IFLA_VF_TX_RATE: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_TX_RATE;
1579 pub const IFLA_VF_SPOOFCHK: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_SPOOFCHK;
1580 pub const IFLA_VF_LINK_STATE: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_LINK_STATE;
1581 pub const IFLA_VF_RATE: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_RATE;
1582 pub const IFLA_VF_RSS_QUERY_EN: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_RSS_QUERY_EN;
1583 pub const IFLA_VF_STATS: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_STATS;
1584 pub const IFLA_VF_TRUST: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_TRUST;
1585 pub const IFLA_VF_IB_NODE_GUID: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_IB_NODE_GUID;
1586 pub const IFLA_VF_IB_PORT_GUID: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_IB_PORT_GUID;
1587 pub const IFLA_VF_VLAN_LIST: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_VLAN_LIST;
1588 pub const IFLA_VF_BROADCAST: _bindgen_ty_30 = _bindgen_ty_30::IFLA_VF_BROADCAST;
1589 pub const __IFLA_VF_MAX: _bindgen_ty_30 = _bindgen_ty_30::__IFLA_VF_MAX;
1590 #[repr(u32)]
1591 #[non_exhaustive]
1592 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1593 pub enum _bindgen_ty_30 {
1594 IFLA_VF_UNSPEC = 0,
1595 IFLA_VF_MAC = 1,
1596 IFLA_VF_VLAN = 2,
1597 IFLA_VF_TX_RATE = 3,
1598 IFLA_VF_SPOOFCHK = 4,
1599 IFLA_VF_LINK_STATE = 5,
1600 IFLA_VF_RATE = 6,
1601 IFLA_VF_RSS_QUERY_EN = 7,
1602 IFLA_VF_STATS = 8,
1603 IFLA_VF_TRUST = 9,
1604 IFLA_VF_IB_NODE_GUID = 10,
1605 IFLA_VF_IB_PORT_GUID = 11,
1606 IFLA_VF_VLAN_LIST = 12,
1607 IFLA_VF_BROADCAST = 13,
1608 __IFLA_VF_MAX = 14,
1609 }
1610 #[repr(C)]
1611 #[derive(Debug, Copy, Clone)]
1612 pub struct ifla_vf_mac {
1613 pub vf: __u32,
1614 pub mac: [__u8; 32usize],
1615 }
1616 #[repr(C)]
1617 #[derive(Debug, Copy, Clone)]
1618 pub struct ifla_vf_broadcast {
1619 pub broadcast: [__u8; 32usize],
1620 }
1621 #[repr(C)]
1622 #[derive(Debug, Copy, Clone)]
1623 pub struct ifla_vf_vlan {
1624 pub vf: __u32,
1625 pub vlan: __u32,
1626 pub qos: __u32,
1627 }
1628 pub const IFLA_VF_VLAN_INFO_UNSPEC: _bindgen_ty_31 = _bindgen_ty_31::IFLA_VF_VLAN_INFO_UNSPEC;
1629 pub const IFLA_VF_VLAN_INFO: _bindgen_ty_31 = _bindgen_ty_31::IFLA_VF_VLAN_INFO;
1630 pub const __IFLA_VF_VLAN_INFO_MAX: _bindgen_ty_31 = _bindgen_ty_31::__IFLA_VF_VLAN_INFO_MAX;
1631 #[repr(u32)]
1632 #[non_exhaustive]
1633 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1634 pub enum _bindgen_ty_31 {
1635 IFLA_VF_VLAN_INFO_UNSPEC = 0,
1636 IFLA_VF_VLAN_INFO = 1,
1637 __IFLA_VF_VLAN_INFO_MAX = 2,
1638 }
1639 #[repr(C)]
1640 #[derive(Debug, Copy, Clone)]
1641 pub struct ifla_vf_vlan_info {
1642 pub vf: __u32,
1643 pub vlan: __u32,
1644 pub qos: __u32,
1645 pub vlan_proto: __be16,
1646 }
1647 #[repr(C)]
1648 #[derive(Debug, Copy, Clone)]
1649 pub struct ifla_vf_tx_rate {
1650 pub vf: __u32,
1651 pub rate: __u32,
1652 }
1653 #[repr(C)]
1654 #[derive(Debug, Copy, Clone)]
1655 pub struct ifla_vf_rate {
1656 pub vf: __u32,
1657 pub min_tx_rate: __u32,
1658 pub max_tx_rate: __u32,
1659 }
1660 #[repr(C)]
1661 #[derive(Debug, Copy, Clone)]
1662 pub struct ifla_vf_spoofchk {
1663 pub vf: __u32,
1664 pub setting: __u32,
1665 }
1666 #[repr(C)]
1667 #[derive(Debug, Copy, Clone)]
1668 pub struct ifla_vf_guid {
1669 pub vf: __u32,
1670 pub guid: __u64,
1671 }
1672 pub const IFLA_VF_LINK_STATE_AUTO: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_LINK_STATE_AUTO;
1673 pub const IFLA_VF_LINK_STATE_ENABLE: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_LINK_STATE_ENABLE;
1674 pub const IFLA_VF_LINK_STATE_DISABLE: _bindgen_ty_32 = _bindgen_ty_32::IFLA_VF_LINK_STATE_DISABLE;
1675 pub const __IFLA_VF_LINK_STATE_MAX: _bindgen_ty_32 = _bindgen_ty_32::__IFLA_VF_LINK_STATE_MAX;
1676 #[repr(u32)]
1677 #[non_exhaustive]
1678 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1679 pub enum _bindgen_ty_32 {
1680 IFLA_VF_LINK_STATE_AUTO = 0,
1681 IFLA_VF_LINK_STATE_ENABLE = 1,
1682 IFLA_VF_LINK_STATE_DISABLE = 2,
1683 __IFLA_VF_LINK_STATE_MAX = 3,
1684 }
1685 #[repr(C)]
1686 #[derive(Debug, Copy, Clone)]
1687 pub struct ifla_vf_link_state {
1688 pub vf: __u32,
1689 pub link_state: __u32,
1690 }
1691 #[repr(C)]
1692 #[derive(Debug, Copy, Clone)]
1693 pub struct ifla_vf_rss_query_en {
1694 pub vf: __u32,
1695 pub setting: __u32,
1696 }
1697 pub const IFLA_VF_STATS_RX_PACKETS: _bindgen_ty_33 = _bindgen_ty_33::IFLA_VF_STATS_RX_PACKETS;
1698 pub const IFLA_VF_STATS_TX_PACKETS: _bindgen_ty_33 = _bindgen_ty_33::IFLA_VF_STATS_TX_PACKETS;
1699 pub const IFLA_VF_STATS_RX_BYTES: _bindgen_ty_33 = _bindgen_ty_33::IFLA_VF_STATS_RX_BYTES;
1700 pub const IFLA_VF_STATS_TX_BYTES: _bindgen_ty_33 = _bindgen_ty_33::IFLA_VF_STATS_TX_BYTES;
1701 pub const IFLA_VF_STATS_BROADCAST: _bindgen_ty_33 = _bindgen_ty_33::IFLA_VF_STATS_BROADCAST;
1702 pub const IFLA_VF_STATS_MULTICAST: _bindgen_ty_33 = _bindgen_ty_33::IFLA_VF_STATS_MULTICAST;
1703 pub const IFLA_VF_STATS_PAD: _bindgen_ty_33 = _bindgen_ty_33::IFLA_VF_STATS_PAD;
1704 pub const IFLA_VF_STATS_RX_DROPPED: _bindgen_ty_33 = _bindgen_ty_33::IFLA_VF_STATS_RX_DROPPED;
1705 pub const IFLA_VF_STATS_TX_DROPPED: _bindgen_ty_33 = _bindgen_ty_33::IFLA_VF_STATS_TX_DROPPED;
1706 pub const __IFLA_VF_STATS_MAX: _bindgen_ty_33 = _bindgen_ty_33::__IFLA_VF_STATS_MAX;
1707 #[repr(u32)]
1708 #[non_exhaustive]
1709 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1710 pub enum _bindgen_ty_33 {
1711 IFLA_VF_STATS_RX_PACKETS = 0,
1712 IFLA_VF_STATS_TX_PACKETS = 1,
1713 IFLA_VF_STATS_RX_BYTES = 2,
1714 IFLA_VF_STATS_TX_BYTES = 3,
1715 IFLA_VF_STATS_BROADCAST = 4,
1716 IFLA_VF_STATS_MULTICAST = 5,
1717 IFLA_VF_STATS_PAD = 6,
1718 IFLA_VF_STATS_RX_DROPPED = 7,
1719 IFLA_VF_STATS_TX_DROPPED = 8,
1720 __IFLA_VF_STATS_MAX = 9,
1721 }
1722 #[repr(C)]
1723 #[derive(Debug, Copy, Clone)]
1724 pub struct ifla_vf_trust {
1725 pub vf: __u32,
1726 pub setting: __u32,
1727 }
1728 pub const IFLA_VF_PORT_UNSPEC: _bindgen_ty_34 = _bindgen_ty_34::IFLA_VF_PORT_UNSPEC;
1729 pub const IFLA_VF_PORT: _bindgen_ty_34 = _bindgen_ty_34::IFLA_VF_PORT;
1730 pub const __IFLA_VF_PORT_MAX: _bindgen_ty_34 = _bindgen_ty_34::__IFLA_VF_PORT_MAX;
1731 #[repr(u32)]
1732 #[non_exhaustive]
1733 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1734 pub enum _bindgen_ty_34 {
1735 IFLA_VF_PORT_UNSPEC = 0,
1736 IFLA_VF_PORT = 1,
1737 __IFLA_VF_PORT_MAX = 2,
1738 }
1739 pub const IFLA_PORT_UNSPEC: _bindgen_ty_35 = _bindgen_ty_35::IFLA_PORT_UNSPEC;
1740 pub const IFLA_PORT_VF: _bindgen_ty_35 = _bindgen_ty_35::IFLA_PORT_VF;
1741 pub const IFLA_PORT_PROFILE: _bindgen_ty_35 = _bindgen_ty_35::IFLA_PORT_PROFILE;
1742 pub const IFLA_PORT_VSI_TYPE: _bindgen_ty_35 = _bindgen_ty_35::IFLA_PORT_VSI_TYPE;
1743 pub const IFLA_PORT_INSTANCE_UUID: _bindgen_ty_35 = _bindgen_ty_35::IFLA_PORT_INSTANCE_UUID;
1744 pub const IFLA_PORT_HOST_UUID: _bindgen_ty_35 = _bindgen_ty_35::IFLA_PORT_HOST_UUID;
1745 pub const IFLA_PORT_REQUEST: _bindgen_ty_35 = _bindgen_ty_35::IFLA_PORT_REQUEST;
1746 pub const IFLA_PORT_RESPONSE: _bindgen_ty_35 = _bindgen_ty_35::IFLA_PORT_RESPONSE;
1747 pub const __IFLA_PORT_MAX: _bindgen_ty_35 = _bindgen_ty_35::__IFLA_PORT_MAX;
1748 #[repr(u32)]
1749 #[non_exhaustive]
1750 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1751 pub enum _bindgen_ty_35 {
1752 IFLA_PORT_UNSPEC = 0,
1753 IFLA_PORT_VF = 1,
1754 IFLA_PORT_PROFILE = 2,
1755 IFLA_PORT_VSI_TYPE = 3,
1756 IFLA_PORT_INSTANCE_UUID = 4,
1757 IFLA_PORT_HOST_UUID = 5,
1758 IFLA_PORT_REQUEST = 6,
1759 IFLA_PORT_RESPONSE = 7,
1760 __IFLA_PORT_MAX = 8,
1761 }
1762 pub const PORT_REQUEST_PREASSOCIATE: _bindgen_ty_36 = _bindgen_ty_36::PORT_REQUEST_PREASSOCIATE;
1763 pub const PORT_REQUEST_PREASSOCIATE_RR: _bindgen_ty_36 = _bindgen_ty_36::PORT_REQUEST_PREASSOCIATE_RR;
1764 pub const PORT_REQUEST_ASSOCIATE: _bindgen_ty_36 = _bindgen_ty_36::PORT_REQUEST_ASSOCIATE;
1765 pub const PORT_REQUEST_DISASSOCIATE: _bindgen_ty_36 = _bindgen_ty_36::PORT_REQUEST_DISASSOCIATE;
1766 #[repr(u32)]
1767 #[non_exhaustive]
1768 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1769 pub enum _bindgen_ty_36 {
1770 PORT_REQUEST_PREASSOCIATE = 0,
1771 PORT_REQUEST_PREASSOCIATE_RR = 1,
1772 PORT_REQUEST_ASSOCIATE = 2,
1773 PORT_REQUEST_DISASSOCIATE = 3,
1774 }
1775 pub const PORT_VDP_RESPONSE_SUCCESS: _bindgen_ty_37 = _bindgen_ty_37::PORT_VDP_RESPONSE_SUCCESS;
1776 pub const PORT_VDP_RESPONSE_INVALID_FORMAT: _bindgen_ty_37 = _bindgen_ty_37::PORT_VDP_RESPONSE_INVALID_FORMAT;
1777 pub const PORT_VDP_RESPONSE_INSUFFICIENT_RESOURCES: _bindgen_ty_37 = _bindgen_ty_37::PORT_VDP_RESPONSE_INSUFFICIENT_RESOURCES;
1778 pub const PORT_VDP_RESPONSE_UNUSED_VTID: _bindgen_ty_37 = _bindgen_ty_37::PORT_VDP_RESPONSE_UNUSED_VTID;
1779 pub const PORT_VDP_RESPONSE_VTID_VIOLATION: _bindgen_ty_37 = _bindgen_ty_37::PORT_VDP_RESPONSE_VTID_VIOLATION;
1780 pub const PORT_VDP_RESPONSE_VTID_VERSION_VIOALTION: _bindgen_ty_37 = _bindgen_ty_37::PORT_VDP_RESPONSE_VTID_VERSION_VIOALTION;
1781 pub const PORT_VDP_RESPONSE_OUT_OF_SYNC: _bindgen_ty_37 = _bindgen_ty_37::PORT_VDP_RESPONSE_OUT_OF_SYNC;
1782 pub const PORT_PROFILE_RESPONSE_SUCCESS: _bindgen_ty_37 = _bindgen_ty_37::PORT_PROFILE_RESPONSE_SUCCESS;
1783 pub const PORT_PROFILE_RESPONSE_INPROGRESS: _bindgen_ty_37 = _bindgen_ty_37::PORT_PROFILE_RESPONSE_INPROGRESS;
1784 pub const PORT_PROFILE_RESPONSE_INVALID: _bindgen_ty_37 = _bindgen_ty_37::PORT_PROFILE_RESPONSE_INVALID;
1785 pub const PORT_PROFILE_RESPONSE_BADSTATE: _bindgen_ty_37 = _bindgen_ty_37::PORT_PROFILE_RESPONSE_BADSTATE;
1786 pub const PORT_PROFILE_RESPONSE_INSUFFICIENT_RESOURCES: _bindgen_ty_37 = _bindgen_ty_37::PORT_PROFILE_RESPONSE_INSUFFICIENT_RESOURCES;
1787 pub const PORT_PROFILE_RESPONSE_ERROR: _bindgen_ty_37 = _bindgen_ty_37::PORT_PROFILE_RESPONSE_ERROR;
1788 #[repr(u32)]
1789 #[non_exhaustive]
1790 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1791 pub enum _bindgen_ty_37 {
1792 PORT_VDP_RESPONSE_SUCCESS = 0,
1793 PORT_VDP_RESPONSE_INVALID_FORMAT = 1,
1794 PORT_VDP_RESPONSE_INSUFFICIENT_RESOURCES = 2,
1795 PORT_VDP_RESPONSE_UNUSED_VTID = 3,
1796 PORT_VDP_RESPONSE_VTID_VIOLATION = 4,
1797 PORT_VDP_RESPONSE_VTID_VERSION_VIOALTION = 5,
1798 PORT_VDP_RESPONSE_OUT_OF_SYNC = 6,
1799 PORT_PROFILE_RESPONSE_SUCCESS = 256,
1800 PORT_PROFILE_RESPONSE_INPROGRESS = 257,
1801 PORT_PROFILE_RESPONSE_INVALID = 258,
1802 PORT_PROFILE_RESPONSE_BADSTATE = 259,
1803 PORT_PROFILE_RESPONSE_INSUFFICIENT_RESOURCES = 260,
1804 PORT_PROFILE_RESPONSE_ERROR = 261,
1805 }
1806 #[repr(C)]
1807 #[derive(Debug, Copy, Clone)]
1808 pub struct ifla_port_vsi {
1809 pub vsi_mgr_id: __u8,
1810 pub vsi_type_id: [__u8; 3usize],
1811 pub vsi_type_version: __u8,
1812 pub pad: [__u8; 3usize],
1813 }
1814 pub const IFLA_IPOIB_UNSPEC: _bindgen_ty_38 = _bindgen_ty_38::IFLA_IPOIB_UNSPEC;
1815 pub const IFLA_IPOIB_PKEY: _bindgen_ty_38 = _bindgen_ty_38::IFLA_IPOIB_PKEY;
1816 pub const IFLA_IPOIB_MODE: _bindgen_ty_38 = _bindgen_ty_38::IFLA_IPOIB_MODE;
1817 pub const IFLA_IPOIB_UMCAST: _bindgen_ty_38 = _bindgen_ty_38::IFLA_IPOIB_UMCAST;
1818 pub const __IFLA_IPOIB_MAX: _bindgen_ty_38 = _bindgen_ty_38::__IFLA_IPOIB_MAX;
1819 #[repr(u32)]
1820 #[non_exhaustive]
1821 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1822 pub enum _bindgen_ty_38 {
1823 IFLA_IPOIB_UNSPEC = 0,
1824 IFLA_IPOIB_PKEY = 1,
1825 IFLA_IPOIB_MODE = 2,
1826 IFLA_IPOIB_UMCAST = 3,
1827 __IFLA_IPOIB_MAX = 4,
1828 }
1829 pub const IPOIB_MODE_DATAGRAM: _bindgen_ty_39 = _bindgen_ty_39::IPOIB_MODE_DATAGRAM;
1830 pub const IPOIB_MODE_CONNECTED: _bindgen_ty_39 = _bindgen_ty_39::IPOIB_MODE_CONNECTED;
1831 #[repr(u32)]
1832 #[non_exhaustive]
1833 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1834 pub enum _bindgen_ty_39 {
1835 IPOIB_MODE_DATAGRAM = 0,
1836 IPOIB_MODE_CONNECTED = 1,
1837 }
1838 pub const HSR_PROTOCOL_HSR: _bindgen_ty_40 = _bindgen_ty_40::HSR_PROTOCOL_HSR;
1839 pub const HSR_PROTOCOL_PRP: _bindgen_ty_40 = _bindgen_ty_40::HSR_PROTOCOL_PRP;
1840 pub const HSR_PROTOCOL_MAX: _bindgen_ty_40 = _bindgen_ty_40::HSR_PROTOCOL_MAX;
1841 #[repr(u32)]
1842 #[non_exhaustive]
1843 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1844 pub enum _bindgen_ty_40 {
1845 HSR_PROTOCOL_HSR = 0,
1846 HSR_PROTOCOL_PRP = 1,
1847 HSR_PROTOCOL_MAX = 2,
1848 }
1849 pub const IFLA_HSR_UNSPEC: _bindgen_ty_41 = _bindgen_ty_41::IFLA_HSR_UNSPEC;
1850 pub const IFLA_HSR_SLAVE1: _bindgen_ty_41 = _bindgen_ty_41::IFLA_HSR_SLAVE1;
1851 pub const IFLA_HSR_SLAVE2: _bindgen_ty_41 = _bindgen_ty_41::IFLA_HSR_SLAVE2;
1852 pub const IFLA_HSR_MULTICAST_SPEC: _bindgen_ty_41 = _bindgen_ty_41::IFLA_HSR_MULTICAST_SPEC;
1853 pub const IFLA_HSR_SUPERVISION_ADDR: _bindgen_ty_41 = _bindgen_ty_41::IFLA_HSR_SUPERVISION_ADDR;
1854 pub const IFLA_HSR_SEQ_NR: _bindgen_ty_41 = _bindgen_ty_41::IFLA_HSR_SEQ_NR;
1855 pub const IFLA_HSR_VERSION: _bindgen_ty_41 = _bindgen_ty_41::IFLA_HSR_VERSION;
1856 pub const IFLA_HSR_PROTOCOL: _bindgen_ty_41 = _bindgen_ty_41::IFLA_HSR_PROTOCOL;
1857 pub const __IFLA_HSR_MAX: _bindgen_ty_41 = _bindgen_ty_41::__IFLA_HSR_MAX;
1858 #[repr(u32)]
1859 #[non_exhaustive]
1860 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1861 pub enum _bindgen_ty_41 {
1862 IFLA_HSR_UNSPEC = 0,
1863 IFLA_HSR_SLAVE1 = 1,
1864 IFLA_HSR_SLAVE2 = 2,
1865 IFLA_HSR_MULTICAST_SPEC = 3,
1866 IFLA_HSR_SUPERVISION_ADDR = 4,
1867 IFLA_HSR_SEQ_NR = 5,
1868 IFLA_HSR_VERSION = 6,
1869 IFLA_HSR_PROTOCOL = 7,
1870 __IFLA_HSR_MAX = 8,
1871 }
1872 #[repr(C)]
1873 #[derive(Debug, Copy, Clone)]
1874 pub struct if_stats_msg {
1875 pub family: __u8,
1876 pub pad1: __u8,
1877 pub pad2: __u16,
1878 pub ifindex: __u32,
1879 pub filter_mask: __u32,
1880 }
1881 pub const IFLA_STATS_UNSPEC: _bindgen_ty_42 = _bindgen_ty_42::IFLA_STATS_UNSPEC;
1882 pub const IFLA_STATS_LINK_64: _bindgen_ty_42 = _bindgen_ty_42::IFLA_STATS_LINK_64;
1883 pub const IFLA_STATS_LINK_XSTATS: _bindgen_ty_42 = _bindgen_ty_42::IFLA_STATS_LINK_XSTATS;
1884 pub const IFLA_STATS_LINK_XSTATS_SLAVE: _bindgen_ty_42 = _bindgen_ty_42::IFLA_STATS_LINK_XSTATS_SLAVE;
1885 pub const IFLA_STATS_LINK_OFFLOAD_XSTATS: _bindgen_ty_42 = _bindgen_ty_42::IFLA_STATS_LINK_OFFLOAD_XSTATS;
1886 pub const IFLA_STATS_AF_SPEC: _bindgen_ty_42 = _bindgen_ty_42::IFLA_STATS_AF_SPEC;
1887 pub const __IFLA_STATS_MAX: _bindgen_ty_42 = _bindgen_ty_42::__IFLA_STATS_MAX;
1888 #[repr(u32)]
1889 #[non_exhaustive]
1890 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1891 pub enum _bindgen_ty_42 {
1892 IFLA_STATS_UNSPEC = 0,
1893 IFLA_STATS_LINK_64 = 1,
1894 IFLA_STATS_LINK_XSTATS = 2,
1895 IFLA_STATS_LINK_XSTATS_SLAVE = 3,
1896 IFLA_STATS_LINK_OFFLOAD_XSTATS = 4,
1897 IFLA_STATS_AF_SPEC = 5,
1898 __IFLA_STATS_MAX = 6,
1899 }
1900 pub const IFLA_STATS_GETSET_UNSPEC: _bindgen_ty_43 = _bindgen_ty_43::IFLA_STATS_GETSET_UNSPEC;
1901 pub const IFLA_STATS_GET_FILTERS: _bindgen_ty_43 = _bindgen_ty_43::IFLA_STATS_GET_FILTERS;
1902 pub const IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS: _bindgen_ty_43 = _bindgen_ty_43::IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS;
1903 pub const __IFLA_STATS_GETSET_MAX: _bindgen_ty_43 = _bindgen_ty_43::__IFLA_STATS_GETSET_MAX;
1904 #[repr(u32)]
1905 #[non_exhaustive]
1906 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1907 pub enum _bindgen_ty_43 {
1908 IFLA_STATS_GETSET_UNSPEC = 0,
1909 IFLA_STATS_GET_FILTERS = 1,
1910 IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS = 2,
1911 __IFLA_STATS_GETSET_MAX = 3,
1912 }
1913 pub const LINK_XSTATS_TYPE_UNSPEC: _bindgen_ty_44 = _bindgen_ty_44::LINK_XSTATS_TYPE_UNSPEC;
1914 pub const LINK_XSTATS_TYPE_BRIDGE: _bindgen_ty_44 = _bindgen_ty_44::LINK_XSTATS_TYPE_BRIDGE;
1915 pub const LINK_XSTATS_TYPE_BOND: _bindgen_ty_44 = _bindgen_ty_44::LINK_XSTATS_TYPE_BOND;
1916 pub const __LINK_XSTATS_TYPE_MAX: _bindgen_ty_44 = _bindgen_ty_44::__LINK_XSTATS_TYPE_MAX;
1917 #[repr(u32)]
1918 #[non_exhaustive]
1919 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1920 pub enum _bindgen_ty_44 {
1921 LINK_XSTATS_TYPE_UNSPEC = 0,
1922 LINK_XSTATS_TYPE_BRIDGE = 1,
1923 LINK_XSTATS_TYPE_BOND = 2,
1924 __LINK_XSTATS_TYPE_MAX = 3,
1925 }
1926 pub const IFLA_OFFLOAD_XSTATS_UNSPEC: _bindgen_ty_45 = _bindgen_ty_45::IFLA_OFFLOAD_XSTATS_UNSPEC;
1927 pub const IFLA_OFFLOAD_XSTATS_CPU_HIT: _bindgen_ty_45 = _bindgen_ty_45::IFLA_OFFLOAD_XSTATS_CPU_HIT;
1928 pub const IFLA_OFFLOAD_XSTATS_HW_S_INFO: _bindgen_ty_45 = _bindgen_ty_45::IFLA_OFFLOAD_XSTATS_HW_S_INFO;
1929 pub const IFLA_OFFLOAD_XSTATS_L3_STATS: _bindgen_ty_45 = _bindgen_ty_45::IFLA_OFFLOAD_XSTATS_L3_STATS;
1930 pub const __IFLA_OFFLOAD_XSTATS_MAX: _bindgen_ty_45 = _bindgen_ty_45::__IFLA_OFFLOAD_XSTATS_MAX;
1931 #[repr(u32)]
1932 #[non_exhaustive]
1933 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1934 pub enum _bindgen_ty_45 {
1935 IFLA_OFFLOAD_XSTATS_UNSPEC = 0,
1936 IFLA_OFFLOAD_XSTATS_CPU_HIT = 1,
1937 IFLA_OFFLOAD_XSTATS_HW_S_INFO = 2,
1938 IFLA_OFFLOAD_XSTATS_L3_STATS = 3,
1939 __IFLA_OFFLOAD_XSTATS_MAX = 4,
1940 }
1941 pub const IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC: _bindgen_ty_46 = _bindgen_ty_46::IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC;
1942 pub const IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST: _bindgen_ty_46 = _bindgen_ty_46::IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST;
1943 pub const IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED: _bindgen_ty_46 = _bindgen_ty_46::IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED;
1944 pub const __IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX: _bindgen_ty_46 = _bindgen_ty_46::__IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX;
1945 #[repr(u32)]
1946 #[non_exhaustive]
1947 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1948 pub enum _bindgen_ty_46 {
1949 IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC = 0,
1950 IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST = 1,
1951 IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED = 2,
1952 __IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX = 3,
1953 }
1954 pub const XDP_ATTACHED_NONE: _bindgen_ty_47 = _bindgen_ty_47::XDP_ATTACHED_NONE;
1955 pub const XDP_ATTACHED_DRV: _bindgen_ty_47 = _bindgen_ty_47::XDP_ATTACHED_DRV;
1956 pub const XDP_ATTACHED_SKB: _bindgen_ty_47 = _bindgen_ty_47::XDP_ATTACHED_SKB;
1957 pub const XDP_ATTACHED_HW: _bindgen_ty_47 = _bindgen_ty_47::XDP_ATTACHED_HW;
1958 pub const XDP_ATTACHED_MULTI: _bindgen_ty_47 = _bindgen_ty_47::XDP_ATTACHED_MULTI;
1959 #[repr(u32)]
1960 #[non_exhaustive]
1961 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1962 pub enum _bindgen_ty_47 {
1963 XDP_ATTACHED_NONE = 0,
1964 XDP_ATTACHED_DRV = 1,
1965 XDP_ATTACHED_SKB = 2,
1966 XDP_ATTACHED_HW = 3,
1967 XDP_ATTACHED_MULTI = 4,
1968 }
1969 pub const IFLA_XDP_UNSPEC: _bindgen_ty_48 = _bindgen_ty_48::IFLA_XDP_UNSPEC;
1970 pub const IFLA_XDP_FD: _bindgen_ty_48 = _bindgen_ty_48::IFLA_XDP_FD;
1971 pub const IFLA_XDP_ATTACHED: _bindgen_ty_48 = _bindgen_ty_48::IFLA_XDP_ATTACHED;
1972 pub const IFLA_XDP_FLAGS: _bindgen_ty_48 = _bindgen_ty_48::IFLA_XDP_FLAGS;
1973 pub const IFLA_XDP_PROG_ID: _bindgen_ty_48 = _bindgen_ty_48::IFLA_XDP_PROG_ID;
1974 pub const IFLA_XDP_DRV_PROG_ID: _bindgen_ty_48 = _bindgen_ty_48::IFLA_XDP_DRV_PROG_ID;
1975 pub const IFLA_XDP_SKB_PROG_ID: _bindgen_ty_48 = _bindgen_ty_48::IFLA_XDP_SKB_PROG_ID;
1976 pub const IFLA_XDP_HW_PROG_ID: _bindgen_ty_48 = _bindgen_ty_48::IFLA_XDP_HW_PROG_ID;
1977 pub const IFLA_XDP_EXPECTED_FD: _bindgen_ty_48 = _bindgen_ty_48::IFLA_XDP_EXPECTED_FD;
1978 pub const __IFLA_XDP_MAX: _bindgen_ty_48 = _bindgen_ty_48::__IFLA_XDP_MAX;
1979 #[repr(u32)]
1980 #[non_exhaustive]
1981 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1982 pub enum _bindgen_ty_48 {
1983 IFLA_XDP_UNSPEC = 0,
1984 IFLA_XDP_FD = 1,
1985 IFLA_XDP_ATTACHED = 2,
1986 IFLA_XDP_FLAGS = 3,
1987 IFLA_XDP_PROG_ID = 4,
1988 IFLA_XDP_DRV_PROG_ID = 5,
1989 IFLA_XDP_SKB_PROG_ID = 6,
1990 IFLA_XDP_HW_PROG_ID = 7,
1991 IFLA_XDP_EXPECTED_FD = 8,
1992 __IFLA_XDP_MAX = 9,
1993 }
1994 pub const IFLA_EVENT_NONE: _bindgen_ty_49 = _bindgen_ty_49::IFLA_EVENT_NONE;
1995 pub const IFLA_EVENT_REBOOT: _bindgen_ty_49 = _bindgen_ty_49::IFLA_EVENT_REBOOT;
1996 pub const IFLA_EVENT_FEATURES: _bindgen_ty_49 = _bindgen_ty_49::IFLA_EVENT_FEATURES;
1997 pub const IFLA_EVENT_BONDING_FAILOVER: _bindgen_ty_49 = _bindgen_ty_49::IFLA_EVENT_BONDING_FAILOVER;
1998 pub const IFLA_EVENT_NOTIFY_PEERS: _bindgen_ty_49 = _bindgen_ty_49::IFLA_EVENT_NOTIFY_PEERS;
1999 pub const IFLA_EVENT_IGMP_RESEND: _bindgen_ty_49 = _bindgen_ty_49::IFLA_EVENT_IGMP_RESEND;
2000 pub const IFLA_EVENT_BONDING_OPTIONS: _bindgen_ty_49 = _bindgen_ty_49::IFLA_EVENT_BONDING_OPTIONS;
2001 #[repr(u32)]
2002 #[non_exhaustive]
2003 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2004 pub enum _bindgen_ty_49 {
2005 IFLA_EVENT_NONE = 0,
2006 IFLA_EVENT_REBOOT = 1,
2007 IFLA_EVENT_FEATURES = 2,
2008 IFLA_EVENT_BONDING_FAILOVER = 3,
2009 IFLA_EVENT_NOTIFY_PEERS = 4,
2010 IFLA_EVENT_IGMP_RESEND = 5,
2011 IFLA_EVENT_BONDING_OPTIONS = 6,
2012 }
2013 pub const IFLA_TUN_UNSPEC: _bindgen_ty_50 = _bindgen_ty_50::IFLA_TUN_UNSPEC;
2014 pub const IFLA_TUN_OWNER: _bindgen_ty_50 = _bindgen_ty_50::IFLA_TUN_OWNER;
2015 pub const IFLA_TUN_GROUP: _bindgen_ty_50 = _bindgen_ty_50::IFLA_TUN_GROUP;
2016 pub const IFLA_TUN_TYPE: _bindgen_ty_50 = _bindgen_ty_50::IFLA_TUN_TYPE;
2017 pub const IFLA_TUN_PI: _bindgen_ty_50 = _bindgen_ty_50::IFLA_TUN_PI;
2018 pub const IFLA_TUN_VNET_HDR: _bindgen_ty_50 = _bindgen_ty_50::IFLA_TUN_VNET_HDR;
2019 pub const IFLA_TUN_PERSIST: _bindgen_ty_50 = _bindgen_ty_50::IFLA_TUN_PERSIST;
2020 pub const IFLA_TUN_MULTI_QUEUE: _bindgen_ty_50 = _bindgen_ty_50::IFLA_TUN_MULTI_QUEUE;
2021 pub const IFLA_TUN_NUM_QUEUES: _bindgen_ty_50 = _bindgen_ty_50::IFLA_TUN_NUM_QUEUES;
2022 pub const IFLA_TUN_NUM_DISABLED_QUEUES: _bindgen_ty_50 = _bindgen_ty_50::IFLA_TUN_NUM_DISABLED_QUEUES;
2023 pub const __IFLA_TUN_MAX: _bindgen_ty_50 = _bindgen_ty_50::__IFLA_TUN_MAX;
2024 #[repr(u32)]
2025 #[non_exhaustive]
2026 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2027 pub enum _bindgen_ty_50 {
2028 IFLA_TUN_UNSPEC = 0,
2029 IFLA_TUN_OWNER = 1,
2030 IFLA_TUN_GROUP = 2,
2031 IFLA_TUN_TYPE = 3,
2032 IFLA_TUN_PI = 4,
2033 IFLA_TUN_VNET_HDR = 5,
2034 IFLA_TUN_PERSIST = 6,
2035 IFLA_TUN_MULTI_QUEUE = 7,
2036 IFLA_TUN_NUM_QUEUES = 8,
2037 IFLA_TUN_NUM_DISABLED_QUEUES = 9,
2038 __IFLA_TUN_MAX = 10,
2039 }
2040 pub const IFLA_RMNET_UNSPEC: _bindgen_ty_51 = _bindgen_ty_51::IFLA_RMNET_UNSPEC;
2041 pub const IFLA_RMNET_MUX_ID: _bindgen_ty_51 = _bindgen_ty_51::IFLA_RMNET_MUX_ID;
2042 pub const IFLA_RMNET_FLAGS: _bindgen_ty_51 = _bindgen_ty_51::IFLA_RMNET_FLAGS;
2043 pub const __IFLA_RMNET_MAX: _bindgen_ty_51 = _bindgen_ty_51::__IFLA_RMNET_MAX;
2044 #[repr(u32)]
2045 #[non_exhaustive]
2046 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2047 pub enum _bindgen_ty_51 {
2048 IFLA_RMNET_UNSPEC = 0,
2049 IFLA_RMNET_MUX_ID = 1,
2050 IFLA_RMNET_FLAGS = 2,
2051 __IFLA_RMNET_MAX = 3,
2052 }
2053 #[repr(C)]
2054 #[derive(Debug, Copy, Clone)]
2055 pub struct ifla_rmnet_flags {
2056 pub flags: __u32,
2057 pub mask: __u32,
2058 }
2059 pub const IFLA_MCTP_UNSPEC: _bindgen_ty_52 = _bindgen_ty_52::IFLA_MCTP_UNSPEC;
2060 pub const IFLA_MCTP_NET: _bindgen_ty_52 = _bindgen_ty_52::IFLA_MCTP_NET;
2061 pub const __IFLA_MCTP_MAX: _bindgen_ty_52 = _bindgen_ty_52::__IFLA_MCTP_MAX;
2062 #[repr(u32)]
2063 #[non_exhaustive]
2064 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2065 pub enum _bindgen_ty_52 {
2066 IFLA_MCTP_UNSPEC = 0,
2067 IFLA_MCTP_NET = 1,
2068 __IFLA_MCTP_MAX = 2,
2069 }
2070 pub const IFLA_DSA_UNSPEC: _bindgen_ty_53 = _bindgen_ty_53::IFLA_DSA_UNSPEC;
2071 pub const IFLA_DSA_MASTER: _bindgen_ty_53 = _bindgen_ty_53::IFLA_DSA_MASTER;
2072 pub const __IFLA_DSA_MAX: _bindgen_ty_53 = _bindgen_ty_53::__IFLA_DSA_MAX;
2073 #[repr(u32)]
2074 #[non_exhaustive]
2075 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2076 pub enum _bindgen_ty_53 {
2077 IFLA_DSA_UNSPEC = 0,
2078 IFLA_DSA_MASTER = 1,
2079 __IFLA_DSA_MAX = 2,
2080 }
2081 #[repr(C)]
2082 #[derive(Debug, Copy, Clone)]
2083 pub struct ifaddrmsg {
2084 pub ifa_family: __u8,
2085 pub ifa_prefixlen: __u8,
2086 pub ifa_flags: __u8,
2087 pub ifa_scope: __u8,
2088 pub ifa_index: __u32,
2089 }
2090 pub const IFA_UNSPEC: _bindgen_ty_54 = _bindgen_ty_54::IFA_UNSPEC;
2091 pub const IFA_ADDRESS: _bindgen_ty_54 = _bindgen_ty_54::IFA_ADDRESS;
2092 pub const IFA_LOCAL: _bindgen_ty_54 = _bindgen_ty_54::IFA_LOCAL;
2093 pub const IFA_LABEL: _bindgen_ty_54 = _bindgen_ty_54::IFA_LABEL;
2094 pub const IFA_BROADCAST: _bindgen_ty_54 = _bindgen_ty_54::IFA_BROADCAST;
2095 pub const IFA_ANYCAST: _bindgen_ty_54 = _bindgen_ty_54::IFA_ANYCAST;
2096 pub const IFA_CACHEINFO: _bindgen_ty_54 = _bindgen_ty_54::IFA_CACHEINFO;
2097 pub const IFA_MULTICAST: _bindgen_ty_54 = _bindgen_ty_54::IFA_MULTICAST;
2098 pub const IFA_FLAGS: _bindgen_ty_54 = _bindgen_ty_54::IFA_FLAGS;
2099 pub const IFA_RT_PRIORITY: _bindgen_ty_54 = _bindgen_ty_54::IFA_RT_PRIORITY;
2100 pub const IFA_TARGET_NETNSID: _bindgen_ty_54 = _bindgen_ty_54::IFA_TARGET_NETNSID;
2101 pub const IFA_PROTO: _bindgen_ty_54 = _bindgen_ty_54::IFA_PROTO;
2102 pub const __IFA_MAX: _bindgen_ty_54 = _bindgen_ty_54::__IFA_MAX;
2103 #[repr(u32)]
2104 #[non_exhaustive]
2105 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2106 pub enum _bindgen_ty_54 {
2107 IFA_UNSPEC = 0,
2108 IFA_ADDRESS = 1,
2109 IFA_LOCAL = 2,
2110 IFA_LABEL = 3,
2111 IFA_BROADCAST = 4,
2112 IFA_ANYCAST = 5,
2113 IFA_CACHEINFO = 6,
2114 IFA_MULTICAST = 7,
2115 IFA_FLAGS = 8,
2116 IFA_RT_PRIORITY = 9,
2117 IFA_TARGET_NETNSID = 10,
2118 IFA_PROTO = 11,
2119 __IFA_MAX = 12,
2120 }
2121 #[repr(C)]
2122 #[derive(Debug, Copy, Clone)]
2123 pub struct ifa_cacheinfo {
2124 pub ifa_prefered: __u32,
2125 pub ifa_valid: __u32,
2126 pub cstamp: __u32,
2127 pub tstamp: __u32,
2128 }
2129 #[repr(C)]
2130 #[derive(Debug, Copy, Clone)]
2131 pub struct ndmsg {
2132 pub ndm_family: __u8,
2133 pub ndm_pad1: __u8,
2134 pub ndm_pad2: __u16,
2135 pub ndm_ifindex: __s32,
2136 pub ndm_state: __u16,
2137 pub ndm_flags: __u8,
2138 pub ndm_type: __u8,
2139 }
2140 pub const NDA_UNSPEC: _bindgen_ty_55 = _bindgen_ty_55::NDA_UNSPEC;
2141 pub const NDA_DST: _bindgen_ty_55 = _bindgen_ty_55::NDA_DST;
2142 pub const NDA_LLADDR: _bindgen_ty_55 = _bindgen_ty_55::NDA_LLADDR;
2143 pub const NDA_CACHEINFO: _bindgen_ty_55 = _bindgen_ty_55::NDA_CACHEINFO;
2144 pub const NDA_PROBES: _bindgen_ty_55 = _bindgen_ty_55::NDA_PROBES;
2145 pub const NDA_VLAN: _bindgen_ty_55 = _bindgen_ty_55::NDA_VLAN;
2146 pub const NDA_PORT: _bindgen_ty_55 = _bindgen_ty_55::NDA_PORT;
2147 pub const NDA_VNI: _bindgen_ty_55 = _bindgen_ty_55::NDA_VNI;
2148 pub const NDA_IFINDEX: _bindgen_ty_55 = _bindgen_ty_55::NDA_IFINDEX;
2149 pub const NDA_MASTER: _bindgen_ty_55 = _bindgen_ty_55::NDA_MASTER;
2150 pub const NDA_LINK_NETNSID: _bindgen_ty_55 = _bindgen_ty_55::NDA_LINK_NETNSID;
2151 pub const NDA_SRC_VNI: _bindgen_ty_55 = _bindgen_ty_55::NDA_SRC_VNI;
2152 pub const NDA_PROTOCOL: _bindgen_ty_55 = _bindgen_ty_55::NDA_PROTOCOL;
2153 pub const NDA_NH_ID: _bindgen_ty_55 = _bindgen_ty_55::NDA_NH_ID;
2154 pub const NDA_FDB_EXT_ATTRS: _bindgen_ty_55 = _bindgen_ty_55::NDA_FDB_EXT_ATTRS;
2155 pub const NDA_FLAGS_EXT: _bindgen_ty_55 = _bindgen_ty_55::NDA_FLAGS_EXT;
2156 pub const NDA_NDM_STATE_MASK: _bindgen_ty_55 = _bindgen_ty_55::NDA_NDM_STATE_MASK;
2157 pub const NDA_NDM_FLAGS_MASK: _bindgen_ty_55 = _bindgen_ty_55::NDA_NDM_FLAGS_MASK;
2158 pub const __NDA_MAX: _bindgen_ty_55 = _bindgen_ty_55::__NDA_MAX;
2159 #[repr(u32)]
2160 #[non_exhaustive]
2161 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2162 pub enum _bindgen_ty_55 {
2163 NDA_UNSPEC = 0,
2164 NDA_DST = 1,
2165 NDA_LLADDR = 2,
2166 NDA_CACHEINFO = 3,
2167 NDA_PROBES = 4,
2168 NDA_VLAN = 5,
2169 NDA_PORT = 6,
2170 NDA_VNI = 7,
2171 NDA_IFINDEX = 8,
2172 NDA_MASTER = 9,
2173 NDA_LINK_NETNSID = 10,
2174 NDA_SRC_VNI = 11,
2175 NDA_PROTOCOL = 12,
2176 NDA_NH_ID = 13,
2177 NDA_FDB_EXT_ATTRS = 14,
2178 NDA_FLAGS_EXT = 15,
2179 NDA_NDM_STATE_MASK = 16,
2180 NDA_NDM_FLAGS_MASK = 17,
2181 __NDA_MAX = 18,
2182 }
2183 #[repr(C)]
2184 #[derive(Debug, Copy, Clone)]
2185 pub struct nda_cacheinfo {
2186 pub ndm_confirmed: __u32,
2187 pub ndm_used: __u32,
2188 pub ndm_updated: __u32,
2189 pub ndm_refcnt: __u32,
2190 }
2191 #[repr(C)]
2192 #[derive(Debug, Copy, Clone)]
2193 pub struct ndt_stats {
2194 pub ndts_allocs: __u64,
2195 pub ndts_destroys: __u64,
2196 pub ndts_hash_grows: __u64,
2197 pub ndts_res_failed: __u64,
2198 pub ndts_lookups: __u64,
2199 pub ndts_hits: __u64,
2200 pub ndts_rcv_probes_mcast: __u64,
2201 pub ndts_rcv_probes_ucast: __u64,
2202 pub ndts_periodic_gc_runs: __u64,
2203 pub ndts_forced_gc_runs: __u64,
2204 pub ndts_table_fulls: __u64,
2205 }
2206 pub const NDTPA_UNSPEC: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_UNSPEC;
2207 pub const NDTPA_IFINDEX: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_IFINDEX;
2208 pub const NDTPA_REFCNT: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_REFCNT;
2209 pub const NDTPA_REACHABLE_TIME: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_REACHABLE_TIME;
2210 pub const NDTPA_BASE_REACHABLE_TIME: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_BASE_REACHABLE_TIME;
2211 pub const NDTPA_RETRANS_TIME: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_RETRANS_TIME;
2212 pub const NDTPA_GC_STALETIME: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_GC_STALETIME;
2213 pub const NDTPA_DELAY_PROBE_TIME: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_DELAY_PROBE_TIME;
2214 pub const NDTPA_QUEUE_LEN: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_QUEUE_LEN;
2215 pub const NDTPA_APP_PROBES: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_APP_PROBES;
2216 pub const NDTPA_UCAST_PROBES: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_UCAST_PROBES;
2217 pub const NDTPA_MCAST_PROBES: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_MCAST_PROBES;
2218 pub const NDTPA_ANYCAST_DELAY: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_ANYCAST_DELAY;
2219 pub const NDTPA_PROXY_DELAY: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_PROXY_DELAY;
2220 pub const NDTPA_PROXY_QLEN: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_PROXY_QLEN;
2221 pub const NDTPA_LOCKTIME: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_LOCKTIME;
2222 pub const NDTPA_QUEUE_LENBYTES: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_QUEUE_LENBYTES;
2223 pub const NDTPA_MCAST_REPROBES: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_MCAST_REPROBES;
2224 pub const NDTPA_PAD: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_PAD;
2225 pub const NDTPA_INTERVAL_PROBE_TIME_MS: _bindgen_ty_56 = _bindgen_ty_56::NDTPA_INTERVAL_PROBE_TIME_MS;
2226 pub const __NDTPA_MAX: _bindgen_ty_56 = _bindgen_ty_56::__NDTPA_MAX;
2227 #[repr(u32)]
2228 #[non_exhaustive]
2229 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2230 pub enum _bindgen_ty_56 {
2231 NDTPA_UNSPEC = 0,
2232 NDTPA_IFINDEX = 1,
2233 NDTPA_REFCNT = 2,
2234 NDTPA_REACHABLE_TIME = 3,
2235 NDTPA_BASE_REACHABLE_TIME = 4,
2236 NDTPA_RETRANS_TIME = 5,
2237 NDTPA_GC_STALETIME = 6,
2238 NDTPA_DELAY_PROBE_TIME = 7,
2239 NDTPA_QUEUE_LEN = 8,
2240 NDTPA_APP_PROBES = 9,
2241 NDTPA_UCAST_PROBES = 10,
2242 NDTPA_MCAST_PROBES = 11,
2243 NDTPA_ANYCAST_DELAY = 12,
2244 NDTPA_PROXY_DELAY = 13,
2245 NDTPA_PROXY_QLEN = 14,
2246 NDTPA_LOCKTIME = 15,
2247 NDTPA_QUEUE_LENBYTES = 16,
2248 NDTPA_MCAST_REPROBES = 17,
2249 NDTPA_PAD = 18,
2250 NDTPA_INTERVAL_PROBE_TIME_MS = 19,
2251 __NDTPA_MAX = 20,
2252 }
2253 #[repr(C)]
2254 #[derive(Debug, Copy, Clone)]
2255 pub struct ndtmsg {
2256 pub ndtm_family: __u8,
2257 pub ndtm_pad1: __u8,
2258 pub ndtm_pad2: __u16,
2259 }
2260 #[repr(C)]
2261 #[derive(Debug, Copy, Clone)]
2262 pub struct ndt_config {
2263 pub ndtc_key_len: __u16,
2264 pub ndtc_entry_size: __u16,
2265 pub ndtc_entries: __u32,
2266 pub ndtc_last_flush: __u32,
2267 pub ndtc_last_rand: __u32,
2268 pub ndtc_hash_rnd: __u32,
2269 pub ndtc_hash_mask: __u32,
2270 pub ndtc_hash_chain_gc: __u32,
2271 pub ndtc_proxy_qlen: __u32,
2272 }
2273 pub const NDTA_UNSPEC: _bindgen_ty_57 = _bindgen_ty_57::NDTA_UNSPEC;
2274 pub const NDTA_NAME: _bindgen_ty_57 = _bindgen_ty_57::NDTA_NAME;
2275 pub const NDTA_THRESH1: _bindgen_ty_57 = _bindgen_ty_57::NDTA_THRESH1;
2276 pub const NDTA_THRESH2: _bindgen_ty_57 = _bindgen_ty_57::NDTA_THRESH2;
2277 pub const NDTA_THRESH3: _bindgen_ty_57 = _bindgen_ty_57::NDTA_THRESH3;
2278 pub const NDTA_CONFIG: _bindgen_ty_57 = _bindgen_ty_57::NDTA_CONFIG;
2279 pub const NDTA_PARMS: _bindgen_ty_57 = _bindgen_ty_57::NDTA_PARMS;
2280 pub const NDTA_STATS: _bindgen_ty_57 = _bindgen_ty_57::NDTA_STATS;
2281 pub const NDTA_GC_INTERVAL: _bindgen_ty_57 = _bindgen_ty_57::NDTA_GC_INTERVAL;
2282 pub const NDTA_PAD: _bindgen_ty_57 = _bindgen_ty_57::NDTA_PAD;
2283 pub const __NDTA_MAX: _bindgen_ty_57 = _bindgen_ty_57::__NDTA_MAX;
2284 #[repr(u32)]
2285 #[non_exhaustive]
2286 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2287 pub enum _bindgen_ty_57 {
2288 NDTA_UNSPEC = 0,
2289 NDTA_NAME = 1,
2290 NDTA_THRESH1 = 2,
2291 NDTA_THRESH2 = 3,
2292 NDTA_THRESH3 = 4,
2293 NDTA_CONFIG = 5,
2294 NDTA_PARMS = 6,
2295 NDTA_STATS = 7,
2296 NDTA_GC_INTERVAL = 8,
2297 NDTA_PAD = 9,
2298 __NDTA_MAX = 10,
2299 }
2300 pub const FDB_NOTIFY_BIT: _bindgen_ty_58 = _bindgen_ty_58::FDB_NOTIFY_BIT;
2301 pub const FDB_NOTIFY_INACTIVE_BIT: _bindgen_ty_58 = _bindgen_ty_58::FDB_NOTIFY_INACTIVE_BIT;
2302 #[repr(u32)]
2303 #[non_exhaustive]
2304 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2305 pub enum _bindgen_ty_58 {
2306 FDB_NOTIFY_BIT = 1,
2307 FDB_NOTIFY_INACTIVE_BIT = 2,
2308 }
2309 pub const NFEA_UNSPEC: _bindgen_ty_59 = _bindgen_ty_59::NFEA_UNSPEC;
2310 pub const NFEA_ACTIVITY_NOTIFY: _bindgen_ty_59 = _bindgen_ty_59::NFEA_ACTIVITY_NOTIFY;
2311 pub const NFEA_DONT_REFRESH: _bindgen_ty_59 = _bindgen_ty_59::NFEA_DONT_REFRESH;
2312 pub const __NFEA_MAX: _bindgen_ty_59 = _bindgen_ty_59::__NFEA_MAX;
2313 #[repr(u32)]
2314 #[non_exhaustive]
2315 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2316 pub enum _bindgen_ty_59 {
2317 NFEA_UNSPEC = 0,
2318 NFEA_ACTIVITY_NOTIFY = 1,
2319 NFEA_DONT_REFRESH = 2,
2320 __NFEA_MAX = 3,
2321 }
2322 pub const RTM_BASE: _bindgen_ty_60 = _bindgen_ty_60::RTM_BASE;
2323 pub const RTM_NEWLINK: _bindgen_ty_60 = _bindgen_ty_60::RTM_BASE;
2324 pub const RTM_DELLINK: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELLINK;
2325 pub const RTM_GETLINK: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETLINK;
2326 pub const RTM_SETLINK: _bindgen_ty_60 = _bindgen_ty_60::RTM_SETLINK;
2327 pub const RTM_NEWADDR: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWADDR;
2328 pub const RTM_DELADDR: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELADDR;
2329 pub const RTM_GETADDR: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETADDR;
2330 pub const RTM_NEWROUTE: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWROUTE;
2331 pub const RTM_DELROUTE: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELROUTE;
2332 pub const RTM_GETROUTE: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETROUTE;
2333 pub const RTM_NEWNEIGH: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWNEIGH;
2334 pub const RTM_DELNEIGH: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELNEIGH;
2335 pub const RTM_GETNEIGH: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETNEIGH;
2336 pub const RTM_NEWRULE: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWRULE;
2337 pub const RTM_DELRULE: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELRULE;
2338 pub const RTM_GETRULE: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETRULE;
2339 pub const RTM_NEWQDISC: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWQDISC;
2340 pub const RTM_DELQDISC: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELQDISC;
2341 pub const RTM_GETQDISC: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETQDISC;
2342 pub const RTM_NEWTCLASS: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWTCLASS;
2343 pub const RTM_DELTCLASS: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELTCLASS;
2344 pub const RTM_GETTCLASS: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETTCLASS;
2345 pub const RTM_NEWTFILTER: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWTFILTER;
2346 pub const RTM_DELTFILTER: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELTFILTER;
2347 pub const RTM_GETTFILTER: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETTFILTER;
2348 pub const RTM_NEWACTION: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWACTION;
2349 pub const RTM_DELACTION: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELACTION;
2350 pub const RTM_GETACTION: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETACTION;
2351 pub const RTM_NEWPREFIX: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWPREFIX;
2352 pub const RTM_GETMULTICAST: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETMULTICAST;
2353 pub const RTM_GETANYCAST: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETANYCAST;
2354 pub const RTM_NEWNEIGHTBL: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWNEIGHTBL;
2355 pub const RTM_GETNEIGHTBL: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETNEIGHTBL;
2356 pub const RTM_SETNEIGHTBL: _bindgen_ty_60 = _bindgen_ty_60::RTM_SETNEIGHTBL;
2357 pub const RTM_NEWNDUSEROPT: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWNDUSEROPT;
2358 pub const RTM_NEWADDRLABEL: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWADDRLABEL;
2359 pub const RTM_DELADDRLABEL: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELADDRLABEL;
2360 pub const RTM_GETADDRLABEL: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETADDRLABEL;
2361 pub const RTM_GETDCB: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETDCB;
2362 pub const RTM_SETDCB: _bindgen_ty_60 = _bindgen_ty_60::RTM_SETDCB;
2363 pub const RTM_NEWNETCONF: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWNETCONF;
2364 pub const RTM_DELNETCONF: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELNETCONF;
2365 pub const RTM_GETNETCONF: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETNETCONF;
2366 pub const RTM_NEWMDB: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWMDB;
2367 pub const RTM_DELMDB: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELMDB;
2368 pub const RTM_GETMDB: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETMDB;
2369 pub const RTM_NEWNSID: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWNSID;
2370 pub const RTM_DELNSID: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELNSID;
2371 pub const RTM_GETNSID: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETNSID;
2372 pub const RTM_NEWSTATS: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWSTATS;
2373 pub const RTM_GETSTATS: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETSTATS;
2374 pub const RTM_SETSTATS: _bindgen_ty_60 = _bindgen_ty_60::RTM_SETSTATS;
2375 pub const RTM_NEWCACHEREPORT: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWCACHEREPORT;
2376 pub const RTM_NEWCHAIN: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWCHAIN;
2377 pub const RTM_DELCHAIN: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELCHAIN;
2378 pub const RTM_GETCHAIN: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETCHAIN;
2379 pub const RTM_NEWNEXTHOP: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWNEXTHOP;
2380 pub const RTM_DELNEXTHOP: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELNEXTHOP;
2381 pub const RTM_GETNEXTHOP: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETNEXTHOP;
2382 pub const RTM_NEWLINKPROP: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWLINKPROP;
2383 pub const RTM_DELLINKPROP: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELLINKPROP;
2384 pub const RTM_GETLINKPROP: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETLINKPROP;
2385 pub const RTM_NEWVLAN: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWVLAN;
2386 pub const RTM_DELVLAN: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELVLAN;
2387 pub const RTM_GETVLAN: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETVLAN;
2388 pub const RTM_NEWNEXTHOPBUCKET: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWNEXTHOPBUCKET;
2389 pub const RTM_DELNEXTHOPBUCKET: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELNEXTHOPBUCKET;
2390 pub const RTM_GETNEXTHOPBUCKET: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETNEXTHOPBUCKET;
2391 pub const RTM_NEWTUNNEL: _bindgen_ty_60 = _bindgen_ty_60::RTM_NEWTUNNEL;
2392 pub const RTM_DELTUNNEL: _bindgen_ty_60 = _bindgen_ty_60::RTM_DELTUNNEL;
2393 pub const RTM_GETTUNNEL: _bindgen_ty_60 = _bindgen_ty_60::RTM_GETTUNNEL;
2394 pub const __RTM_MAX: _bindgen_ty_60 = _bindgen_ty_60::__RTM_MAX;
2395 #[repr(u32)]
2396 #[non_exhaustive]
2397 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2398 pub enum _bindgen_ty_60 {
2399 RTM_BASE = 16,
2400 RTM_DELLINK = 17,
2401 RTM_GETLINK = 18,
2402 RTM_SETLINK = 19,
2403 RTM_NEWADDR = 20,
2404 RTM_DELADDR = 21,
2405 RTM_GETADDR = 22,
2406 RTM_NEWROUTE = 24,
2407 RTM_DELROUTE = 25,
2408 RTM_GETROUTE = 26,
2409 RTM_NEWNEIGH = 28,
2410 RTM_DELNEIGH = 29,
2411 RTM_GETNEIGH = 30,
2412 RTM_NEWRULE = 32,
2413 RTM_DELRULE = 33,
2414 RTM_GETRULE = 34,
2415 RTM_NEWQDISC = 36,
2416 RTM_DELQDISC = 37,
2417 RTM_GETQDISC = 38,
2418 RTM_NEWTCLASS = 40,
2419 RTM_DELTCLASS = 41,
2420 RTM_GETTCLASS = 42,
2421 RTM_NEWTFILTER = 44,
2422 RTM_DELTFILTER = 45,
2423 RTM_GETTFILTER = 46,
2424 RTM_NEWACTION = 48,
2425 RTM_DELACTION = 49,
2426 RTM_GETACTION = 50,
2427 RTM_NEWPREFIX = 52,
2428 RTM_GETMULTICAST = 58,
2429 RTM_GETANYCAST = 62,
2430 RTM_NEWNEIGHTBL = 64,
2431 RTM_GETNEIGHTBL = 66,
2432 RTM_SETNEIGHTBL = 67,
2433 RTM_NEWNDUSEROPT = 68,
2434 RTM_NEWADDRLABEL = 72,
2435 RTM_DELADDRLABEL = 73,
2436 RTM_GETADDRLABEL = 74,
2437 RTM_GETDCB = 78,
2438 RTM_SETDCB = 79,
2439 RTM_NEWNETCONF = 80,
2440 RTM_DELNETCONF = 81,
2441 RTM_GETNETCONF = 82,
2442 RTM_NEWMDB = 84,
2443 RTM_DELMDB = 85,
2444 RTM_GETMDB = 86,
2445 RTM_NEWNSID = 88,
2446 RTM_DELNSID = 89,
2447 RTM_GETNSID = 90,
2448 RTM_NEWSTATS = 92,
2449 RTM_GETSTATS = 94,
2450 RTM_SETSTATS = 95,
2451 RTM_NEWCACHEREPORT = 96,
2452 RTM_NEWCHAIN = 100,
2453 RTM_DELCHAIN = 101,
2454 RTM_GETCHAIN = 102,
2455 RTM_NEWNEXTHOP = 104,
2456 RTM_DELNEXTHOP = 105,
2457 RTM_GETNEXTHOP = 106,
2458 RTM_NEWLINKPROP = 108,
2459 RTM_DELLINKPROP = 109,
2460 RTM_GETLINKPROP = 110,
2461 RTM_NEWVLAN = 112,
2462 RTM_DELVLAN = 113,
2463 RTM_GETVLAN = 114,
2464 RTM_NEWNEXTHOPBUCKET = 116,
2465 RTM_DELNEXTHOPBUCKET = 117,
2466 RTM_GETNEXTHOPBUCKET = 118,
2467 RTM_NEWTUNNEL = 120,
2468 RTM_DELTUNNEL = 121,
2469 RTM_GETTUNNEL = 122,
2470 __RTM_MAX = 123,
2471 }
2472 #[repr(C)]
2473 #[derive(Debug, Copy, Clone)]
2474 pub struct rtattr {
2475 pub rta_len: crate::ctypes::c_ushort,
2476 pub rta_type: crate::ctypes::c_ushort,
2477 }
2478 #[repr(C)]
2479 #[derive(Debug, Copy, Clone)]
2480 pub struct rtmsg {
2481 pub rtm_family: crate::ctypes::c_uchar,
2482 pub rtm_dst_len: crate::ctypes::c_uchar,
2483 pub rtm_src_len: crate::ctypes::c_uchar,
2484 pub rtm_tos: crate::ctypes::c_uchar,
2485 pub rtm_table: crate::ctypes::c_uchar,
2486 pub rtm_protocol: crate::ctypes::c_uchar,
2487 pub rtm_scope: crate::ctypes::c_uchar,
2488 pub rtm_type: crate::ctypes::c_uchar,
2489 pub rtm_flags: crate::ctypes::c_uint,
2490 }
2491 pub const RTN_UNSPEC: _bindgen_ty_61 = _bindgen_ty_61::RTN_UNSPEC;
2492 pub const RTN_UNICAST: _bindgen_ty_61 = _bindgen_ty_61::RTN_UNICAST;
2493 pub const RTN_LOCAL: _bindgen_ty_61 = _bindgen_ty_61::RTN_LOCAL;
2494 pub const RTN_BROADCAST: _bindgen_ty_61 = _bindgen_ty_61::RTN_BROADCAST;
2495 pub const RTN_ANYCAST: _bindgen_ty_61 = _bindgen_ty_61::RTN_ANYCAST;
2496 pub const RTN_MULTICAST: _bindgen_ty_61 = _bindgen_ty_61::RTN_MULTICAST;
2497 pub const RTN_BLACKHOLE: _bindgen_ty_61 = _bindgen_ty_61::RTN_BLACKHOLE;
2498 pub const RTN_UNREACHABLE: _bindgen_ty_61 = _bindgen_ty_61::RTN_UNREACHABLE;
2499 pub const RTN_PROHIBIT: _bindgen_ty_61 = _bindgen_ty_61::RTN_PROHIBIT;
2500 pub const RTN_THROW: _bindgen_ty_61 = _bindgen_ty_61::RTN_THROW;
2501 pub const RTN_NAT: _bindgen_ty_61 = _bindgen_ty_61::RTN_NAT;
2502 pub const RTN_XRESOLVE: _bindgen_ty_61 = _bindgen_ty_61::RTN_XRESOLVE;
2503 pub const __RTN_MAX: _bindgen_ty_61 = _bindgen_ty_61::__RTN_MAX;
2504 #[repr(u32)]
2505 #[non_exhaustive]
2506 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2507 pub enum _bindgen_ty_61 {
2508 RTN_UNSPEC = 0,
2509 RTN_UNICAST = 1,
2510 RTN_LOCAL = 2,
2511 RTN_BROADCAST = 3,
2512 RTN_ANYCAST = 4,
2513 RTN_MULTICAST = 5,
2514 RTN_BLACKHOLE = 6,
2515 RTN_UNREACHABLE = 7,
2516 RTN_PROHIBIT = 8,
2517 RTN_THROW = 9,
2518 RTN_NAT = 10,
2519 RTN_XRESOLVE = 11,
2520 __RTN_MAX = 12,
2521 }
2522 #[repr(u32)]
2523 #[non_exhaustive]
2524 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2525 pub enum rt_scope_t {
2526 RT_SCOPE_UNIVERSE = 0,
2527 RT_SCOPE_SITE = 200,
2528 RT_SCOPE_LINK = 253,
2529 RT_SCOPE_HOST = 254,
2530 RT_SCOPE_NOWHERE = 255,
2531 }
2532 #[repr(u32)]
2533 #[non_exhaustive]
2534 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2535 pub enum rt_class_t {
2536 RT_TABLE_UNSPEC = 0,
2537 RT_TABLE_COMPAT = 252,
2538 RT_TABLE_DEFAULT = 253,
2539 RT_TABLE_MAIN = 254,
2540 RT_TABLE_LOCAL = 255,
2541 RT_TABLE_MAX = 4294967295,
2542 }
2543 #[repr(u32)]
2544 #[non_exhaustive]
2545 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2546 pub enum rtattr_type_t {
2547 RTA_UNSPEC = 0,
2548 RTA_DST = 1,
2549 RTA_SRC = 2,
2550 RTA_IIF = 3,
2551 RTA_OIF = 4,
2552 RTA_GATEWAY = 5,
2553 RTA_PRIORITY = 6,
2554 RTA_PREFSRC = 7,
2555 RTA_METRICS = 8,
2556 RTA_MULTIPATH = 9,
2557 RTA_PROTOINFO = 10,
2558 RTA_FLOW = 11,
2559 RTA_CACHEINFO = 12,
2560 RTA_SESSION = 13,
2561 RTA_MP_ALGO = 14,
2562 RTA_TABLE = 15,
2563 RTA_MARK = 16,
2564 RTA_MFC_STATS = 17,
2565 RTA_VIA = 18,
2566 RTA_NEWDST = 19,
2567 RTA_PREF = 20,
2568 RTA_ENCAP_TYPE = 21,
2569 RTA_ENCAP = 22,
2570 RTA_EXPIRES = 23,
2571 RTA_PAD = 24,
2572 RTA_UID = 25,
2573 RTA_TTL_PROPAGATE = 26,
2574 RTA_IP_PROTO = 27,
2575 RTA_SPORT = 28,
2576 RTA_DPORT = 29,
2577 RTA_NH_ID = 30,
2578 __RTA_MAX = 31,
2579 }
2580 #[repr(C)]
2581 #[derive(Debug, Copy, Clone)]
2582 pub struct rtnexthop {
2583 pub rtnh_len: crate::ctypes::c_ushort,
2584 pub rtnh_flags: crate::ctypes::c_uchar,
2585 pub rtnh_hops: crate::ctypes::c_uchar,
2586 pub rtnh_ifindex: crate::ctypes::c_int,
2587 }
2588 #[repr(C)]
2589 #[derive(Debug)]
2590 pub struct rtvia {
2591 pub rtvia_family: __kernel_sa_family_t,
2592 pub rtvia_addr: __IncompleteArrayField<__u8>,
2593 }
2594 #[repr(C)]
2595 #[derive(Debug, Copy, Clone)]
2596 pub struct rta_cacheinfo {
2597 pub rta_clntref: __u32,
2598 pub rta_lastuse: __u32,
2599 pub rta_expires: __s32,
2600 pub rta_error: __u32,
2601 pub rta_used: __u32,
2602 pub rta_id: __u32,
2603 pub rta_ts: __u32,
2604 pub rta_tsage: __u32,
2605 }
2606 pub const RTAX_UNSPEC: _bindgen_ty_62 = _bindgen_ty_62::RTAX_UNSPEC;
2607 pub const RTAX_LOCK: _bindgen_ty_62 = _bindgen_ty_62::RTAX_LOCK;
2608 pub const RTAX_MTU: _bindgen_ty_62 = _bindgen_ty_62::RTAX_MTU;
2609 pub const RTAX_WINDOW: _bindgen_ty_62 = _bindgen_ty_62::RTAX_WINDOW;
2610 pub const RTAX_RTT: _bindgen_ty_62 = _bindgen_ty_62::RTAX_RTT;
2611 pub const RTAX_RTTVAR: _bindgen_ty_62 = _bindgen_ty_62::RTAX_RTTVAR;
2612 pub const RTAX_SSTHRESH: _bindgen_ty_62 = _bindgen_ty_62::RTAX_SSTHRESH;
2613 pub const RTAX_CWND: _bindgen_ty_62 = _bindgen_ty_62::RTAX_CWND;
2614 pub const RTAX_ADVMSS: _bindgen_ty_62 = _bindgen_ty_62::RTAX_ADVMSS;
2615 pub const RTAX_REORDERING: _bindgen_ty_62 = _bindgen_ty_62::RTAX_REORDERING;
2616 pub const RTAX_HOPLIMIT: _bindgen_ty_62 = _bindgen_ty_62::RTAX_HOPLIMIT;
2617 pub const RTAX_INITCWND: _bindgen_ty_62 = _bindgen_ty_62::RTAX_INITCWND;
2618 pub const RTAX_FEATURES: _bindgen_ty_62 = _bindgen_ty_62::RTAX_FEATURES;
2619 pub const RTAX_RTO_MIN: _bindgen_ty_62 = _bindgen_ty_62::RTAX_RTO_MIN;
2620 pub const RTAX_INITRWND: _bindgen_ty_62 = _bindgen_ty_62::RTAX_INITRWND;
2621 pub const RTAX_QUICKACK: _bindgen_ty_62 = _bindgen_ty_62::RTAX_QUICKACK;
2622 pub const RTAX_CC_ALGO: _bindgen_ty_62 = _bindgen_ty_62::RTAX_CC_ALGO;
2623 pub const RTAX_FASTOPEN_NO_COOKIE: _bindgen_ty_62 = _bindgen_ty_62::RTAX_FASTOPEN_NO_COOKIE;
2624 pub const __RTAX_MAX: _bindgen_ty_62 = _bindgen_ty_62::__RTAX_MAX;
2625 #[repr(u32)]
2626 #[non_exhaustive]
2627 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2628 pub enum _bindgen_ty_62 {
2629 RTAX_UNSPEC = 0,
2630 RTAX_LOCK = 1,
2631 RTAX_MTU = 2,
2632 RTAX_WINDOW = 3,
2633 RTAX_RTT = 4,
2634 RTAX_RTTVAR = 5,
2635 RTAX_SSTHRESH = 6,
2636 RTAX_CWND = 7,
2637 RTAX_ADVMSS = 8,
2638 RTAX_REORDERING = 9,
2639 RTAX_HOPLIMIT = 10,
2640 RTAX_INITCWND = 11,
2641 RTAX_FEATURES = 12,
2642 RTAX_RTO_MIN = 13,
2643 RTAX_INITRWND = 14,
2644 RTAX_QUICKACK = 15,
2645 RTAX_CC_ALGO = 16,
2646 RTAX_FASTOPEN_NO_COOKIE = 17,
2647 __RTAX_MAX = 18,
2648 }
2649 #[repr(C)]
2650 #[derive(Copy, Clone)]
2651 pub struct rta_session {
2652 pub proto: __u8,
2653 pub pad1: __u8,
2654 pub pad2: __u16,
2655 pub u: rta_session__bindgen_ty_1,
2656 }
2657 #[repr(C)]
2658 #[derive(Copy, Clone)]
2659 pub union rta_session__bindgen_ty_1 {
2660 pub ports: rta_session__bindgen_ty_1__bindgen_ty_1,
2661 pub icmpt: rta_session__bindgen_ty_1__bindgen_ty_2,
2662 pub spi: __u32,
2663 }
2664 #[repr(C)]
2665 #[derive(Debug, Copy, Clone)]
2666 pub struct rta_session__bindgen_ty_1__bindgen_ty_1 {
2667 pub sport: __u16,
2668 pub dport: __u16,
2669 }
2670 #[repr(C)]
2671 #[derive(Debug, Copy, Clone)]
2672 pub struct rta_session__bindgen_ty_1__bindgen_ty_2 {
2673 pub type_: __u8,
2674 pub code: __u8,
2675 pub ident: __u16,
2676 }
2677 #[repr(C)]
2678 #[derive(Debug, Copy, Clone)]
2679 pub struct rta_mfc_stats {
2680 pub mfcs_packets: __u64,
2681 pub mfcs_bytes: __u64,
2682 pub mfcs_wrong_if: __u64,
2683 }
2684 #[repr(C)]
2685 #[derive(Debug, Copy, Clone)]
2686 pub struct rtgenmsg {
2687 pub rtgen_family: crate::ctypes::c_uchar,
2688 }
2689 #[repr(C)]
2690 #[derive(Debug, Copy, Clone)]
2691 pub struct ifinfomsg {
2692 pub ifi_family: crate::ctypes::c_uchar,
2693 pub __ifi_pad: crate::ctypes::c_uchar,
2694 pub ifi_type: crate::ctypes::c_ushort,
2695 pub ifi_index: crate::ctypes::c_int,
2696 pub ifi_flags: crate::ctypes::c_uint,
2697 pub ifi_change: crate::ctypes::c_uint,
2698 }
2699 #[repr(C)]
2700 #[derive(Debug, Copy, Clone)]
2701 pub struct prefixmsg {
2702 pub prefix_family: crate::ctypes::c_uchar,
2703 pub prefix_pad1: crate::ctypes::c_uchar,
2704 pub prefix_pad2: crate::ctypes::c_ushort,
2705 pub prefix_ifindex: crate::ctypes::c_int,
2706 pub prefix_type: crate::ctypes::c_uchar,
2707 pub prefix_len: crate::ctypes::c_uchar,
2708 pub prefix_flags: crate::ctypes::c_uchar,
2709 pub prefix_pad3: crate::ctypes::c_uchar,
2710 }
2711 pub const PREFIX_UNSPEC: _bindgen_ty_63 = _bindgen_ty_63::PREFIX_UNSPEC;
2712 pub const PREFIX_ADDRESS: _bindgen_ty_63 = _bindgen_ty_63::PREFIX_ADDRESS;
2713 pub const PREFIX_CACHEINFO: _bindgen_ty_63 = _bindgen_ty_63::PREFIX_CACHEINFO;
2714 pub const __PREFIX_MAX: _bindgen_ty_63 = _bindgen_ty_63::__PREFIX_MAX;
2715 #[repr(u32)]
2716 #[non_exhaustive]
2717 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2718 pub enum _bindgen_ty_63 {
2719 PREFIX_UNSPEC = 0,
2720 PREFIX_ADDRESS = 1,
2721 PREFIX_CACHEINFO = 2,
2722 __PREFIX_MAX = 3,
2723 }
2724 #[repr(C)]
2725 #[derive(Debug, Copy, Clone)]
2726 pub struct prefix_cacheinfo {
2727 pub preferred_time: __u32,
2728 pub valid_time: __u32,
2729 }
2730 #[repr(C)]
2731 #[derive(Debug, Copy, Clone)]
2732 pub struct tcmsg {
2733 pub tcm_family: crate::ctypes::c_uchar,
2734 pub tcm__pad1: crate::ctypes::c_uchar,
2735 pub tcm__pad2: crate::ctypes::c_ushort,
2736 pub tcm_ifindex: crate::ctypes::c_int,
2737 pub tcm_handle: __u32,
2738 pub tcm_parent: __u32,
2739 pub tcm_info: __u32,
2740 }
2741 pub const TCA_UNSPEC: _bindgen_ty_64 = _bindgen_ty_64::TCA_UNSPEC;
2742 pub const TCA_KIND: _bindgen_ty_64 = _bindgen_ty_64::TCA_KIND;
2743 pub const TCA_OPTIONS: _bindgen_ty_64 = _bindgen_ty_64::TCA_OPTIONS;
2744 pub const TCA_STATS: _bindgen_ty_64 = _bindgen_ty_64::TCA_STATS;
2745 pub const TCA_XSTATS: _bindgen_ty_64 = _bindgen_ty_64::TCA_XSTATS;
2746 pub const TCA_RATE: _bindgen_ty_64 = _bindgen_ty_64::TCA_RATE;
2747 pub const TCA_FCNT: _bindgen_ty_64 = _bindgen_ty_64::TCA_FCNT;
2748 pub const TCA_STATS2: _bindgen_ty_64 = _bindgen_ty_64::TCA_STATS2;
2749 pub const TCA_STAB: _bindgen_ty_64 = _bindgen_ty_64::TCA_STAB;
2750 pub const TCA_PAD: _bindgen_ty_64 = _bindgen_ty_64::TCA_PAD;
2751 pub const TCA_DUMP_INVISIBLE: _bindgen_ty_64 = _bindgen_ty_64::TCA_DUMP_INVISIBLE;
2752 pub const TCA_CHAIN: _bindgen_ty_64 = _bindgen_ty_64::TCA_CHAIN;
2753 pub const TCA_HW_OFFLOAD: _bindgen_ty_64 = _bindgen_ty_64::TCA_HW_OFFLOAD;
2754 pub const TCA_INGRESS_BLOCK: _bindgen_ty_64 = _bindgen_ty_64::TCA_INGRESS_BLOCK;
2755 pub const TCA_EGRESS_BLOCK: _bindgen_ty_64 = _bindgen_ty_64::TCA_EGRESS_BLOCK;
2756 pub const TCA_DUMP_FLAGS: _bindgen_ty_64 = _bindgen_ty_64::TCA_DUMP_FLAGS;
2757 pub const TCA_EXT_WARN_MSG: _bindgen_ty_64 = _bindgen_ty_64::TCA_EXT_WARN_MSG;
2758 pub const __TCA_MAX: _bindgen_ty_64 = _bindgen_ty_64::__TCA_MAX;
2759 #[repr(u32)]
2760 #[non_exhaustive]
2761 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2762 pub enum _bindgen_ty_64 {
2763 TCA_UNSPEC = 0,
2764 TCA_KIND = 1,
2765 TCA_OPTIONS = 2,
2766 TCA_STATS = 3,
2767 TCA_XSTATS = 4,
2768 TCA_RATE = 5,
2769 TCA_FCNT = 6,
2770 TCA_STATS2 = 7,
2771 TCA_STAB = 8,
2772 TCA_PAD = 9,
2773 TCA_DUMP_INVISIBLE = 10,
2774 TCA_CHAIN = 11,
2775 TCA_HW_OFFLOAD = 12,
2776 TCA_INGRESS_BLOCK = 13,
2777 TCA_EGRESS_BLOCK = 14,
2778 TCA_DUMP_FLAGS = 15,
2779 TCA_EXT_WARN_MSG = 16,
2780 __TCA_MAX = 17,
2781 }
2782 #[repr(C)]
2783 #[derive(Debug, Copy, Clone)]
2784 pub struct nduseroptmsg {
2785 pub nduseropt_family: crate::ctypes::c_uchar,
2786 pub nduseropt_pad1: crate::ctypes::c_uchar,
2787 pub nduseropt_opts_len: crate::ctypes::c_ushort,
2788 pub nduseropt_ifindex: crate::ctypes::c_int,
2789 pub nduseropt_icmp_type: __u8,
2790 pub nduseropt_icmp_code: __u8,
2791 pub nduseropt_pad2: crate::ctypes::c_ushort,
2792 pub nduseropt_pad3: crate::ctypes::c_uint,
2793 }
2794 pub const NDUSEROPT_UNSPEC: _bindgen_ty_65 = _bindgen_ty_65::NDUSEROPT_UNSPEC;
2795 pub const NDUSEROPT_SRCADDR: _bindgen_ty_65 = _bindgen_ty_65::NDUSEROPT_SRCADDR;
2796 pub const __NDUSEROPT_MAX: _bindgen_ty_65 = _bindgen_ty_65::__NDUSEROPT_MAX;
2797 #[repr(u32)]
2798 #[non_exhaustive]
2799 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2800 pub enum _bindgen_ty_65 {
2801 NDUSEROPT_UNSPEC = 0,
2802 NDUSEROPT_SRCADDR = 1,
2803 __NDUSEROPT_MAX = 2,
2804 }
2805 #[repr(u32)]
2806 #[non_exhaustive]
2807 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2808 pub enum rtnetlink_groups {
2809 RTNLGRP_NONE = 0,
2810 RTNLGRP_LINK = 1,
2811 RTNLGRP_NOTIFY = 2,
2812 RTNLGRP_NEIGH = 3,
2813 RTNLGRP_TC = 4,
2814 RTNLGRP_IPV4_IFADDR = 5,
2815 RTNLGRP_IPV4_MROUTE = 6,
2816 RTNLGRP_IPV4_ROUTE = 7,
2817 RTNLGRP_IPV4_RULE = 8,
2818 RTNLGRP_IPV6_IFADDR = 9,
2819 RTNLGRP_IPV6_MROUTE = 10,
2820 RTNLGRP_IPV6_ROUTE = 11,
2821 RTNLGRP_IPV6_IFINFO = 12,
2822 RTNLGRP_DECnet_IFADDR = 13,
2823 RTNLGRP_NOP2 = 14,
2824 RTNLGRP_DECnet_ROUTE = 15,
2825 RTNLGRP_DECnet_RULE = 16,
2826 RTNLGRP_NOP4 = 17,
2827 RTNLGRP_IPV6_PREFIX = 18,
2828 RTNLGRP_IPV6_RULE = 19,
2829 RTNLGRP_ND_USEROPT = 20,
2830 RTNLGRP_PHONET_IFADDR = 21,
2831 RTNLGRP_PHONET_ROUTE = 22,
2832 RTNLGRP_DCB = 23,
2833 RTNLGRP_IPV4_NETCONF = 24,
2834 RTNLGRP_IPV6_NETCONF = 25,
2835 RTNLGRP_MDB = 26,
2836 RTNLGRP_MPLS_ROUTE = 27,
2837 RTNLGRP_NSID = 28,
2838 RTNLGRP_MPLS_NETCONF = 29,
2839 RTNLGRP_IPV4_MROUTE_R = 30,
2840 RTNLGRP_IPV6_MROUTE_R = 31,
2841 RTNLGRP_NEXTHOP = 32,
2842 RTNLGRP_BRVLAN = 33,
2843 RTNLGRP_MCTP_IFADDR = 34,
2844 RTNLGRP_TUNNEL = 35,
2845 RTNLGRP_STATS = 36,
2846 __RTNLGRP_MAX = 37,
2847 }
2848 #[repr(C)]
2849 #[derive(Debug, Copy, Clone)]
2850 pub struct tcamsg {
2851 pub tca_family: crate::ctypes::c_uchar,
2852 pub tca__pad1: crate::ctypes::c_uchar,
2853 pub tca__pad2: crate::ctypes::c_ushort,
2854 }
2855 pub const TCA_ROOT_UNSPEC: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_UNSPEC;
2856 pub const TCA_ROOT_TAB: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_TAB;
2857 pub const TCA_ROOT_FLAGS: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_FLAGS;
2858 pub const TCA_ROOT_COUNT: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_COUNT;
2859 pub const TCA_ROOT_TIME_DELTA: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_TIME_DELTA;
2860 pub const TCA_ROOT_EXT_WARN_MSG: _bindgen_ty_66 = _bindgen_ty_66::TCA_ROOT_EXT_WARN_MSG;
2861 pub const __TCA_ROOT_MAX: _bindgen_ty_66 = _bindgen_ty_66::__TCA_ROOT_MAX;
2862 #[repr(u32)]
2863 #[non_exhaustive]
2864 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2865 pub enum _bindgen_ty_66 {
2866 TCA_ROOT_UNSPEC = 0,
2867 TCA_ROOT_TAB = 1,
2868 TCA_ROOT_FLAGS = 2,
2869 TCA_ROOT_COUNT = 3,
2870 TCA_ROOT_TIME_DELTA = 4,
2871 TCA_ROOT_EXT_WARN_MSG = 5,
2872 __TCA_ROOT_MAX = 6,
2873 }