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