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