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