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