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