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