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