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