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