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