1 /* automatically generated by rust-bindgen 0.59.2 */
5 pub struct __IncompleteArrayField
<T
>(::core
::marker
::PhantomData
<T
>, [T
; 0]);
6 impl<T
> __IncompleteArrayField
<T
> {
8 pub const fn new() -> Self {
9 __IncompleteArrayField(::core
::marker
::PhantomData
, [])
12 pub fn as_ptr(&self) -> *const T
{
13 self as *const _
as *const T
16 pub fn as_mut_ptr(&mut self) -> *mut T
{
17 self as *mut _
as *mut T
20 pub unsafe fn as_slice(&self, len
: usize) -> &[T
] {
21 ::core
::slice
::from_raw_parts(self.as_ptr(), len
)
24 pub unsafe fn as_mut_slice(&mut self, len
: usize) -> &mut [T
] {
25 ::core
::slice
::from_raw_parts_mut(self.as_mut_ptr(), len
)
28 impl<T
> ::core
::fmt
::Debug
for __IncompleteArrayField
<T
> {
29 fn fmt(&self, fmt
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
30 fmt
.write_str("__IncompleteArrayField")
33 pub const LINUX_VERSION_CODE
: u32 = 393728;
34 pub const LINUX_VERSION_MAJOR
: u32 = 6;
35 pub const LINUX_VERSION_PATCHLEVEL
: u32 = 2;
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 SOCK_TXREHASH_DEFAULT
: u32 = 255;
42 pub const SOCK_TXREHASH_DISABLED
: u32 = 0;
43 pub const SOCK_TXREHASH_ENABLED
: u32 = 1;
44 pub const __FD_SETSIZE
: u32 = 1024;
45 pub const NETLINK_ROUTE
: u32 = 0;
46 pub const NETLINK_UNUSED
: u32 = 1;
47 pub const NETLINK_USERSOCK
: u32 = 2;
48 pub const NETLINK_FIREWALL
: u32 = 3;
49 pub const NETLINK_SOCK_DIAG
: u32 = 4;
50 pub const NETLINK_NFLOG
: u32 = 5;
51 pub const NETLINK_XFRM
: u32 = 6;
52 pub const NETLINK_SELINUX
: u32 = 7;
53 pub const NETLINK_ISCSI
: u32 = 8;
54 pub const NETLINK_AUDIT
: u32 = 9;
55 pub const NETLINK_FIB_LOOKUP
: u32 = 10;
56 pub const NETLINK_CONNECTOR
: u32 = 11;
57 pub const NETLINK_NETFILTER
: u32 = 12;
58 pub const NETLINK_IP6_FW
: u32 = 13;
59 pub const NETLINK_DNRTMSG
: u32 = 14;
60 pub const NETLINK_KOBJECT_UEVENT
: u32 = 15;
61 pub const NETLINK_GENERIC
: u32 = 16;
62 pub const NETLINK_SCSITRANSPORT
: u32 = 18;
63 pub const NETLINK_ECRYPTFS
: u32 = 19;
64 pub const NETLINK_RDMA
: u32 = 20;
65 pub const NETLINK_CRYPTO
: u32 = 21;
66 pub const NETLINK_SMC
: u32 = 22;
67 pub const NETLINK_INET_DIAG
: u32 = 4;
68 pub const MAX_LINKS
: u32 = 32;
69 pub const NLM_F_REQUEST
: u32 = 1;
70 pub const NLM_F_MULTI
: u32 = 2;
71 pub const NLM_F_ACK
: u32 = 4;
72 pub const NLM_F_ECHO
: u32 = 8;
73 pub const NLM_F_DUMP_INTR
: u32 = 16;
74 pub const NLM_F_DUMP_FILTERED
: u32 = 32;
75 pub const NLM_F_ROOT
: u32 = 256;
76 pub const NLM_F_MATCH
: u32 = 512;
77 pub const NLM_F_ATOMIC
: u32 = 1024;
78 pub const NLM_F_DUMP
: u32 = 768;
79 pub const NLM_F_REPLACE
: u32 = 256;
80 pub const NLM_F_EXCL
: u32 = 512;
81 pub const NLM_F_CREATE
: u32 = 1024;
82 pub const NLM_F_APPEND
: u32 = 2048;
83 pub const NLM_F_NONREC
: u32 = 256;
84 pub const NLM_F_BULK
: u32 = 512;
85 pub const NLM_F_CAPPED
: u32 = 256;
86 pub const NLM_F_ACK_TLVS
: u32 = 512;
87 pub const NLMSG_ALIGNTO
: u32 = 4;
88 pub const NLMSG_NOOP
: u32 = 1;
89 pub const NLMSG_ERROR
: u32 = 2;
90 pub const NLMSG_DONE
: u32 = 3;
91 pub const NLMSG_OVERRUN
: u32 = 4;
92 pub const NLMSG_MIN_TYPE
: u32 = 16;
93 pub const NETLINK_ADD_MEMBERSHIP
: u32 = 1;
94 pub const NETLINK_DROP_MEMBERSHIP
: u32 = 2;
95 pub const NETLINK_PKTINFO
: u32 = 3;
96 pub const NETLINK_BROADCAST_ERROR
: u32 = 4;
97 pub const NETLINK_NO_ENOBUFS
: u32 = 5;
98 pub const NETLINK_RX_RING
: u32 = 6;
99 pub const NETLINK_TX_RING
: u32 = 7;
100 pub const NETLINK_LISTEN_ALL_NSID
: u32 = 8;
101 pub const NETLINK_LIST_MEMBERSHIPS
: u32 = 9;
102 pub const NETLINK_CAP_ACK
: u32 = 10;
103 pub const NETLINK_EXT_ACK
: u32 = 11;
104 pub const NETLINK_GET_STRICT_CHK
: u32 = 12;
105 pub const NL_MMAP_MSG_ALIGNMENT
: u32 = 4;
106 pub const NET_MAJOR
: u32 = 36;
107 pub const NLA_F_NESTED
: u32 = 32768;
108 pub const NLA_F_NET_BYTEORDER
: u32 = 16384;
109 pub const NLA_TYPE_MASK
: i32 = -49153;
110 pub const NLA_ALIGNTO
: u32 = 4;
111 pub const MACVLAN_FLAG_NOPROMISC
: u32 = 1;
112 pub const MACVLAN_FLAG_NODST
: u32 = 2;
113 pub const IPVLAN_F_PRIVATE
: u32 = 1;
114 pub const IPVLAN_F_VEPA
: u32 = 2;
115 pub const TUNNEL_MSG_FLAG_STATS
: u32 = 1;
116 pub const TUNNEL_MSG_VALID_USER_FLAGS
: u32 = 1;
117 pub const MAX_VLAN_LIST_LEN
: u32 = 1;
118 pub const PORT_PROFILE_MAX
: u32 = 40;
119 pub const PORT_UUID_MAX
: u32 = 16;
120 pub const PORT_SELF_VF
: i32 = -1;
121 pub const XDP_FLAGS_UPDATE_IF_NOEXIST
: u32 = 1;
122 pub const XDP_FLAGS_SKB_MODE
: u32 = 2;
123 pub const XDP_FLAGS_DRV_MODE
: u32 = 4;
124 pub const XDP_FLAGS_HW_MODE
: u32 = 8;
125 pub const XDP_FLAGS_REPLACE
: u32 = 16;
126 pub const XDP_FLAGS_MODES
: u32 = 14;
127 pub const XDP_FLAGS_MASK
: u32 = 31;
128 pub const RMNET_FLAGS_INGRESS_DEAGGREGATION
: u32 = 1;
129 pub const RMNET_FLAGS_INGRESS_MAP_COMMANDS
: u32 = 2;
130 pub const RMNET_FLAGS_INGRESS_MAP_CKSUMV4
: u32 = 4;
131 pub const RMNET_FLAGS_EGRESS_MAP_CKSUMV4
: u32 = 8;
132 pub const RMNET_FLAGS_INGRESS_MAP_CKSUMV5
: u32 = 16;
133 pub const RMNET_FLAGS_EGRESS_MAP_CKSUMV5
: u32 = 32;
134 pub const IFA_F_SECONDARY
: u32 = 1;
135 pub const IFA_F_TEMPORARY
: u32 = 1;
136 pub const IFA_F_NODAD
: u32 = 2;
137 pub const IFA_F_OPTIMISTIC
: u32 = 4;
138 pub const IFA_F_DADFAILED
: u32 = 8;
139 pub const IFA_F_HOMEADDRESS
: u32 = 16;
140 pub const IFA_F_DEPRECATED
: u32 = 32;
141 pub const IFA_F_TENTATIVE
: u32 = 64;
142 pub const IFA_F_PERMANENT
: u32 = 128;
143 pub const IFA_F_MANAGETEMPADDR
: u32 = 256;
144 pub const IFA_F_NOPREFIXROUTE
: u32 = 512;
145 pub const IFA_F_MCAUTOJOIN
: u32 = 1024;
146 pub const IFA_F_STABLE_PRIVACY
: u32 = 2048;
147 pub const IFAPROT_UNSPEC
: u32 = 0;
148 pub const IFAPROT_KERNEL_LO
: u32 = 1;
149 pub const IFAPROT_KERNEL_RA
: u32 = 2;
150 pub const IFAPROT_KERNEL_LL
: u32 = 3;
151 pub const NTF_USE
: u32 = 1;
152 pub const NTF_SELF
: u32 = 2;
153 pub const NTF_MASTER
: u32 = 4;
154 pub const NTF_PROXY
: u32 = 8;
155 pub const NTF_EXT_LEARNED
: u32 = 16;
156 pub const NTF_OFFLOADED
: u32 = 32;
157 pub const NTF_STICKY
: u32 = 64;
158 pub const NTF_ROUTER
: u32 = 128;
159 pub const NTF_EXT_MANAGED
: u32 = 1;
160 pub const NTF_EXT_LOCKED
: u32 = 2;
161 pub const NUD_INCOMPLETE
: u32 = 1;
162 pub const NUD_REACHABLE
: u32 = 2;
163 pub const NUD_STALE
: u32 = 4;
164 pub const NUD_DELAY
: u32 = 8;
165 pub const NUD_PROBE
: u32 = 16;
166 pub const NUD_FAILED
: u32 = 32;
167 pub const NUD_NOARP
: u32 = 64;
168 pub const NUD_PERMANENT
: u32 = 128;
169 pub const NUD_NONE
: u32 = 0;
170 pub const RTNL_FAMILY_IPMR
: u32 = 128;
171 pub const RTNL_FAMILY_IP6MR
: u32 = 129;
172 pub const RTNL_FAMILY_MAX
: u32 = 129;
173 pub const RTA_ALIGNTO
: u32 = 4;
174 pub const RTPROT_UNSPEC
: u32 = 0;
175 pub const RTPROT_REDIRECT
: u32 = 1;
176 pub const RTPROT_KERNEL
: u32 = 2;
177 pub const RTPROT_BOOT
: u32 = 3;
178 pub const RTPROT_STATIC
: u32 = 4;
179 pub const RTPROT_GATED
: u32 = 8;
180 pub const RTPROT_RA
: u32 = 9;
181 pub const RTPROT_MRT
: u32 = 10;
182 pub const RTPROT_ZEBRA
: u32 = 11;
183 pub const RTPROT_BIRD
: u32 = 12;
184 pub const RTPROT_DNROUTED
: u32 = 13;
185 pub const RTPROT_XORP
: u32 = 14;
186 pub const RTPROT_NTK
: u32 = 15;
187 pub const RTPROT_DHCP
: u32 = 16;
188 pub const RTPROT_MROUTED
: u32 = 17;
189 pub const RTPROT_KEEPALIVED
: u32 = 18;
190 pub const RTPROT_BABEL
: u32 = 42;
191 pub const RTPROT_OPENR
: u32 = 99;
192 pub const RTPROT_BGP
: u32 = 186;
193 pub const RTPROT_ISIS
: u32 = 187;
194 pub const RTPROT_OSPF
: u32 = 188;
195 pub const RTPROT_RIP
: u32 = 189;
196 pub const RTPROT_EIGRP
: u32 = 192;
197 pub const RTM_F_NOTIFY
: u32 = 256;
198 pub const RTM_F_CLONED
: u32 = 512;
199 pub const RTM_F_EQUALIZE
: u32 = 1024;
200 pub const RTM_F_PREFIX
: u32 = 2048;
201 pub const RTM_F_LOOKUP_TABLE
: u32 = 4096;
202 pub const RTM_F_FIB_MATCH
: u32 = 8192;
203 pub const RTM_F_OFFLOAD
: u32 = 16384;
204 pub const RTM_F_TRAP
: u32 = 32768;
205 pub const RTM_F_OFFLOAD_FAILED
: u32 = 536870912;
206 pub const RTNH_F_DEAD
: u32 = 1;
207 pub const RTNH_F_PERVASIVE
: u32 = 2;
208 pub const RTNH_F_ONLINK
: u32 = 4;
209 pub const RTNH_F_OFFLOAD
: u32 = 8;
210 pub const RTNH_F_LINKDOWN
: u32 = 16;
211 pub const RTNH_F_UNRESOLVED
: u32 = 32;
212 pub const RTNH_F_TRAP
: u32 = 64;
213 pub const RTNH_COMPARE_MASK
: u32 = 89;
214 pub const RTNH_ALIGNTO
: u32 = 4;
215 pub const RTNETLINK_HAVE_PEERINFO
: u32 = 1;
216 pub const RTAX_FEATURE_ECN
: u32 = 1;
217 pub const RTAX_FEATURE_SACK
: u32 = 2;
218 pub const RTAX_FEATURE_TIMESTAMP
: u32 = 4;
219 pub const RTAX_FEATURE_ALLFRAG
: u32 = 8;
220 pub const RTAX_FEATURE_MASK
: u32 = 15;
221 pub const TCM_IFINDEX_MAGIC_BLOCK
: u32 = 4294967295;
222 pub const TCA_DUMP_FLAGS_TERSE
: u32 = 1;
223 pub const RTMGRP_LINK
: u32 = 1;
224 pub const RTMGRP_NOTIFY
: u32 = 2;
225 pub const RTMGRP_NEIGH
: u32 = 4;
226 pub const RTMGRP_TC
: u32 = 8;
227 pub const RTMGRP_IPV4_IFADDR
: u32 = 16;
228 pub const RTMGRP_IPV4_MROUTE
: u32 = 32;
229 pub const RTMGRP_IPV4_ROUTE
: u32 = 64;
230 pub const RTMGRP_IPV4_RULE
: u32 = 128;
231 pub const RTMGRP_IPV6_IFADDR
: u32 = 256;
232 pub const RTMGRP_IPV6_MROUTE
: u32 = 512;
233 pub const RTMGRP_IPV6_ROUTE
: u32 = 1024;
234 pub const RTMGRP_IPV6_IFINFO
: u32 = 2048;
235 pub const RTMGRP_DECnet_IFADDR
: u32 = 4096;
236 pub const RTMGRP_DECnet_ROUTE
: u32 = 16384;
237 pub const RTMGRP_IPV6_PREFIX
: u32 = 131072;
238 pub const TCA_FLAG_LARGE_DUMP_ON
: u32 = 1;
239 pub const TCA_ACT_FLAG_LARGE_DUMP_ON
: u32 = 1;
240 pub const TCA_ACT_FLAG_TERSE_DUMP
: u32 = 2;
241 pub const RTEXT_FILTER_VF
: u32 = 1;
242 pub const RTEXT_FILTER_BRVLAN
: u32 = 2;
243 pub const RTEXT_FILTER_BRVLAN_COMPRESSED
: u32 = 4;
244 pub const RTEXT_FILTER_SKIP_STATS
: u32 = 8;
245 pub const RTEXT_FILTER_MRP
: u32 = 16;
246 pub const RTEXT_FILTER_CFM_CONFIG
: u32 = 32;
247 pub const RTEXT_FILTER_CFM_STATUS
: u32 = 64;
248 pub const RTEXT_FILTER_MST
: u32 = 128;
249 pub type size_t
= crate::ctypes
::c_uint
;
250 pub type ssize_t
= crate::ctypes
::c_int
;
251 pub type __kernel_sa_family_t
= crate::ctypes
::c_ushort
;
253 #[derive(Copy, Clone)]
254 pub struct __kernel_sockaddr_storage
{
255 pub __bindgen_anon_1
: __kernel_sockaddr_storage__bindgen_ty_1
,
258 #[derive(Copy, Clone)]
259 pub union __kernel_sockaddr_storage__bindgen_ty_1
{
260 pub __bindgen_anon_1
: __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1
,
261 pub __align
: *mut crate::ctypes
::c_void
,
264 #[derive(Debug, Copy, Clone)]
265 pub struct __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1
{
266 pub ss_family
: __kernel_sa_family_t
,
267 pub __data
: [crate::ctypes
::c_char
; 126usize
],
269 pub type __s8
= crate::ctypes
::c_schar
;
270 pub type __u8
= crate::ctypes
::c_uchar
;
271 pub type __s16
= crate::ctypes
::c_short
;
272 pub type __u16
= crate::ctypes
::c_ushort
;
273 pub type __s32
= crate::ctypes
::c_int
;
274 pub type __u32
= crate::ctypes
::c_uint
;
275 pub type __s64
= crate::ctypes
::c_longlong
;
276 pub type __u64
= crate::ctypes
::c_ulonglong
;
278 #[derive(Debug, Copy, Clone)]
279 pub struct __kernel_fd_set
{
280 pub fds_bits
: [crate::ctypes
::c_ulong
; 32usize
],
282 pub type __kernel_sighandler_t
= ::core
::option
::Option
<unsafe extern "C" fn(arg1
: crate::ctypes
::c_int
)>;
283 pub type __kernel_key_t
= crate::ctypes
::c_int
;
284 pub type __kernel_mqd_t
= crate::ctypes
::c_int
;
285 pub type __kernel_long_t
= crate::ctypes
::c_long
;
286 pub type __kernel_ulong_t
= crate::ctypes
::c_ulong
;
287 pub type __kernel_ino_t
= __kernel_ulong_t
;
288 pub type __kernel_mode_t
= crate::ctypes
::c_uint
;
289 pub type __kernel_pid_t
= crate::ctypes
::c_int
;
290 pub type __kernel_ipc_pid_t
= crate::ctypes
::c_int
;
291 pub type __kernel_uid_t
= crate::ctypes
::c_uint
;
292 pub type __kernel_gid_t
= crate::ctypes
::c_uint
;
293 pub type __kernel_suseconds_t
= __kernel_long_t
;
294 pub type __kernel_daddr_t
= crate::ctypes
::c_int
;
295 pub type __kernel_uid32_t
= crate::ctypes
::c_uint
;
296 pub type __kernel_gid32_t
= crate::ctypes
::c_uint
;
297 pub type __kernel_old_uid_t
= __kernel_uid_t
;
298 pub type __kernel_old_gid_t
= __kernel_gid_t
;
299 pub type __kernel_old_dev_t
= crate::ctypes
::c_uint
;
300 pub type __kernel_size_t
= crate::ctypes
::c_uint
;
301 pub type __kernel_ssize_t
= crate::ctypes
::c_int
;
302 pub type __kernel_ptrdiff_t
= crate::ctypes
::c_int
;
304 #[derive(Debug, Copy, Clone)]
305 pub struct __kernel_fsid_t
{
306 pub val
: [crate::ctypes
::c_int
; 2usize
],
308 pub type __kernel_off_t
= __kernel_long_t
;
309 pub type __kernel_loff_t
= crate::ctypes
::c_longlong
;
310 pub type __kernel_old_time_t
= __kernel_long_t
;
311 pub type __kernel_time_t
= __kernel_long_t
;
312 pub type __kernel_time64_t
= crate::ctypes
::c_longlong
;
313 pub type __kernel_clock_t
= __kernel_long_t
;
314 pub type __kernel_timer_t
= crate::ctypes
::c_int
;
315 pub type __kernel_clockid_t
= crate::ctypes
::c_int
;
316 pub type __kernel_caddr_t
= *mut crate::ctypes
::c_char
;
317 pub type __kernel_uid16_t
= crate::ctypes
::c_ushort
;
318 pub type __kernel_gid16_t
= crate::ctypes
::c_ushort
;
319 pub type __le16
= __u16
;
320 pub type __be16
= __u16
;
321 pub type __le32
= __u32
;
322 pub type __be32
= __u32
;
323 pub type __le64
= __u64
;
324 pub type __be64
= __u64
;
325 pub type __sum16
= __u16
;
326 pub type __wsum
= __u32
;
327 pub type __poll_t
= crate::ctypes
::c_uint
;
329 #[derive(Debug, Copy, Clone)]
330 pub struct sockaddr_nl
{
331 pub nl_family
: __kernel_sa_family_t
,
332 pub nl_pad
: crate::ctypes
::c_ushort
,
334 pub nl_groups
: __u32
,
337 #[derive(Debug, Copy, Clone)]
338 pub struct nlmsghdr
{
339 pub nlmsg_len
: __u32
,
340 pub nlmsg_type
: __u16
,
341 pub nlmsg_flags
: __u16
,
342 pub nlmsg_seq
: __u32
,
343 pub nlmsg_pid
: __u32
,
346 #[derive(Debug, Copy, Clone)]
347 pub struct nlmsgerr
{
348 pub error
: crate::ctypes
::c_int
,
351 impl nlmsgerr_attrs
{
352 pub const NLMSGERR_ATTR_MAX
: nlmsgerr_attrs
= nlmsgerr_attrs
::NLMSGERR_ATTR_MISS_NEST
;
356 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
357 pub enum nlmsgerr_attrs
{
358 NLMSGERR_ATTR_UNUSED
= 0,
359 NLMSGERR_ATTR_MSG
= 1,
360 NLMSGERR_ATTR_OFFS
= 2,
361 NLMSGERR_ATTR_COOKIE
= 3,
362 NLMSGERR_ATTR_POLICY
= 4,
363 NLMSGERR_ATTR_MISS_TYPE
= 5,
364 NLMSGERR_ATTR_MISS_NEST
= 6,
365 __NLMSGERR_ATTR_MAX
= 7,
368 #[derive(Debug, Copy, Clone)]
369 pub struct nl_pktinfo
{
373 #[derive(Debug, Copy, Clone)]
374 pub struct nl_mmap_req
{
375 pub nm_block_size
: crate::ctypes
::c_uint
,
376 pub nm_block_nr
: crate::ctypes
::c_uint
,
377 pub nm_frame_size
: crate::ctypes
::c_uint
,
378 pub nm_frame_nr
: crate::ctypes
::c_uint
,
381 #[derive(Debug, Copy, Clone)]
382 pub struct nl_mmap_hdr
{
383 pub nm_status
: crate::ctypes
::c_uint
,
384 pub nm_len
: crate::ctypes
::c_uint
,
392 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
393 pub enum nl_mmap_status
{
394 NL_MMAP_STATUS_UNUSED
= 0,
395 NL_MMAP_STATUS_RESERVED
= 1,
396 NL_MMAP_STATUS_VALID
= 2,
397 NL_MMAP_STATUS_COPY
= 3,
398 NL_MMAP_STATUS_SKIP
= 4,
400 pub const NETLINK_UNCONNECTED
: _bindgen_ty_1
= _bindgen_ty_1
::NETLINK_UNCONNECTED
;
401 pub const NETLINK_CONNECTED
: _bindgen_ty_1
= _bindgen_ty_1
::NETLINK_CONNECTED
;
404 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
405 pub enum _bindgen_ty_1
{
406 NETLINK_UNCONNECTED
= 0,
407 NETLINK_CONNECTED
= 1,
410 #[derive(Debug, Copy, Clone)]
416 #[derive(Debug, Copy, Clone)]
417 pub struct nla_bitfield32
{
423 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
424 pub enum netlink_attribute_type
{
425 NL_ATTR_TYPE_INVALID
= 0,
426 NL_ATTR_TYPE_FLAG
= 1,
428 NL_ATTR_TYPE_U16
= 3,
429 NL_ATTR_TYPE_U32
= 4,
430 NL_ATTR_TYPE_U64
= 5,
432 NL_ATTR_TYPE_S16
= 7,
433 NL_ATTR_TYPE_S32
= 8,
434 NL_ATTR_TYPE_S64
= 9,
435 NL_ATTR_TYPE_BINARY
= 10,
436 NL_ATTR_TYPE_STRING
= 11,
437 NL_ATTR_TYPE_NUL_STRING
= 12,
438 NL_ATTR_TYPE_NESTED
= 13,
439 NL_ATTR_TYPE_NESTED_ARRAY
= 14,
440 NL_ATTR_TYPE_BITFIELD32
= 15,
442 impl netlink_policy_type_attr
{
443 pub const NL_POLICY_TYPE_ATTR_MAX
: netlink_policy_type_attr
= netlink_policy_type_attr
::NL_POLICY_TYPE_ATTR_MASK
;
447 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
448 pub enum netlink_policy_type_attr
{
449 NL_POLICY_TYPE_ATTR_UNSPEC
= 0,
450 NL_POLICY_TYPE_ATTR_TYPE
= 1,
451 NL_POLICY_TYPE_ATTR_MIN_VALUE_S
= 2,
452 NL_POLICY_TYPE_ATTR_MAX_VALUE_S
= 3,
453 NL_POLICY_TYPE_ATTR_MIN_VALUE_U
= 4,
454 NL_POLICY_TYPE_ATTR_MAX_VALUE_U
= 5,
455 NL_POLICY_TYPE_ATTR_MIN_LENGTH
= 6,
456 NL_POLICY_TYPE_ATTR_MAX_LENGTH
= 7,
457 NL_POLICY_TYPE_ATTR_POLICY_IDX
= 8,
458 NL_POLICY_TYPE_ATTR_POLICY_MAXTYPE
= 9,
459 NL_POLICY_TYPE_ATTR_BITFIELD32_MASK
= 10,
460 NL_POLICY_TYPE_ATTR_PAD
= 11,
461 NL_POLICY_TYPE_ATTR_MASK
= 12,
462 __NL_POLICY_TYPE_ATTR_MAX
= 13,
465 #[derive(Debug, Copy, Clone)]
466 pub struct rtnl_link_stats
{
467 pub rx_packets
: __u32
,
468 pub tx_packets
: __u32
,
471 pub rx_errors
: __u32
,
472 pub tx_errors
: __u32
,
473 pub rx_dropped
: __u32
,
474 pub tx_dropped
: __u32
,
475 pub multicast
: __u32
,
476 pub collisions
: __u32
,
477 pub rx_length_errors
: __u32
,
478 pub rx_over_errors
: __u32
,
479 pub rx_crc_errors
: __u32
,
480 pub rx_frame_errors
: __u32
,
481 pub rx_fifo_errors
: __u32
,
482 pub rx_missed_errors
: __u32
,
483 pub tx_aborted_errors
: __u32
,
484 pub tx_carrier_errors
: __u32
,
485 pub tx_fifo_errors
: __u32
,
486 pub tx_heartbeat_errors
: __u32
,
487 pub tx_window_errors
: __u32
,
488 pub rx_compressed
: __u32
,
489 pub tx_compressed
: __u32
,
490 pub rx_nohandler
: __u32
,
493 #[derive(Debug, Copy, Clone)]
494 pub struct rtnl_link_stats64
{
495 pub rx_packets
: __u64
,
496 pub tx_packets
: __u64
,
499 pub rx_errors
: __u64
,
500 pub tx_errors
: __u64
,
501 pub rx_dropped
: __u64
,
502 pub tx_dropped
: __u64
,
503 pub multicast
: __u64
,
504 pub collisions
: __u64
,
505 pub rx_length_errors
: __u64
,
506 pub rx_over_errors
: __u64
,
507 pub rx_crc_errors
: __u64
,
508 pub rx_frame_errors
: __u64
,
509 pub rx_fifo_errors
: __u64
,
510 pub rx_missed_errors
: __u64
,
511 pub tx_aborted_errors
: __u64
,
512 pub tx_carrier_errors
: __u64
,
513 pub tx_fifo_errors
: __u64
,
514 pub tx_heartbeat_errors
: __u64
,
515 pub tx_window_errors
: __u64
,
516 pub rx_compressed
: __u64
,
517 pub tx_compressed
: __u64
,
518 pub rx_nohandler
: __u64
,
519 pub rx_otherhost_dropped
: __u64
,
522 #[derive(Debug, Copy, Clone)]
523 pub struct rtnl_hw_stats64
{
524 pub rx_packets
: __u64
,
525 pub tx_packets
: __u64
,
528 pub rx_errors
: __u64
,
529 pub tx_errors
: __u64
,
530 pub rx_dropped
: __u64
,
531 pub tx_dropped
: __u64
,
532 pub multicast
: __u64
,
535 #[derive(Debug, Copy, Clone)]
536 pub struct rtnl_link_ifmap
{
537 pub mem_start
: __u64
,
539 pub base_addr
: __u64
,
544 pub const IFLA_UNSPEC
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_UNSPEC
;
545 pub const IFLA_ADDRESS
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_ADDRESS
;
546 pub const IFLA_BROADCAST
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_BROADCAST
;
547 pub const IFLA_IFNAME
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_IFNAME
;
548 pub const IFLA_MTU
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_MTU
;
549 pub const IFLA_LINK
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_LINK
;
550 pub const IFLA_QDISC
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_QDISC
;
551 pub const IFLA_STATS
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_STATS
;
552 pub const IFLA_COST
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_COST
;
553 pub const IFLA_PRIORITY
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PRIORITY
;
554 pub const IFLA_MASTER
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_MASTER
;
555 pub const IFLA_WIRELESS
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_WIRELESS
;
556 pub const IFLA_PROTINFO
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PROTINFO
;
557 pub const IFLA_TXQLEN
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_TXQLEN
;
558 pub const IFLA_MAP
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_MAP
;
559 pub const IFLA_WEIGHT
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_WEIGHT
;
560 pub const IFLA_OPERSTATE
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_OPERSTATE
;
561 pub const IFLA_LINKMODE
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_LINKMODE
;
562 pub const IFLA_LINKINFO
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_LINKINFO
;
563 pub const IFLA_NET_NS_PID
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_NET_NS_PID
;
564 pub const IFLA_IFALIAS
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_IFALIAS
;
565 pub const IFLA_NUM_VF
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_NUM_VF
;
566 pub const IFLA_VFINFO_LIST
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_VFINFO_LIST
;
567 pub const IFLA_STATS64
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_STATS64
;
568 pub const IFLA_VF_PORTS
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_VF_PORTS
;
569 pub const IFLA_PORT_SELF
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PORT_SELF
;
570 pub const IFLA_AF_SPEC
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_AF_SPEC
;
571 pub const IFLA_GROUP
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_GROUP
;
572 pub const IFLA_NET_NS_FD
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_NET_NS_FD
;
573 pub const IFLA_EXT_MASK
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_EXT_MASK
;
574 pub const IFLA_PROMISCUITY
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PROMISCUITY
;
575 pub const IFLA_NUM_TX_QUEUES
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_NUM_TX_QUEUES
;
576 pub const IFLA_NUM_RX_QUEUES
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_NUM_RX_QUEUES
;
577 pub const IFLA_CARRIER
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_CARRIER
;
578 pub const IFLA_PHYS_PORT_ID
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PHYS_PORT_ID
;
579 pub const IFLA_CARRIER_CHANGES
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_CARRIER_CHANGES
;
580 pub const IFLA_PHYS_SWITCH_ID
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PHYS_SWITCH_ID
;
581 pub const IFLA_LINK_NETNSID
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_LINK_NETNSID
;
582 pub const IFLA_PHYS_PORT_NAME
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PHYS_PORT_NAME
;
583 pub const IFLA_PROTO_DOWN
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PROTO_DOWN
;
584 pub const IFLA_GSO_MAX_SEGS
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_GSO_MAX_SEGS
;
585 pub const IFLA_GSO_MAX_SIZE
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_GSO_MAX_SIZE
;
586 pub const IFLA_PAD
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PAD
;
587 pub const IFLA_XDP
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_XDP
;
588 pub const IFLA_EVENT
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_EVENT
;
589 pub const IFLA_NEW_NETNSID
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_NEW_NETNSID
;
590 pub const IFLA_IF_NETNSID
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_IF_NETNSID
;
591 pub const IFLA_TARGET_NETNSID
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_IF_NETNSID
;
592 pub const IFLA_CARRIER_UP_COUNT
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_CARRIER_UP_COUNT
;
593 pub const IFLA_CARRIER_DOWN_COUNT
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_CARRIER_DOWN_COUNT
;
594 pub const IFLA_NEW_IFINDEX
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_NEW_IFINDEX
;
595 pub const IFLA_MIN_MTU
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_MIN_MTU
;
596 pub const IFLA_MAX_MTU
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_MAX_MTU
;
597 pub const IFLA_PROP_LIST
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PROP_LIST
;
598 pub const IFLA_ALT_IFNAME
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_ALT_IFNAME
;
599 pub const IFLA_PERM_ADDRESS
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PERM_ADDRESS
;
600 pub const IFLA_PROTO_DOWN_REASON
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PROTO_DOWN_REASON
;
601 pub const IFLA_PARENT_DEV_NAME
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PARENT_DEV_NAME
;
602 pub const IFLA_PARENT_DEV_BUS_NAME
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_PARENT_DEV_BUS_NAME
;
603 pub const IFLA_GRO_MAX_SIZE
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_GRO_MAX_SIZE
;
604 pub const IFLA_TSO_MAX_SIZE
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_TSO_MAX_SIZE
;
605 pub const IFLA_TSO_MAX_SEGS
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_TSO_MAX_SEGS
;
606 pub const IFLA_ALLMULTI
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_ALLMULTI
;
607 pub const IFLA_DEVLINK_PORT
: _bindgen_ty_2
= _bindgen_ty_2
::IFLA_DEVLINK_PORT
;
608 pub const __IFLA_MAX
: _bindgen_ty_2
= _bindgen_ty_2
::__IFLA_MAX
;
611 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
612 pub enum _bindgen_ty_2
{
632 IFLA_NET_NS_PID
= 19,
635 IFLA_VFINFO_LIST
= 22,
643 IFLA_PROMISCUITY
= 30,
644 IFLA_NUM_TX_QUEUES
= 31,
645 IFLA_NUM_RX_QUEUES
= 32,
647 IFLA_PHYS_PORT_ID
= 34,
648 IFLA_CARRIER_CHANGES
= 35,
649 IFLA_PHYS_SWITCH_ID
= 36,
650 IFLA_LINK_NETNSID
= 37,
651 IFLA_PHYS_PORT_NAME
= 38,
652 IFLA_PROTO_DOWN
= 39,
653 IFLA_GSO_MAX_SEGS
= 40,
654 IFLA_GSO_MAX_SIZE
= 41,
658 IFLA_NEW_NETNSID
= 45,
659 IFLA_IF_NETNSID
= 46,
660 IFLA_CARRIER_UP_COUNT
= 47,
661 IFLA_CARRIER_DOWN_COUNT
= 48,
662 IFLA_NEW_IFINDEX
= 49,
666 IFLA_ALT_IFNAME
= 53,
667 IFLA_PERM_ADDRESS
= 54,
668 IFLA_PROTO_DOWN_REASON
= 55,
669 IFLA_PARENT_DEV_NAME
= 56,
670 IFLA_PARENT_DEV_BUS_NAME
= 57,
671 IFLA_GRO_MAX_SIZE
= 58,
672 IFLA_TSO_MAX_SIZE
= 59,
673 IFLA_TSO_MAX_SEGS
= 60,
675 IFLA_DEVLINK_PORT
= 62,
678 pub const IFLA_PROTO_DOWN_REASON_UNSPEC
: _bindgen_ty_3
= _bindgen_ty_3
::IFLA_PROTO_DOWN_REASON_UNSPEC
;
679 pub const IFLA_PROTO_DOWN_REASON_MASK
: _bindgen_ty_3
= _bindgen_ty_3
::IFLA_PROTO_DOWN_REASON_MASK
;
680 pub const IFLA_PROTO_DOWN_REASON_VALUE
: _bindgen_ty_3
= _bindgen_ty_3
::IFLA_PROTO_DOWN_REASON_VALUE
;
681 pub const __IFLA_PROTO_DOWN_REASON_CNT
: _bindgen_ty_3
= _bindgen_ty_3
::__IFLA_PROTO_DOWN_REASON_CNT
;
682 pub const IFLA_PROTO_DOWN_REASON_MAX
: _bindgen_ty_3
= _bindgen_ty_3
::IFLA_PROTO_DOWN_REASON_VALUE
;
685 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
686 pub enum _bindgen_ty_3
{
687 IFLA_PROTO_DOWN_REASON_UNSPEC
= 0,
688 IFLA_PROTO_DOWN_REASON_MASK
= 1,
689 IFLA_PROTO_DOWN_REASON_VALUE
= 2,
690 __IFLA_PROTO_DOWN_REASON_CNT
= 3,
692 pub const IFLA_INET_UNSPEC
: _bindgen_ty_4
= _bindgen_ty_4
::IFLA_INET_UNSPEC
;
693 pub const IFLA_INET_CONF
: _bindgen_ty_4
= _bindgen_ty_4
::IFLA_INET_CONF
;
694 pub const __IFLA_INET_MAX
: _bindgen_ty_4
= _bindgen_ty_4
::__IFLA_INET_MAX
;
697 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
698 pub enum _bindgen_ty_4
{
699 IFLA_INET_UNSPEC
= 0,
703 pub const IFLA_INET6_UNSPEC
: _bindgen_ty_5
= _bindgen_ty_5
::IFLA_INET6_UNSPEC
;
704 pub const IFLA_INET6_FLAGS
: _bindgen_ty_5
= _bindgen_ty_5
::IFLA_INET6_FLAGS
;
705 pub const IFLA_INET6_CONF
: _bindgen_ty_5
= _bindgen_ty_5
::IFLA_INET6_CONF
;
706 pub const IFLA_INET6_STATS
: _bindgen_ty_5
= _bindgen_ty_5
::IFLA_INET6_STATS
;
707 pub const IFLA_INET6_MCAST
: _bindgen_ty_5
= _bindgen_ty_5
::IFLA_INET6_MCAST
;
708 pub const IFLA_INET6_CACHEINFO
: _bindgen_ty_5
= _bindgen_ty_5
::IFLA_INET6_CACHEINFO
;
709 pub const IFLA_INET6_ICMP6STATS
: _bindgen_ty_5
= _bindgen_ty_5
::IFLA_INET6_ICMP6STATS
;
710 pub const IFLA_INET6_TOKEN
: _bindgen_ty_5
= _bindgen_ty_5
::IFLA_INET6_TOKEN
;
711 pub const IFLA_INET6_ADDR_GEN_MODE
: _bindgen_ty_5
= _bindgen_ty_5
::IFLA_INET6_ADDR_GEN_MODE
;
712 pub const IFLA_INET6_RA_MTU
: _bindgen_ty_5
= _bindgen_ty_5
::IFLA_INET6_RA_MTU
;
713 pub const __IFLA_INET6_MAX
: _bindgen_ty_5
= _bindgen_ty_5
::__IFLA_INET6_MAX
;
716 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
717 pub enum _bindgen_ty_5
{
718 IFLA_INET6_UNSPEC
= 0,
719 IFLA_INET6_FLAGS
= 1,
721 IFLA_INET6_STATS
= 3,
722 IFLA_INET6_MCAST
= 4,
723 IFLA_INET6_CACHEINFO
= 5,
724 IFLA_INET6_ICMP6STATS
= 6,
725 IFLA_INET6_TOKEN
= 7,
726 IFLA_INET6_ADDR_GEN_MODE
= 8,
727 IFLA_INET6_RA_MTU
= 9,
728 __IFLA_INET6_MAX
= 10,
732 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
733 pub enum in6_addr_gen_mode
{
734 IN6_ADDR_GEN_MODE_EUI64
= 0,
735 IN6_ADDR_GEN_MODE_NONE
= 1,
736 IN6_ADDR_GEN_MODE_STABLE_PRIVACY
= 2,
737 IN6_ADDR_GEN_MODE_RANDOM
= 3,
739 pub const IFLA_BR_UNSPEC
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_UNSPEC
;
740 pub const IFLA_BR_FORWARD_DELAY
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_FORWARD_DELAY
;
741 pub const IFLA_BR_HELLO_TIME
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_HELLO_TIME
;
742 pub const IFLA_BR_MAX_AGE
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MAX_AGE
;
743 pub const IFLA_BR_AGEING_TIME
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_AGEING_TIME
;
744 pub const IFLA_BR_STP_STATE
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_STP_STATE
;
745 pub const IFLA_BR_PRIORITY
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_PRIORITY
;
746 pub const IFLA_BR_VLAN_FILTERING
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_VLAN_FILTERING
;
747 pub const IFLA_BR_VLAN_PROTOCOL
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_VLAN_PROTOCOL
;
748 pub const IFLA_BR_GROUP_FWD_MASK
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_GROUP_FWD_MASK
;
749 pub const IFLA_BR_ROOT_ID
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_ROOT_ID
;
750 pub const IFLA_BR_BRIDGE_ID
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_BRIDGE_ID
;
751 pub const IFLA_BR_ROOT_PORT
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_ROOT_PORT
;
752 pub const IFLA_BR_ROOT_PATH_COST
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_ROOT_PATH_COST
;
753 pub const IFLA_BR_TOPOLOGY_CHANGE
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_TOPOLOGY_CHANGE
;
754 pub const IFLA_BR_TOPOLOGY_CHANGE_DETECTED
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_TOPOLOGY_CHANGE_DETECTED
;
755 pub const IFLA_BR_HELLO_TIMER
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_HELLO_TIMER
;
756 pub const IFLA_BR_TCN_TIMER
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_TCN_TIMER
;
757 pub const IFLA_BR_TOPOLOGY_CHANGE_TIMER
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_TOPOLOGY_CHANGE_TIMER
;
758 pub const IFLA_BR_GC_TIMER
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_GC_TIMER
;
759 pub const IFLA_BR_GROUP_ADDR
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_GROUP_ADDR
;
760 pub const IFLA_BR_FDB_FLUSH
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_FDB_FLUSH
;
761 pub const IFLA_BR_MCAST_ROUTER
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_ROUTER
;
762 pub const IFLA_BR_MCAST_SNOOPING
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_SNOOPING
;
763 pub const IFLA_BR_MCAST_QUERY_USE_IFADDR
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_QUERY_USE_IFADDR
;
764 pub const IFLA_BR_MCAST_QUERIER
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_QUERIER
;
765 pub const IFLA_BR_MCAST_HASH_ELASTICITY
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_HASH_ELASTICITY
;
766 pub const IFLA_BR_MCAST_HASH_MAX
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_HASH_MAX
;
767 pub const IFLA_BR_MCAST_LAST_MEMBER_CNT
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_LAST_MEMBER_CNT
;
768 pub const IFLA_BR_MCAST_STARTUP_QUERY_CNT
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_STARTUP_QUERY_CNT
;
769 pub const IFLA_BR_MCAST_LAST_MEMBER_INTVL
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_LAST_MEMBER_INTVL
;
770 pub const IFLA_BR_MCAST_MEMBERSHIP_INTVL
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_MEMBERSHIP_INTVL
;
771 pub const IFLA_BR_MCAST_QUERIER_INTVL
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_QUERIER_INTVL
;
772 pub const IFLA_BR_MCAST_QUERY_INTVL
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_QUERY_INTVL
;
773 pub const IFLA_BR_MCAST_QUERY_RESPONSE_INTVL
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_QUERY_RESPONSE_INTVL
;
774 pub const IFLA_BR_MCAST_STARTUP_QUERY_INTVL
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_STARTUP_QUERY_INTVL
;
775 pub const IFLA_BR_NF_CALL_IPTABLES
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_NF_CALL_IPTABLES
;
776 pub const IFLA_BR_NF_CALL_IP6TABLES
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_NF_CALL_IP6TABLES
;
777 pub const IFLA_BR_NF_CALL_ARPTABLES
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_NF_CALL_ARPTABLES
;
778 pub const IFLA_BR_VLAN_DEFAULT_PVID
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_VLAN_DEFAULT_PVID
;
779 pub const IFLA_BR_PAD
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_PAD
;
780 pub const IFLA_BR_VLAN_STATS_ENABLED
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_VLAN_STATS_ENABLED
;
781 pub const IFLA_BR_MCAST_STATS_ENABLED
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_STATS_ENABLED
;
782 pub const IFLA_BR_MCAST_IGMP_VERSION
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_IGMP_VERSION
;
783 pub const IFLA_BR_MCAST_MLD_VERSION
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_MLD_VERSION
;
784 pub const IFLA_BR_VLAN_STATS_PER_PORT
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_VLAN_STATS_PER_PORT
;
785 pub const IFLA_BR_MULTI_BOOLOPT
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MULTI_BOOLOPT
;
786 pub const IFLA_BR_MCAST_QUERIER_STATE
: _bindgen_ty_6
= _bindgen_ty_6
::IFLA_BR_MCAST_QUERIER_STATE
;
787 pub const __IFLA_BR_MAX
: _bindgen_ty_6
= _bindgen_ty_6
::__IFLA_BR_MAX
;
790 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
791 pub enum _bindgen_ty_6
{
793 IFLA_BR_FORWARD_DELAY
= 1,
794 IFLA_BR_HELLO_TIME
= 2,
796 IFLA_BR_AGEING_TIME
= 4,
797 IFLA_BR_STP_STATE
= 5,
798 IFLA_BR_PRIORITY
= 6,
799 IFLA_BR_VLAN_FILTERING
= 7,
800 IFLA_BR_VLAN_PROTOCOL
= 8,
801 IFLA_BR_GROUP_FWD_MASK
= 9,
802 IFLA_BR_ROOT_ID
= 10,
803 IFLA_BR_BRIDGE_ID
= 11,
804 IFLA_BR_ROOT_PORT
= 12,
805 IFLA_BR_ROOT_PATH_COST
= 13,
806 IFLA_BR_TOPOLOGY_CHANGE
= 14,
807 IFLA_BR_TOPOLOGY_CHANGE_DETECTED
= 15,
808 IFLA_BR_HELLO_TIMER
= 16,
809 IFLA_BR_TCN_TIMER
= 17,
810 IFLA_BR_TOPOLOGY_CHANGE_TIMER
= 18,
811 IFLA_BR_GC_TIMER
= 19,
812 IFLA_BR_GROUP_ADDR
= 20,
813 IFLA_BR_FDB_FLUSH
= 21,
814 IFLA_BR_MCAST_ROUTER
= 22,
815 IFLA_BR_MCAST_SNOOPING
= 23,
816 IFLA_BR_MCAST_QUERY_USE_IFADDR
= 24,
817 IFLA_BR_MCAST_QUERIER
= 25,
818 IFLA_BR_MCAST_HASH_ELASTICITY
= 26,
819 IFLA_BR_MCAST_HASH_MAX
= 27,
820 IFLA_BR_MCAST_LAST_MEMBER_CNT
= 28,
821 IFLA_BR_MCAST_STARTUP_QUERY_CNT
= 29,
822 IFLA_BR_MCAST_LAST_MEMBER_INTVL
= 30,
823 IFLA_BR_MCAST_MEMBERSHIP_INTVL
= 31,
824 IFLA_BR_MCAST_QUERIER_INTVL
= 32,
825 IFLA_BR_MCAST_QUERY_INTVL
= 33,
826 IFLA_BR_MCAST_QUERY_RESPONSE_INTVL
= 34,
827 IFLA_BR_MCAST_STARTUP_QUERY_INTVL
= 35,
828 IFLA_BR_NF_CALL_IPTABLES
= 36,
829 IFLA_BR_NF_CALL_IP6TABLES
= 37,
830 IFLA_BR_NF_CALL_ARPTABLES
= 38,
831 IFLA_BR_VLAN_DEFAULT_PVID
= 39,
833 IFLA_BR_VLAN_STATS_ENABLED
= 41,
834 IFLA_BR_MCAST_STATS_ENABLED
= 42,
835 IFLA_BR_MCAST_IGMP_VERSION
= 43,
836 IFLA_BR_MCAST_MLD_VERSION
= 44,
837 IFLA_BR_VLAN_STATS_PER_PORT
= 45,
838 IFLA_BR_MULTI_BOOLOPT
= 46,
839 IFLA_BR_MCAST_QUERIER_STATE
= 47,
843 #[derive(Debug, Copy, Clone)]
844 pub struct ifla_bridge_id
{
845 pub prio
: [__u8
; 2usize
],
846 pub addr
: [__u8
; 6usize
],
848 pub const BRIDGE_MODE_UNSPEC
: _bindgen_ty_7
= _bindgen_ty_7
::BRIDGE_MODE_UNSPEC
;
849 pub const BRIDGE_MODE_HAIRPIN
: _bindgen_ty_7
= _bindgen_ty_7
::BRIDGE_MODE_HAIRPIN
;
852 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
853 pub enum _bindgen_ty_7
{
854 BRIDGE_MODE_UNSPEC
= 0,
855 BRIDGE_MODE_HAIRPIN
= 1,
857 pub const IFLA_BRPORT_UNSPEC
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_UNSPEC
;
858 pub const IFLA_BRPORT_STATE
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_STATE
;
859 pub const IFLA_BRPORT_PRIORITY
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_PRIORITY
;
860 pub const IFLA_BRPORT_COST
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_COST
;
861 pub const IFLA_BRPORT_MODE
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_MODE
;
862 pub const IFLA_BRPORT_GUARD
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_GUARD
;
863 pub const IFLA_BRPORT_PROTECT
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_PROTECT
;
864 pub const IFLA_BRPORT_FAST_LEAVE
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_FAST_LEAVE
;
865 pub const IFLA_BRPORT_LEARNING
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_LEARNING
;
866 pub const IFLA_BRPORT_UNICAST_FLOOD
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_UNICAST_FLOOD
;
867 pub const IFLA_BRPORT_PROXYARP
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_PROXYARP
;
868 pub const IFLA_BRPORT_LEARNING_SYNC
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_LEARNING_SYNC
;
869 pub const IFLA_BRPORT_PROXYARP_WIFI
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_PROXYARP_WIFI
;
870 pub const IFLA_BRPORT_ROOT_ID
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_ROOT_ID
;
871 pub const IFLA_BRPORT_BRIDGE_ID
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_BRIDGE_ID
;
872 pub const IFLA_BRPORT_DESIGNATED_PORT
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_DESIGNATED_PORT
;
873 pub const IFLA_BRPORT_DESIGNATED_COST
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_DESIGNATED_COST
;
874 pub const IFLA_BRPORT_ID
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_ID
;
875 pub const IFLA_BRPORT_NO
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_NO
;
876 pub const IFLA_BRPORT_TOPOLOGY_CHANGE_ACK
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_TOPOLOGY_CHANGE_ACK
;
877 pub const IFLA_BRPORT_CONFIG_PENDING
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_CONFIG_PENDING
;
878 pub const IFLA_BRPORT_MESSAGE_AGE_TIMER
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_MESSAGE_AGE_TIMER
;
879 pub const IFLA_BRPORT_FORWARD_DELAY_TIMER
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_FORWARD_DELAY_TIMER
;
880 pub const IFLA_BRPORT_HOLD_TIMER
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_HOLD_TIMER
;
881 pub const IFLA_BRPORT_FLUSH
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_FLUSH
;
882 pub const IFLA_BRPORT_MULTICAST_ROUTER
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_MULTICAST_ROUTER
;
883 pub const IFLA_BRPORT_PAD
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_PAD
;
884 pub const IFLA_BRPORT_MCAST_FLOOD
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_MCAST_FLOOD
;
885 pub const IFLA_BRPORT_MCAST_TO_UCAST
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_MCAST_TO_UCAST
;
886 pub const IFLA_BRPORT_VLAN_TUNNEL
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_VLAN_TUNNEL
;
887 pub const IFLA_BRPORT_BCAST_FLOOD
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_BCAST_FLOOD
;
888 pub const IFLA_BRPORT_GROUP_FWD_MASK
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_GROUP_FWD_MASK
;
889 pub const IFLA_BRPORT_NEIGH_SUPPRESS
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_NEIGH_SUPPRESS
;
890 pub const IFLA_BRPORT_ISOLATED
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_ISOLATED
;
891 pub const IFLA_BRPORT_BACKUP_PORT
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_BACKUP_PORT
;
892 pub const IFLA_BRPORT_MRP_RING_OPEN
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_MRP_RING_OPEN
;
893 pub const IFLA_BRPORT_MRP_IN_OPEN
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_MRP_IN_OPEN
;
894 pub const IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT
;
895 pub const IFLA_BRPORT_MCAST_EHT_HOSTS_CNT
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_MCAST_EHT_HOSTS_CNT
;
896 pub const IFLA_BRPORT_LOCKED
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_LOCKED
;
897 pub const IFLA_BRPORT_MAB
: _bindgen_ty_8
= _bindgen_ty_8
::IFLA_BRPORT_MAB
;
898 pub const __IFLA_BRPORT_MAX
: _bindgen_ty_8
= _bindgen_ty_8
::__IFLA_BRPORT_MAX
;
901 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
902 pub enum _bindgen_ty_8
{
903 IFLA_BRPORT_UNSPEC
= 0,
904 IFLA_BRPORT_STATE
= 1,
905 IFLA_BRPORT_PRIORITY
= 2,
906 IFLA_BRPORT_COST
= 3,
907 IFLA_BRPORT_MODE
= 4,
908 IFLA_BRPORT_GUARD
= 5,
909 IFLA_BRPORT_PROTECT
= 6,
910 IFLA_BRPORT_FAST_LEAVE
= 7,
911 IFLA_BRPORT_LEARNING
= 8,
912 IFLA_BRPORT_UNICAST_FLOOD
= 9,
913 IFLA_BRPORT_PROXYARP
= 10,
914 IFLA_BRPORT_LEARNING_SYNC
= 11,
915 IFLA_BRPORT_PROXYARP_WIFI
= 12,
916 IFLA_BRPORT_ROOT_ID
= 13,
917 IFLA_BRPORT_BRIDGE_ID
= 14,
918 IFLA_BRPORT_DESIGNATED_PORT
= 15,
919 IFLA_BRPORT_DESIGNATED_COST
= 16,
922 IFLA_BRPORT_TOPOLOGY_CHANGE_ACK
= 19,
923 IFLA_BRPORT_CONFIG_PENDING
= 20,
924 IFLA_BRPORT_MESSAGE_AGE_TIMER
= 21,
925 IFLA_BRPORT_FORWARD_DELAY_TIMER
= 22,
926 IFLA_BRPORT_HOLD_TIMER
= 23,
927 IFLA_BRPORT_FLUSH
= 24,
928 IFLA_BRPORT_MULTICAST_ROUTER
= 25,
929 IFLA_BRPORT_PAD
= 26,
930 IFLA_BRPORT_MCAST_FLOOD
= 27,
931 IFLA_BRPORT_MCAST_TO_UCAST
= 28,
932 IFLA_BRPORT_VLAN_TUNNEL
= 29,
933 IFLA_BRPORT_BCAST_FLOOD
= 30,
934 IFLA_BRPORT_GROUP_FWD_MASK
= 31,
935 IFLA_BRPORT_NEIGH_SUPPRESS
= 32,
936 IFLA_BRPORT_ISOLATED
= 33,
937 IFLA_BRPORT_BACKUP_PORT
= 34,
938 IFLA_BRPORT_MRP_RING_OPEN
= 35,
939 IFLA_BRPORT_MRP_IN_OPEN
= 36,
940 IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT
= 37,
941 IFLA_BRPORT_MCAST_EHT_HOSTS_CNT
= 38,
942 IFLA_BRPORT_LOCKED
= 39,
943 IFLA_BRPORT_MAB
= 40,
944 __IFLA_BRPORT_MAX
= 41,
947 #[derive(Debug, Copy, Clone)]
948 pub struct ifla_cacheinfo
{
949 pub max_reasm_len
: __u32
,
951 pub reachable_time
: __u32
,
952 pub retrans_time
: __u32
,
954 pub const IFLA_INFO_UNSPEC
: _bindgen_ty_9
= _bindgen_ty_9
::IFLA_INFO_UNSPEC
;
955 pub const IFLA_INFO_KIND
: _bindgen_ty_9
= _bindgen_ty_9
::IFLA_INFO_KIND
;
956 pub const IFLA_INFO_DATA
: _bindgen_ty_9
= _bindgen_ty_9
::IFLA_INFO_DATA
;
957 pub const IFLA_INFO_XSTATS
: _bindgen_ty_9
= _bindgen_ty_9
::IFLA_INFO_XSTATS
;
958 pub const IFLA_INFO_SLAVE_KIND
: _bindgen_ty_9
= _bindgen_ty_9
::IFLA_INFO_SLAVE_KIND
;
959 pub const IFLA_INFO_SLAVE_DATA
: _bindgen_ty_9
= _bindgen_ty_9
::IFLA_INFO_SLAVE_DATA
;
960 pub const __IFLA_INFO_MAX
: _bindgen_ty_9
= _bindgen_ty_9
::__IFLA_INFO_MAX
;
963 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
964 pub enum _bindgen_ty_9
{
965 IFLA_INFO_UNSPEC
= 0,
968 IFLA_INFO_XSTATS
= 3,
969 IFLA_INFO_SLAVE_KIND
= 4,
970 IFLA_INFO_SLAVE_DATA
= 5,
973 pub const IFLA_VLAN_UNSPEC
: _bindgen_ty_10
= _bindgen_ty_10
::IFLA_VLAN_UNSPEC
;
974 pub const IFLA_VLAN_ID
: _bindgen_ty_10
= _bindgen_ty_10
::IFLA_VLAN_ID
;
975 pub const IFLA_VLAN_FLAGS
: _bindgen_ty_10
= _bindgen_ty_10
::IFLA_VLAN_FLAGS
;
976 pub const IFLA_VLAN_EGRESS_QOS
: _bindgen_ty_10
= _bindgen_ty_10
::IFLA_VLAN_EGRESS_QOS
;
977 pub const IFLA_VLAN_INGRESS_QOS
: _bindgen_ty_10
= _bindgen_ty_10
::IFLA_VLAN_INGRESS_QOS
;
978 pub const IFLA_VLAN_PROTOCOL
: _bindgen_ty_10
= _bindgen_ty_10
::IFLA_VLAN_PROTOCOL
;
979 pub const __IFLA_VLAN_MAX
: _bindgen_ty_10
= _bindgen_ty_10
::__IFLA_VLAN_MAX
;
982 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
983 pub enum _bindgen_ty_10
{
984 IFLA_VLAN_UNSPEC
= 0,
987 IFLA_VLAN_EGRESS_QOS
= 3,
988 IFLA_VLAN_INGRESS_QOS
= 4,
989 IFLA_VLAN_PROTOCOL
= 5,
993 #[derive(Debug, Copy, Clone)]
994 pub struct ifla_vlan_flags
{
998 pub const IFLA_VLAN_QOS_UNSPEC
: _bindgen_ty_11
= _bindgen_ty_11
::IFLA_VLAN_QOS_UNSPEC
;
999 pub const IFLA_VLAN_QOS_MAPPING
: _bindgen_ty_11
= _bindgen_ty_11
::IFLA_VLAN_QOS_MAPPING
;
1000 pub const __IFLA_VLAN_QOS_MAX
: _bindgen_ty_11
= _bindgen_ty_11
::__IFLA_VLAN_QOS_MAX
;
1003 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1004 pub enum _bindgen_ty_11
{
1005 IFLA_VLAN_QOS_UNSPEC
= 0,
1006 IFLA_VLAN_QOS_MAPPING
= 1,
1007 __IFLA_VLAN_QOS_MAX
= 2,
1010 #[derive(Debug, Copy, Clone)]
1011 pub struct ifla_vlan_qos_mapping
{
1015 pub const IFLA_MACVLAN_UNSPEC
: _bindgen_ty_12
= _bindgen_ty_12
::IFLA_MACVLAN_UNSPEC
;
1016 pub const IFLA_MACVLAN_MODE
: _bindgen_ty_12
= _bindgen_ty_12
::IFLA_MACVLAN_MODE
;
1017 pub const IFLA_MACVLAN_FLAGS
: _bindgen_ty_12
= _bindgen_ty_12
::IFLA_MACVLAN_FLAGS
;
1018 pub const IFLA_MACVLAN_MACADDR_MODE
: _bindgen_ty_12
= _bindgen_ty_12
::IFLA_MACVLAN_MACADDR_MODE
;
1019 pub const IFLA_MACVLAN_MACADDR
: _bindgen_ty_12
= _bindgen_ty_12
::IFLA_MACVLAN_MACADDR
;
1020 pub const IFLA_MACVLAN_MACADDR_DATA
: _bindgen_ty_12
= _bindgen_ty_12
::IFLA_MACVLAN_MACADDR_DATA
;
1021 pub const IFLA_MACVLAN_MACADDR_COUNT
: _bindgen_ty_12
= _bindgen_ty_12
::IFLA_MACVLAN_MACADDR_COUNT
;
1022 pub const IFLA_MACVLAN_BC_QUEUE_LEN
: _bindgen_ty_12
= _bindgen_ty_12
::IFLA_MACVLAN_BC_QUEUE_LEN
;
1023 pub const IFLA_MACVLAN_BC_QUEUE_LEN_USED
: _bindgen_ty_12
= _bindgen_ty_12
::IFLA_MACVLAN_BC_QUEUE_LEN_USED
;
1024 pub const __IFLA_MACVLAN_MAX
: _bindgen_ty_12
= _bindgen_ty_12
::__IFLA_MACVLAN_MAX
;
1027 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1028 pub enum _bindgen_ty_12
{
1029 IFLA_MACVLAN_UNSPEC
= 0,
1030 IFLA_MACVLAN_MODE
= 1,
1031 IFLA_MACVLAN_FLAGS
= 2,
1032 IFLA_MACVLAN_MACADDR_MODE
= 3,
1033 IFLA_MACVLAN_MACADDR
= 4,
1034 IFLA_MACVLAN_MACADDR_DATA
= 5,
1035 IFLA_MACVLAN_MACADDR_COUNT
= 6,
1036 IFLA_MACVLAN_BC_QUEUE_LEN
= 7,
1037 IFLA_MACVLAN_BC_QUEUE_LEN_USED
= 8,
1038 __IFLA_MACVLAN_MAX
= 9,
1042 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1043 pub enum macvlan_mode
{
1044 MACVLAN_MODE_PRIVATE
= 1,
1045 MACVLAN_MODE_VEPA
= 2,
1046 MACVLAN_MODE_BRIDGE
= 4,
1047 MACVLAN_MODE_PASSTHRU
= 8,
1048 MACVLAN_MODE_SOURCE
= 16,
1052 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1053 pub enum macvlan_macaddr_mode
{
1054 MACVLAN_MACADDR_ADD
= 0,
1055 MACVLAN_MACADDR_DEL
= 1,
1056 MACVLAN_MACADDR_FLUSH
= 2,
1057 MACVLAN_MACADDR_SET
= 3,
1059 pub const IFLA_VRF_UNSPEC
: _bindgen_ty_13
= _bindgen_ty_13
::IFLA_VRF_UNSPEC
;
1060 pub const IFLA_VRF_TABLE
: _bindgen_ty_13
= _bindgen_ty_13
::IFLA_VRF_TABLE
;
1061 pub const __IFLA_VRF_MAX
: _bindgen_ty_13
= _bindgen_ty_13
::__IFLA_VRF_MAX
;
1064 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1065 pub enum _bindgen_ty_13
{
1066 IFLA_VRF_UNSPEC
= 0,
1070 pub const IFLA_VRF_PORT_UNSPEC
: _bindgen_ty_14
= _bindgen_ty_14
::IFLA_VRF_PORT_UNSPEC
;
1071 pub const IFLA_VRF_PORT_TABLE
: _bindgen_ty_14
= _bindgen_ty_14
::IFLA_VRF_PORT_TABLE
;
1072 pub const __IFLA_VRF_PORT_MAX
: _bindgen_ty_14
= _bindgen_ty_14
::__IFLA_VRF_PORT_MAX
;
1075 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1076 pub enum _bindgen_ty_14
{
1077 IFLA_VRF_PORT_UNSPEC
= 0,
1078 IFLA_VRF_PORT_TABLE
= 1,
1079 __IFLA_VRF_PORT_MAX
= 2,
1081 pub const IFLA_MACSEC_UNSPEC
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_UNSPEC
;
1082 pub const IFLA_MACSEC_SCI
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_SCI
;
1083 pub const IFLA_MACSEC_PORT
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_PORT
;
1084 pub const IFLA_MACSEC_ICV_LEN
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_ICV_LEN
;
1085 pub const IFLA_MACSEC_CIPHER_SUITE
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_CIPHER_SUITE
;
1086 pub const IFLA_MACSEC_WINDOW
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_WINDOW
;
1087 pub const IFLA_MACSEC_ENCODING_SA
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_ENCODING_SA
;
1088 pub const IFLA_MACSEC_ENCRYPT
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_ENCRYPT
;
1089 pub const IFLA_MACSEC_PROTECT
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_PROTECT
;
1090 pub const IFLA_MACSEC_INC_SCI
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_INC_SCI
;
1091 pub const IFLA_MACSEC_ES
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_ES
;
1092 pub const IFLA_MACSEC_SCB
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_SCB
;
1093 pub const IFLA_MACSEC_REPLAY_PROTECT
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_REPLAY_PROTECT
;
1094 pub const IFLA_MACSEC_VALIDATION
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_VALIDATION
;
1095 pub const IFLA_MACSEC_PAD
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_PAD
;
1096 pub const IFLA_MACSEC_OFFLOAD
: _bindgen_ty_15
= _bindgen_ty_15
::IFLA_MACSEC_OFFLOAD
;
1097 pub const __IFLA_MACSEC_MAX
: _bindgen_ty_15
= _bindgen_ty_15
::__IFLA_MACSEC_MAX
;
1100 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1101 pub enum _bindgen_ty_15
{
1102 IFLA_MACSEC_UNSPEC
= 0,
1103 IFLA_MACSEC_SCI
= 1,
1104 IFLA_MACSEC_PORT
= 2,
1105 IFLA_MACSEC_ICV_LEN
= 3,
1106 IFLA_MACSEC_CIPHER_SUITE
= 4,
1107 IFLA_MACSEC_WINDOW
= 5,
1108 IFLA_MACSEC_ENCODING_SA
= 6,
1109 IFLA_MACSEC_ENCRYPT
= 7,
1110 IFLA_MACSEC_PROTECT
= 8,
1111 IFLA_MACSEC_INC_SCI
= 9,
1112 IFLA_MACSEC_ES
= 10,
1113 IFLA_MACSEC_SCB
= 11,
1114 IFLA_MACSEC_REPLAY_PROTECT
= 12,
1115 IFLA_MACSEC_VALIDATION
= 13,
1116 IFLA_MACSEC_PAD
= 14,
1117 IFLA_MACSEC_OFFLOAD
= 15,
1118 __IFLA_MACSEC_MAX
= 16,
1120 pub const IFLA_XFRM_UNSPEC
: _bindgen_ty_16
= _bindgen_ty_16
::IFLA_XFRM_UNSPEC
;
1121 pub const IFLA_XFRM_LINK
: _bindgen_ty_16
= _bindgen_ty_16
::IFLA_XFRM_LINK
;
1122 pub const IFLA_XFRM_IF_ID
: _bindgen_ty_16
= _bindgen_ty_16
::IFLA_XFRM_IF_ID
;
1123 pub const IFLA_XFRM_COLLECT_METADATA
: _bindgen_ty_16
= _bindgen_ty_16
::IFLA_XFRM_COLLECT_METADATA
;
1124 pub const __IFLA_XFRM_MAX
: _bindgen_ty_16
= _bindgen_ty_16
::__IFLA_XFRM_MAX
;
1127 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1128 pub enum _bindgen_ty_16
{
1129 IFLA_XFRM_UNSPEC
= 0,
1131 IFLA_XFRM_IF_ID
= 2,
1132 IFLA_XFRM_COLLECT_METADATA
= 3,
1133 __IFLA_XFRM_MAX
= 4,
1135 impl macsec_validation_type
{
1136 pub const MACSEC_VALIDATE_MAX
: macsec_validation_type
= macsec_validation_type
::MACSEC_VALIDATE_STRICT
;
1140 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1141 pub enum macsec_validation_type
{
1142 MACSEC_VALIDATE_DISABLED
= 0,
1143 MACSEC_VALIDATE_CHECK
= 1,
1144 MACSEC_VALIDATE_STRICT
= 2,
1145 __MACSEC_VALIDATE_END
= 3,
1147 impl macsec_offload
{
1148 pub const MACSEC_OFFLOAD_MAX
: macsec_offload
= macsec_offload
::MACSEC_OFFLOAD_MAC
;
1152 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1153 pub enum macsec_offload
{
1154 MACSEC_OFFLOAD_OFF
= 0,
1155 MACSEC_OFFLOAD_PHY
= 1,
1156 MACSEC_OFFLOAD_MAC
= 2,
1157 __MACSEC_OFFLOAD_END
= 3,
1159 pub const IFLA_IPVLAN_UNSPEC
: _bindgen_ty_17
= _bindgen_ty_17
::IFLA_IPVLAN_UNSPEC
;
1160 pub const IFLA_IPVLAN_MODE
: _bindgen_ty_17
= _bindgen_ty_17
::IFLA_IPVLAN_MODE
;
1161 pub const IFLA_IPVLAN_FLAGS
: _bindgen_ty_17
= _bindgen_ty_17
::IFLA_IPVLAN_FLAGS
;
1162 pub const __IFLA_IPVLAN_MAX
: _bindgen_ty_17
= _bindgen_ty_17
::__IFLA_IPVLAN_MAX
;
1165 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1166 pub enum _bindgen_ty_17
{
1167 IFLA_IPVLAN_UNSPEC
= 0,
1168 IFLA_IPVLAN_MODE
= 1,
1169 IFLA_IPVLAN_FLAGS
= 2,
1170 __IFLA_IPVLAN_MAX
= 3,
1174 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1175 pub enum ipvlan_mode
{
1178 IPVLAN_MODE_L3S
= 2,
1179 IPVLAN_MODE_MAX
= 3,
1182 #[derive(Debug, Copy, Clone)]
1183 pub struct tunnel_msg
{
1186 pub reserved2
: __u16
,
1189 pub const VNIFILTER_ENTRY_STATS_UNSPEC
: _bindgen_ty_18
= _bindgen_ty_18
::VNIFILTER_ENTRY_STATS_UNSPEC
;
1190 pub const VNIFILTER_ENTRY_STATS_RX_BYTES
: _bindgen_ty_18
= _bindgen_ty_18
::VNIFILTER_ENTRY_STATS_RX_BYTES
;
1191 pub const VNIFILTER_ENTRY_STATS_RX_PKTS
: _bindgen_ty_18
= _bindgen_ty_18
::VNIFILTER_ENTRY_STATS_RX_PKTS
;
1192 pub const VNIFILTER_ENTRY_STATS_RX_DROPS
: _bindgen_ty_18
= _bindgen_ty_18
::VNIFILTER_ENTRY_STATS_RX_DROPS
;
1193 pub const VNIFILTER_ENTRY_STATS_RX_ERRORS
: _bindgen_ty_18
= _bindgen_ty_18
::VNIFILTER_ENTRY_STATS_RX_ERRORS
;
1194 pub const VNIFILTER_ENTRY_STATS_TX_BYTES
: _bindgen_ty_18
= _bindgen_ty_18
::VNIFILTER_ENTRY_STATS_TX_BYTES
;
1195 pub const VNIFILTER_ENTRY_STATS_TX_PKTS
: _bindgen_ty_18
= _bindgen_ty_18
::VNIFILTER_ENTRY_STATS_TX_PKTS
;
1196 pub const VNIFILTER_ENTRY_STATS_TX_DROPS
: _bindgen_ty_18
= _bindgen_ty_18
::VNIFILTER_ENTRY_STATS_TX_DROPS
;
1197 pub const VNIFILTER_ENTRY_STATS_TX_ERRORS
: _bindgen_ty_18
= _bindgen_ty_18
::VNIFILTER_ENTRY_STATS_TX_ERRORS
;
1198 pub const VNIFILTER_ENTRY_STATS_PAD
: _bindgen_ty_18
= _bindgen_ty_18
::VNIFILTER_ENTRY_STATS_PAD
;
1199 pub const __VNIFILTER_ENTRY_STATS_MAX
: _bindgen_ty_18
= _bindgen_ty_18
::__VNIFILTER_ENTRY_STATS_MAX
;
1202 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1203 pub enum _bindgen_ty_18
{
1204 VNIFILTER_ENTRY_STATS_UNSPEC
= 0,
1205 VNIFILTER_ENTRY_STATS_RX_BYTES
= 1,
1206 VNIFILTER_ENTRY_STATS_RX_PKTS
= 2,
1207 VNIFILTER_ENTRY_STATS_RX_DROPS
= 3,
1208 VNIFILTER_ENTRY_STATS_RX_ERRORS
= 4,
1209 VNIFILTER_ENTRY_STATS_TX_BYTES
= 5,
1210 VNIFILTER_ENTRY_STATS_TX_PKTS
= 6,
1211 VNIFILTER_ENTRY_STATS_TX_DROPS
= 7,
1212 VNIFILTER_ENTRY_STATS_TX_ERRORS
= 8,
1213 VNIFILTER_ENTRY_STATS_PAD
= 9,
1214 __VNIFILTER_ENTRY_STATS_MAX
= 10,
1216 pub const VXLAN_VNIFILTER_ENTRY_UNSPEC
: _bindgen_ty_19
= _bindgen_ty_19
::VXLAN_VNIFILTER_ENTRY_UNSPEC
;
1217 pub const VXLAN_VNIFILTER_ENTRY_START
: _bindgen_ty_19
= _bindgen_ty_19
::VXLAN_VNIFILTER_ENTRY_START
;
1218 pub const VXLAN_VNIFILTER_ENTRY_END
: _bindgen_ty_19
= _bindgen_ty_19
::VXLAN_VNIFILTER_ENTRY_END
;
1219 pub const VXLAN_VNIFILTER_ENTRY_GROUP
: _bindgen_ty_19
= _bindgen_ty_19
::VXLAN_VNIFILTER_ENTRY_GROUP
;
1220 pub const VXLAN_VNIFILTER_ENTRY_GROUP6
: _bindgen_ty_19
= _bindgen_ty_19
::VXLAN_VNIFILTER_ENTRY_GROUP6
;
1221 pub const VXLAN_VNIFILTER_ENTRY_STATS
: _bindgen_ty_19
= _bindgen_ty_19
::VXLAN_VNIFILTER_ENTRY_STATS
;
1222 pub const __VXLAN_VNIFILTER_ENTRY_MAX
: _bindgen_ty_19
= _bindgen_ty_19
::__VXLAN_VNIFILTER_ENTRY_MAX
;
1225 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1226 pub enum _bindgen_ty_19
{
1227 VXLAN_VNIFILTER_ENTRY_UNSPEC
= 0,
1228 VXLAN_VNIFILTER_ENTRY_START
= 1,
1229 VXLAN_VNIFILTER_ENTRY_END
= 2,
1230 VXLAN_VNIFILTER_ENTRY_GROUP
= 3,
1231 VXLAN_VNIFILTER_ENTRY_GROUP6
= 4,
1232 VXLAN_VNIFILTER_ENTRY_STATS
= 5,
1233 __VXLAN_VNIFILTER_ENTRY_MAX
= 6,
1235 pub const VXLAN_VNIFILTER_UNSPEC
: _bindgen_ty_20
= _bindgen_ty_20
::VXLAN_VNIFILTER_UNSPEC
;
1236 pub const VXLAN_VNIFILTER_ENTRY
: _bindgen_ty_20
= _bindgen_ty_20
::VXLAN_VNIFILTER_ENTRY
;
1237 pub const __VXLAN_VNIFILTER_MAX
: _bindgen_ty_20
= _bindgen_ty_20
::__VXLAN_VNIFILTER_MAX
;
1240 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1241 pub enum _bindgen_ty_20
{
1242 VXLAN_VNIFILTER_UNSPEC
= 0,
1243 VXLAN_VNIFILTER_ENTRY
= 1,
1244 __VXLAN_VNIFILTER_MAX
= 2,
1246 pub const IFLA_VXLAN_UNSPEC
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_UNSPEC
;
1247 pub const IFLA_VXLAN_ID
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_ID
;
1248 pub const IFLA_VXLAN_GROUP
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_GROUP
;
1249 pub const IFLA_VXLAN_LINK
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_LINK
;
1250 pub const IFLA_VXLAN_LOCAL
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_LOCAL
;
1251 pub const IFLA_VXLAN_TTL
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_TTL
;
1252 pub const IFLA_VXLAN_TOS
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_TOS
;
1253 pub const IFLA_VXLAN_LEARNING
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_LEARNING
;
1254 pub const IFLA_VXLAN_AGEING
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_AGEING
;
1255 pub const IFLA_VXLAN_LIMIT
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_LIMIT
;
1256 pub const IFLA_VXLAN_PORT_RANGE
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_PORT_RANGE
;
1257 pub const IFLA_VXLAN_PROXY
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_PROXY
;
1258 pub const IFLA_VXLAN_RSC
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_RSC
;
1259 pub const IFLA_VXLAN_L2MISS
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_L2MISS
;
1260 pub const IFLA_VXLAN_L3MISS
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_L3MISS
;
1261 pub const IFLA_VXLAN_PORT
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_PORT
;
1262 pub const IFLA_VXLAN_GROUP6
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_GROUP6
;
1263 pub const IFLA_VXLAN_LOCAL6
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_LOCAL6
;
1264 pub const IFLA_VXLAN_UDP_CSUM
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_UDP_CSUM
;
1265 pub const IFLA_VXLAN_UDP_ZERO_CSUM6_TX
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_UDP_ZERO_CSUM6_TX
;
1266 pub const IFLA_VXLAN_UDP_ZERO_CSUM6_RX
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_UDP_ZERO_CSUM6_RX
;
1267 pub const IFLA_VXLAN_REMCSUM_TX
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_REMCSUM_TX
;
1268 pub const IFLA_VXLAN_REMCSUM_RX
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_REMCSUM_RX
;
1269 pub const IFLA_VXLAN_GBP
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_GBP
;
1270 pub const IFLA_VXLAN_REMCSUM_NOPARTIAL
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_REMCSUM_NOPARTIAL
;
1271 pub const IFLA_VXLAN_COLLECT_METADATA
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_COLLECT_METADATA
;
1272 pub const IFLA_VXLAN_LABEL
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_LABEL
;
1273 pub const IFLA_VXLAN_GPE
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_GPE
;
1274 pub const IFLA_VXLAN_TTL_INHERIT
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_TTL_INHERIT
;
1275 pub const IFLA_VXLAN_DF
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_DF
;
1276 pub const IFLA_VXLAN_VNIFILTER
: _bindgen_ty_21
= _bindgen_ty_21
::IFLA_VXLAN_VNIFILTER
;
1277 pub const __IFLA_VXLAN_MAX
: _bindgen_ty_21
= _bindgen_ty_21
::__IFLA_VXLAN_MAX
;
1280 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1281 pub enum _bindgen_ty_21
{
1282 IFLA_VXLAN_UNSPEC
= 0,
1284 IFLA_VXLAN_GROUP
= 2,
1285 IFLA_VXLAN_LINK
= 3,
1286 IFLA_VXLAN_LOCAL
= 4,
1289 IFLA_VXLAN_LEARNING
= 7,
1290 IFLA_VXLAN_AGEING
= 8,
1291 IFLA_VXLAN_LIMIT
= 9,
1292 IFLA_VXLAN_PORT_RANGE
= 10,
1293 IFLA_VXLAN_PROXY
= 11,
1294 IFLA_VXLAN_RSC
= 12,
1295 IFLA_VXLAN_L2MISS
= 13,
1296 IFLA_VXLAN_L3MISS
= 14,
1297 IFLA_VXLAN_PORT
= 15,
1298 IFLA_VXLAN_GROUP6
= 16,
1299 IFLA_VXLAN_LOCAL6
= 17,
1300 IFLA_VXLAN_UDP_CSUM
= 18,
1301 IFLA_VXLAN_UDP_ZERO_CSUM6_TX
= 19,
1302 IFLA_VXLAN_UDP_ZERO_CSUM6_RX
= 20,
1303 IFLA_VXLAN_REMCSUM_TX
= 21,
1304 IFLA_VXLAN_REMCSUM_RX
= 22,
1305 IFLA_VXLAN_GBP
= 23,
1306 IFLA_VXLAN_REMCSUM_NOPARTIAL
= 24,
1307 IFLA_VXLAN_COLLECT_METADATA
= 25,
1308 IFLA_VXLAN_LABEL
= 26,
1309 IFLA_VXLAN_GPE
= 27,
1310 IFLA_VXLAN_TTL_INHERIT
= 28,
1312 IFLA_VXLAN_VNIFILTER
= 30,
1313 __IFLA_VXLAN_MAX
= 31,
1316 #[derive(Debug, Copy, Clone)]
1317 pub struct ifla_vxlan_port_range
{
1321 impl ifla_vxlan_df
{
1322 pub const VXLAN_DF_MAX
: ifla_vxlan_df
= ifla_vxlan_df
::VXLAN_DF_INHERIT
;
1326 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1327 pub enum ifla_vxlan_df
{
1330 VXLAN_DF_INHERIT
= 2,
1333 pub const IFLA_GENEVE_UNSPEC
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_UNSPEC
;
1334 pub const IFLA_GENEVE_ID
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_ID
;
1335 pub const IFLA_GENEVE_REMOTE
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_REMOTE
;
1336 pub const IFLA_GENEVE_TTL
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_TTL
;
1337 pub const IFLA_GENEVE_TOS
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_TOS
;
1338 pub const IFLA_GENEVE_PORT
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_PORT
;
1339 pub const IFLA_GENEVE_COLLECT_METADATA
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_COLLECT_METADATA
;
1340 pub const IFLA_GENEVE_REMOTE6
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_REMOTE6
;
1341 pub const IFLA_GENEVE_UDP_CSUM
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_UDP_CSUM
;
1342 pub const IFLA_GENEVE_UDP_ZERO_CSUM6_TX
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_UDP_ZERO_CSUM6_TX
;
1343 pub const IFLA_GENEVE_UDP_ZERO_CSUM6_RX
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_UDP_ZERO_CSUM6_RX
;
1344 pub const IFLA_GENEVE_LABEL
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_LABEL
;
1345 pub const IFLA_GENEVE_TTL_INHERIT
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_TTL_INHERIT
;
1346 pub const IFLA_GENEVE_DF
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_DF
;
1347 pub const IFLA_GENEVE_INNER_PROTO_INHERIT
: _bindgen_ty_22
= _bindgen_ty_22
::IFLA_GENEVE_INNER_PROTO_INHERIT
;
1348 pub const __IFLA_GENEVE_MAX
: _bindgen_ty_22
= _bindgen_ty_22
::__IFLA_GENEVE_MAX
;
1351 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1352 pub enum _bindgen_ty_22
{
1353 IFLA_GENEVE_UNSPEC
= 0,
1355 IFLA_GENEVE_REMOTE
= 2,
1356 IFLA_GENEVE_TTL
= 3,
1357 IFLA_GENEVE_TOS
= 4,
1358 IFLA_GENEVE_PORT
= 5,
1359 IFLA_GENEVE_COLLECT_METADATA
= 6,
1360 IFLA_GENEVE_REMOTE6
= 7,
1361 IFLA_GENEVE_UDP_CSUM
= 8,
1362 IFLA_GENEVE_UDP_ZERO_CSUM6_TX
= 9,
1363 IFLA_GENEVE_UDP_ZERO_CSUM6_RX
= 10,
1364 IFLA_GENEVE_LABEL
= 11,
1365 IFLA_GENEVE_TTL_INHERIT
= 12,
1366 IFLA_GENEVE_DF
= 13,
1367 IFLA_GENEVE_INNER_PROTO_INHERIT
= 14,
1368 __IFLA_GENEVE_MAX
= 15,
1370 impl ifla_geneve_df
{
1371 pub const GENEVE_DF_MAX
: ifla_geneve_df
= ifla_geneve_df
::GENEVE_DF_INHERIT
;
1375 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1376 pub enum ifla_geneve_df
{
1377 GENEVE_DF_UNSET
= 0,
1379 GENEVE_DF_INHERIT
= 2,
1380 __GENEVE_DF_END
= 3,
1382 pub const IFLA_BAREUDP_UNSPEC
: _bindgen_ty_23
= _bindgen_ty_23
::IFLA_BAREUDP_UNSPEC
;
1383 pub const IFLA_BAREUDP_PORT
: _bindgen_ty_23
= _bindgen_ty_23
::IFLA_BAREUDP_PORT
;
1384 pub const IFLA_BAREUDP_ETHERTYPE
: _bindgen_ty_23
= _bindgen_ty_23
::IFLA_BAREUDP_ETHERTYPE
;
1385 pub const IFLA_BAREUDP_SRCPORT_MIN
: _bindgen_ty_23
= _bindgen_ty_23
::IFLA_BAREUDP_SRCPORT_MIN
;
1386 pub const IFLA_BAREUDP_MULTIPROTO_MODE
: _bindgen_ty_23
= _bindgen_ty_23
::IFLA_BAREUDP_MULTIPROTO_MODE
;
1387 pub const __IFLA_BAREUDP_MAX
: _bindgen_ty_23
= _bindgen_ty_23
::__IFLA_BAREUDP_MAX
;
1390 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1391 pub enum _bindgen_ty_23
{
1392 IFLA_BAREUDP_UNSPEC
= 0,
1393 IFLA_BAREUDP_PORT
= 1,
1394 IFLA_BAREUDP_ETHERTYPE
= 2,
1395 IFLA_BAREUDP_SRCPORT_MIN
= 3,
1396 IFLA_BAREUDP_MULTIPROTO_MODE
= 4,
1397 __IFLA_BAREUDP_MAX
= 5,
1399 pub const IFLA_PPP_UNSPEC
: _bindgen_ty_24
= _bindgen_ty_24
::IFLA_PPP_UNSPEC
;
1400 pub const IFLA_PPP_DEV_FD
: _bindgen_ty_24
= _bindgen_ty_24
::IFLA_PPP_DEV_FD
;
1401 pub const __IFLA_PPP_MAX
: _bindgen_ty_24
= _bindgen_ty_24
::__IFLA_PPP_MAX
;
1404 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1405 pub enum _bindgen_ty_24
{
1406 IFLA_PPP_UNSPEC
= 0,
1407 IFLA_PPP_DEV_FD
= 1,
1412 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1413 pub enum ifla_gtp_role
{
1417 pub const IFLA_GTP_UNSPEC
: _bindgen_ty_25
= _bindgen_ty_25
::IFLA_GTP_UNSPEC
;
1418 pub const IFLA_GTP_FD0
: _bindgen_ty_25
= _bindgen_ty_25
::IFLA_GTP_FD0
;
1419 pub const IFLA_GTP_FD1
: _bindgen_ty_25
= _bindgen_ty_25
::IFLA_GTP_FD1
;
1420 pub const IFLA_GTP_PDP_HASHSIZE
: _bindgen_ty_25
= _bindgen_ty_25
::IFLA_GTP_PDP_HASHSIZE
;
1421 pub const IFLA_GTP_ROLE
: _bindgen_ty_25
= _bindgen_ty_25
::IFLA_GTP_ROLE
;
1422 pub const IFLA_GTP_CREATE_SOCKETS
: _bindgen_ty_25
= _bindgen_ty_25
::IFLA_GTP_CREATE_SOCKETS
;
1423 pub const IFLA_GTP_RESTART_COUNT
: _bindgen_ty_25
= _bindgen_ty_25
::IFLA_GTP_RESTART_COUNT
;
1424 pub const __IFLA_GTP_MAX
: _bindgen_ty_25
= _bindgen_ty_25
::__IFLA_GTP_MAX
;
1427 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1428 pub enum _bindgen_ty_25
{
1429 IFLA_GTP_UNSPEC
= 0,
1432 IFLA_GTP_PDP_HASHSIZE
= 3,
1434 IFLA_GTP_CREATE_SOCKETS
= 5,
1435 IFLA_GTP_RESTART_COUNT
= 6,
1438 pub const IFLA_BOND_UNSPEC
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_UNSPEC
;
1439 pub const IFLA_BOND_MODE
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_MODE
;
1440 pub const IFLA_BOND_ACTIVE_SLAVE
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_ACTIVE_SLAVE
;
1441 pub const IFLA_BOND_MIIMON
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_MIIMON
;
1442 pub const IFLA_BOND_UPDELAY
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_UPDELAY
;
1443 pub const IFLA_BOND_DOWNDELAY
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_DOWNDELAY
;
1444 pub const IFLA_BOND_USE_CARRIER
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_USE_CARRIER
;
1445 pub const IFLA_BOND_ARP_INTERVAL
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_ARP_INTERVAL
;
1446 pub const IFLA_BOND_ARP_IP_TARGET
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_ARP_IP_TARGET
;
1447 pub const IFLA_BOND_ARP_VALIDATE
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_ARP_VALIDATE
;
1448 pub const IFLA_BOND_ARP_ALL_TARGETS
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_ARP_ALL_TARGETS
;
1449 pub const IFLA_BOND_PRIMARY
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_PRIMARY
;
1450 pub const IFLA_BOND_PRIMARY_RESELECT
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_PRIMARY_RESELECT
;
1451 pub const IFLA_BOND_FAIL_OVER_MAC
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_FAIL_OVER_MAC
;
1452 pub const IFLA_BOND_XMIT_HASH_POLICY
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_XMIT_HASH_POLICY
;
1453 pub const IFLA_BOND_RESEND_IGMP
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_RESEND_IGMP
;
1454 pub const IFLA_BOND_NUM_PEER_NOTIF
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_NUM_PEER_NOTIF
;
1455 pub const IFLA_BOND_ALL_SLAVES_ACTIVE
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_ALL_SLAVES_ACTIVE
;
1456 pub const IFLA_BOND_MIN_LINKS
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_MIN_LINKS
;
1457 pub const IFLA_BOND_LP_INTERVAL
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_LP_INTERVAL
;
1458 pub const IFLA_BOND_PACKETS_PER_SLAVE
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_PACKETS_PER_SLAVE
;
1459 pub const IFLA_BOND_AD_LACP_RATE
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_AD_LACP_RATE
;
1460 pub const IFLA_BOND_AD_SELECT
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_AD_SELECT
;
1461 pub const IFLA_BOND_AD_INFO
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_AD_INFO
;
1462 pub const IFLA_BOND_AD_ACTOR_SYS_PRIO
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_AD_ACTOR_SYS_PRIO
;
1463 pub const IFLA_BOND_AD_USER_PORT_KEY
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_AD_USER_PORT_KEY
;
1464 pub const IFLA_BOND_AD_ACTOR_SYSTEM
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_AD_ACTOR_SYSTEM
;
1465 pub const IFLA_BOND_TLB_DYNAMIC_LB
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_TLB_DYNAMIC_LB
;
1466 pub const IFLA_BOND_PEER_NOTIF_DELAY
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_PEER_NOTIF_DELAY
;
1467 pub const IFLA_BOND_AD_LACP_ACTIVE
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_AD_LACP_ACTIVE
;
1468 pub const IFLA_BOND_MISSED_MAX
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_MISSED_MAX
;
1469 pub const IFLA_BOND_NS_IP6_TARGET
: _bindgen_ty_26
= _bindgen_ty_26
::IFLA_BOND_NS_IP6_TARGET
;
1470 pub const __IFLA_BOND_MAX
: _bindgen_ty_26
= _bindgen_ty_26
::__IFLA_BOND_MAX
;
1473 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1474 pub enum _bindgen_ty_26
{
1475 IFLA_BOND_UNSPEC
= 0,
1477 IFLA_BOND_ACTIVE_SLAVE
= 2,
1478 IFLA_BOND_MIIMON
= 3,
1479 IFLA_BOND_UPDELAY
= 4,
1480 IFLA_BOND_DOWNDELAY
= 5,
1481 IFLA_BOND_USE_CARRIER
= 6,
1482 IFLA_BOND_ARP_INTERVAL
= 7,
1483 IFLA_BOND_ARP_IP_TARGET
= 8,
1484 IFLA_BOND_ARP_VALIDATE
= 9,
1485 IFLA_BOND_ARP_ALL_TARGETS
= 10,
1486 IFLA_BOND_PRIMARY
= 11,
1487 IFLA_BOND_PRIMARY_RESELECT
= 12,
1488 IFLA_BOND_FAIL_OVER_MAC
= 13,
1489 IFLA_BOND_XMIT_HASH_POLICY
= 14,
1490 IFLA_BOND_RESEND_IGMP
= 15,
1491 IFLA_BOND_NUM_PEER_NOTIF
= 16,
1492 IFLA_BOND_ALL_SLAVES_ACTIVE
= 17,
1493 IFLA_BOND_MIN_LINKS
= 18,
1494 IFLA_BOND_LP_INTERVAL
= 19,
1495 IFLA_BOND_PACKETS_PER_SLAVE
= 20,
1496 IFLA_BOND_AD_LACP_RATE
= 21,
1497 IFLA_BOND_AD_SELECT
= 22,
1498 IFLA_BOND_AD_INFO
= 23,
1499 IFLA_BOND_AD_ACTOR_SYS_PRIO
= 24,
1500 IFLA_BOND_AD_USER_PORT_KEY
= 25,
1501 IFLA_BOND_AD_ACTOR_SYSTEM
= 26,
1502 IFLA_BOND_TLB_DYNAMIC_LB
= 27,
1503 IFLA_BOND_PEER_NOTIF_DELAY
= 28,
1504 IFLA_BOND_AD_LACP_ACTIVE
= 29,
1505 IFLA_BOND_MISSED_MAX
= 30,
1506 IFLA_BOND_NS_IP6_TARGET
= 31,
1507 __IFLA_BOND_MAX
= 32,
1509 pub const IFLA_BOND_AD_INFO_UNSPEC
: _bindgen_ty_27
= _bindgen_ty_27
::IFLA_BOND_AD_INFO_UNSPEC
;
1510 pub const IFLA_BOND_AD_INFO_AGGREGATOR
: _bindgen_ty_27
= _bindgen_ty_27
::IFLA_BOND_AD_INFO_AGGREGATOR
;
1511 pub const IFLA_BOND_AD_INFO_NUM_PORTS
: _bindgen_ty_27
= _bindgen_ty_27
::IFLA_BOND_AD_INFO_NUM_PORTS
;
1512 pub const IFLA_BOND_AD_INFO_ACTOR_KEY
: _bindgen_ty_27
= _bindgen_ty_27
::IFLA_BOND_AD_INFO_ACTOR_KEY
;
1513 pub const IFLA_BOND_AD_INFO_PARTNER_KEY
: _bindgen_ty_27
= _bindgen_ty_27
::IFLA_BOND_AD_INFO_PARTNER_KEY
;
1514 pub const IFLA_BOND_AD_INFO_PARTNER_MAC
: _bindgen_ty_27
= _bindgen_ty_27
::IFLA_BOND_AD_INFO_PARTNER_MAC
;
1515 pub const __IFLA_BOND_AD_INFO_MAX
: _bindgen_ty_27
= _bindgen_ty_27
::__IFLA_BOND_AD_INFO_MAX
;
1518 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1519 pub enum _bindgen_ty_27
{
1520 IFLA_BOND_AD_INFO_UNSPEC
= 0,
1521 IFLA_BOND_AD_INFO_AGGREGATOR
= 1,
1522 IFLA_BOND_AD_INFO_NUM_PORTS
= 2,
1523 IFLA_BOND_AD_INFO_ACTOR_KEY
= 3,
1524 IFLA_BOND_AD_INFO_PARTNER_KEY
= 4,
1525 IFLA_BOND_AD_INFO_PARTNER_MAC
= 5,
1526 __IFLA_BOND_AD_INFO_MAX
= 6,
1528 pub const IFLA_BOND_SLAVE_UNSPEC
: _bindgen_ty_28
= _bindgen_ty_28
::IFLA_BOND_SLAVE_UNSPEC
;
1529 pub const IFLA_BOND_SLAVE_STATE
: _bindgen_ty_28
= _bindgen_ty_28
::IFLA_BOND_SLAVE_STATE
;
1530 pub const IFLA_BOND_SLAVE_MII_STATUS
: _bindgen_ty_28
= _bindgen_ty_28
::IFLA_BOND_SLAVE_MII_STATUS
;
1531 pub const IFLA_BOND_SLAVE_LINK_FAILURE_COUNT
: _bindgen_ty_28
= _bindgen_ty_28
::IFLA_BOND_SLAVE_LINK_FAILURE_COUNT
;
1532 pub const IFLA_BOND_SLAVE_PERM_HWADDR
: _bindgen_ty_28
= _bindgen_ty_28
::IFLA_BOND_SLAVE_PERM_HWADDR
;
1533 pub const IFLA_BOND_SLAVE_QUEUE_ID
: _bindgen_ty_28
= _bindgen_ty_28
::IFLA_BOND_SLAVE_QUEUE_ID
;
1534 pub const IFLA_BOND_SLAVE_AD_AGGREGATOR_ID
: _bindgen_ty_28
= _bindgen_ty_28
::IFLA_BOND_SLAVE_AD_AGGREGATOR_ID
;
1535 pub const IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE
: _bindgen_ty_28
= _bindgen_ty_28
::IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE
;
1536 pub const IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE
: _bindgen_ty_28
= _bindgen_ty_28
::IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE
;
1537 pub const IFLA_BOND_SLAVE_PRIO
: _bindgen_ty_28
= _bindgen_ty_28
::IFLA_BOND_SLAVE_PRIO
;
1538 pub const __IFLA_BOND_SLAVE_MAX
: _bindgen_ty_28
= _bindgen_ty_28
::__IFLA_BOND_SLAVE_MAX
;
1541 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1542 pub enum _bindgen_ty_28
{
1543 IFLA_BOND_SLAVE_UNSPEC
= 0,
1544 IFLA_BOND_SLAVE_STATE
= 1,
1545 IFLA_BOND_SLAVE_MII_STATUS
= 2,
1546 IFLA_BOND_SLAVE_LINK_FAILURE_COUNT
= 3,
1547 IFLA_BOND_SLAVE_PERM_HWADDR
= 4,
1548 IFLA_BOND_SLAVE_QUEUE_ID
= 5,
1549 IFLA_BOND_SLAVE_AD_AGGREGATOR_ID
= 6,
1550 IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE
= 7,
1551 IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE
= 8,
1552 IFLA_BOND_SLAVE_PRIO
= 9,
1553 __IFLA_BOND_SLAVE_MAX
= 10,
1555 pub const IFLA_VF_INFO_UNSPEC
: _bindgen_ty_29
= _bindgen_ty_29
::IFLA_VF_INFO_UNSPEC
;
1556 pub const IFLA_VF_INFO
: _bindgen_ty_29
= _bindgen_ty_29
::IFLA_VF_INFO
;
1557 pub const __IFLA_VF_INFO_MAX
: _bindgen_ty_29
= _bindgen_ty_29
::__IFLA_VF_INFO_MAX
;
1560 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1561 pub enum _bindgen_ty_29
{
1562 IFLA_VF_INFO_UNSPEC
= 0,
1564 __IFLA_VF_INFO_MAX
= 2,
1566 pub const IFLA_VF_UNSPEC
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_UNSPEC
;
1567 pub const IFLA_VF_MAC
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_MAC
;
1568 pub const IFLA_VF_VLAN
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_VLAN
;
1569 pub const IFLA_VF_TX_RATE
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_TX_RATE
;
1570 pub const IFLA_VF_SPOOFCHK
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_SPOOFCHK
;
1571 pub const IFLA_VF_LINK_STATE
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_LINK_STATE
;
1572 pub const IFLA_VF_RATE
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_RATE
;
1573 pub const IFLA_VF_RSS_QUERY_EN
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_RSS_QUERY_EN
;
1574 pub const IFLA_VF_STATS
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_STATS
;
1575 pub const IFLA_VF_TRUST
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_TRUST
;
1576 pub const IFLA_VF_IB_NODE_GUID
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_IB_NODE_GUID
;
1577 pub const IFLA_VF_IB_PORT_GUID
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_IB_PORT_GUID
;
1578 pub const IFLA_VF_VLAN_LIST
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_VLAN_LIST
;
1579 pub const IFLA_VF_BROADCAST
: _bindgen_ty_30
= _bindgen_ty_30
::IFLA_VF_BROADCAST
;
1580 pub const __IFLA_VF_MAX
: _bindgen_ty_30
= _bindgen_ty_30
::__IFLA_VF_MAX
;
1583 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1584 pub enum _bindgen_ty_30
{
1588 IFLA_VF_TX_RATE
= 3,
1589 IFLA_VF_SPOOFCHK
= 4,
1590 IFLA_VF_LINK_STATE
= 5,
1592 IFLA_VF_RSS_QUERY_EN
= 7,
1595 IFLA_VF_IB_NODE_GUID
= 10,
1596 IFLA_VF_IB_PORT_GUID
= 11,
1597 IFLA_VF_VLAN_LIST
= 12,
1598 IFLA_VF_BROADCAST
= 13,
1602 #[derive(Debug, Copy, Clone)]
1603 pub struct ifla_vf_mac
{
1605 pub mac
: [__u8
; 32usize
],
1608 #[derive(Debug, Copy, Clone)]
1609 pub struct ifla_vf_broadcast
{
1610 pub broadcast
: [__u8
; 32usize
],
1613 #[derive(Debug, Copy, Clone)]
1614 pub struct ifla_vf_vlan
{
1619 pub const IFLA_VF_VLAN_INFO_UNSPEC
: _bindgen_ty_31
= _bindgen_ty_31
::IFLA_VF_VLAN_INFO_UNSPEC
;
1620 pub const IFLA_VF_VLAN_INFO
: _bindgen_ty_31
= _bindgen_ty_31
::IFLA_VF_VLAN_INFO
;
1621 pub const __IFLA_VF_VLAN_INFO_MAX
: _bindgen_ty_31
= _bindgen_ty_31
::__IFLA_VF_VLAN_INFO_MAX
;
1624 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1625 pub enum _bindgen_ty_31
{
1626 IFLA_VF_VLAN_INFO_UNSPEC
= 0,
1627 IFLA_VF_VLAN_INFO
= 1,
1628 __IFLA_VF_VLAN_INFO_MAX
= 2,
1631 #[derive(Debug, Copy, Clone)]
1632 pub struct ifla_vf_vlan_info
{
1636 pub vlan_proto
: __be16
,
1639 #[derive(Debug, Copy, Clone)]
1640 pub struct ifla_vf_tx_rate
{
1645 #[derive(Debug, Copy, Clone)]
1646 pub struct ifla_vf_rate
{
1648 pub min_tx_rate
: __u32
,
1649 pub max_tx_rate
: __u32
,
1652 #[derive(Debug, Copy, Clone)]
1653 pub struct ifla_vf_spoofchk
{
1658 #[derive(Debug, Copy, Clone)]
1659 pub struct ifla_vf_guid
{
1663 pub const IFLA_VF_LINK_STATE_AUTO
: _bindgen_ty_32
= _bindgen_ty_32
::IFLA_VF_LINK_STATE_AUTO
;
1664 pub const IFLA_VF_LINK_STATE_ENABLE
: _bindgen_ty_32
= _bindgen_ty_32
::IFLA_VF_LINK_STATE_ENABLE
;
1665 pub const IFLA_VF_LINK_STATE_DISABLE
: _bindgen_ty_32
= _bindgen_ty_32
::IFLA_VF_LINK_STATE_DISABLE
;
1666 pub const __IFLA_VF_LINK_STATE_MAX
: _bindgen_ty_32
= _bindgen_ty_32
::__IFLA_VF_LINK_STATE_MAX
;
1669 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1670 pub enum _bindgen_ty_32
{
1671 IFLA_VF_LINK_STATE_AUTO
= 0,
1672 IFLA_VF_LINK_STATE_ENABLE
= 1,
1673 IFLA_VF_LINK_STATE_DISABLE
= 2,
1674 __IFLA_VF_LINK_STATE_MAX
= 3,
1677 #[derive(Debug, Copy, Clone)]
1678 pub struct ifla_vf_link_state
{
1680 pub link_state
: __u32
,
1683 #[derive(Debug, Copy, Clone)]
1684 pub struct ifla_vf_rss_query_en
{
1688 pub const IFLA_VF_STATS_RX_PACKETS
: _bindgen_ty_33
= _bindgen_ty_33
::IFLA_VF_STATS_RX_PACKETS
;
1689 pub const IFLA_VF_STATS_TX_PACKETS
: _bindgen_ty_33
= _bindgen_ty_33
::IFLA_VF_STATS_TX_PACKETS
;
1690 pub const IFLA_VF_STATS_RX_BYTES
: _bindgen_ty_33
= _bindgen_ty_33
::IFLA_VF_STATS_RX_BYTES
;
1691 pub const IFLA_VF_STATS_TX_BYTES
: _bindgen_ty_33
= _bindgen_ty_33
::IFLA_VF_STATS_TX_BYTES
;
1692 pub const IFLA_VF_STATS_BROADCAST
: _bindgen_ty_33
= _bindgen_ty_33
::IFLA_VF_STATS_BROADCAST
;
1693 pub const IFLA_VF_STATS_MULTICAST
: _bindgen_ty_33
= _bindgen_ty_33
::IFLA_VF_STATS_MULTICAST
;
1694 pub const IFLA_VF_STATS_PAD
: _bindgen_ty_33
= _bindgen_ty_33
::IFLA_VF_STATS_PAD
;
1695 pub const IFLA_VF_STATS_RX_DROPPED
: _bindgen_ty_33
= _bindgen_ty_33
::IFLA_VF_STATS_RX_DROPPED
;
1696 pub const IFLA_VF_STATS_TX_DROPPED
: _bindgen_ty_33
= _bindgen_ty_33
::IFLA_VF_STATS_TX_DROPPED
;
1697 pub const __IFLA_VF_STATS_MAX
: _bindgen_ty_33
= _bindgen_ty_33
::__IFLA_VF_STATS_MAX
;
1700 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1701 pub enum _bindgen_ty_33
{
1702 IFLA_VF_STATS_RX_PACKETS
= 0,
1703 IFLA_VF_STATS_TX_PACKETS
= 1,
1704 IFLA_VF_STATS_RX_BYTES
= 2,
1705 IFLA_VF_STATS_TX_BYTES
= 3,
1706 IFLA_VF_STATS_BROADCAST
= 4,
1707 IFLA_VF_STATS_MULTICAST
= 5,
1708 IFLA_VF_STATS_PAD
= 6,
1709 IFLA_VF_STATS_RX_DROPPED
= 7,
1710 IFLA_VF_STATS_TX_DROPPED
= 8,
1711 __IFLA_VF_STATS_MAX
= 9,
1714 #[derive(Debug, Copy, Clone)]
1715 pub struct ifla_vf_trust
{
1719 pub const IFLA_VF_PORT_UNSPEC
: _bindgen_ty_34
= _bindgen_ty_34
::IFLA_VF_PORT_UNSPEC
;
1720 pub const IFLA_VF_PORT
: _bindgen_ty_34
= _bindgen_ty_34
::IFLA_VF_PORT
;
1721 pub const __IFLA_VF_PORT_MAX
: _bindgen_ty_34
= _bindgen_ty_34
::__IFLA_VF_PORT_MAX
;
1724 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1725 pub enum _bindgen_ty_34
{
1726 IFLA_VF_PORT_UNSPEC
= 0,
1728 __IFLA_VF_PORT_MAX
= 2,
1730 pub const IFLA_PORT_UNSPEC
: _bindgen_ty_35
= _bindgen_ty_35
::IFLA_PORT_UNSPEC
;
1731 pub const IFLA_PORT_VF
: _bindgen_ty_35
= _bindgen_ty_35
::IFLA_PORT_VF
;
1732 pub const IFLA_PORT_PROFILE
: _bindgen_ty_35
= _bindgen_ty_35
::IFLA_PORT_PROFILE
;
1733 pub const IFLA_PORT_VSI_TYPE
: _bindgen_ty_35
= _bindgen_ty_35
::IFLA_PORT_VSI_TYPE
;
1734 pub const IFLA_PORT_INSTANCE_UUID
: _bindgen_ty_35
= _bindgen_ty_35
::IFLA_PORT_INSTANCE_UUID
;
1735 pub const IFLA_PORT_HOST_UUID
: _bindgen_ty_35
= _bindgen_ty_35
::IFLA_PORT_HOST_UUID
;
1736 pub const IFLA_PORT_REQUEST
: _bindgen_ty_35
= _bindgen_ty_35
::IFLA_PORT_REQUEST
;
1737 pub const IFLA_PORT_RESPONSE
: _bindgen_ty_35
= _bindgen_ty_35
::IFLA_PORT_RESPONSE
;
1738 pub const __IFLA_PORT_MAX
: _bindgen_ty_35
= _bindgen_ty_35
::__IFLA_PORT_MAX
;
1741 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1742 pub enum _bindgen_ty_35
{
1743 IFLA_PORT_UNSPEC
= 0,
1745 IFLA_PORT_PROFILE
= 2,
1746 IFLA_PORT_VSI_TYPE
= 3,
1747 IFLA_PORT_INSTANCE_UUID
= 4,
1748 IFLA_PORT_HOST_UUID
= 5,
1749 IFLA_PORT_REQUEST
= 6,
1750 IFLA_PORT_RESPONSE
= 7,
1751 __IFLA_PORT_MAX
= 8,
1753 pub const PORT_REQUEST_PREASSOCIATE
: _bindgen_ty_36
= _bindgen_ty_36
::PORT_REQUEST_PREASSOCIATE
;
1754 pub const PORT_REQUEST_PREASSOCIATE_RR
: _bindgen_ty_36
= _bindgen_ty_36
::PORT_REQUEST_PREASSOCIATE_RR
;
1755 pub const PORT_REQUEST_ASSOCIATE
: _bindgen_ty_36
= _bindgen_ty_36
::PORT_REQUEST_ASSOCIATE
;
1756 pub const PORT_REQUEST_DISASSOCIATE
: _bindgen_ty_36
= _bindgen_ty_36
::PORT_REQUEST_DISASSOCIATE
;
1759 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1760 pub enum _bindgen_ty_36
{
1761 PORT_REQUEST_PREASSOCIATE
= 0,
1762 PORT_REQUEST_PREASSOCIATE_RR
= 1,
1763 PORT_REQUEST_ASSOCIATE
= 2,
1764 PORT_REQUEST_DISASSOCIATE
= 3,
1766 pub const PORT_VDP_RESPONSE_SUCCESS
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_VDP_RESPONSE_SUCCESS
;
1767 pub const PORT_VDP_RESPONSE_INVALID_FORMAT
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_VDP_RESPONSE_INVALID_FORMAT
;
1768 pub const PORT_VDP_RESPONSE_INSUFFICIENT_RESOURCES
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_VDP_RESPONSE_INSUFFICIENT_RESOURCES
;
1769 pub const PORT_VDP_RESPONSE_UNUSED_VTID
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_VDP_RESPONSE_UNUSED_VTID
;
1770 pub const PORT_VDP_RESPONSE_VTID_VIOLATION
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_VDP_RESPONSE_VTID_VIOLATION
;
1771 pub const PORT_VDP_RESPONSE_VTID_VERSION_VIOALTION
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_VDP_RESPONSE_VTID_VERSION_VIOALTION
;
1772 pub const PORT_VDP_RESPONSE_OUT_OF_SYNC
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_VDP_RESPONSE_OUT_OF_SYNC
;
1773 pub const PORT_PROFILE_RESPONSE_SUCCESS
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_PROFILE_RESPONSE_SUCCESS
;
1774 pub const PORT_PROFILE_RESPONSE_INPROGRESS
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_PROFILE_RESPONSE_INPROGRESS
;
1775 pub const PORT_PROFILE_RESPONSE_INVALID
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_PROFILE_RESPONSE_INVALID
;
1776 pub const PORT_PROFILE_RESPONSE_BADSTATE
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_PROFILE_RESPONSE_BADSTATE
;
1777 pub const PORT_PROFILE_RESPONSE_INSUFFICIENT_RESOURCES
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_PROFILE_RESPONSE_INSUFFICIENT_RESOURCES
;
1778 pub const PORT_PROFILE_RESPONSE_ERROR
: _bindgen_ty_37
= _bindgen_ty_37
::PORT_PROFILE_RESPONSE_ERROR
;
1781 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1782 pub enum _bindgen_ty_37
{
1783 PORT_VDP_RESPONSE_SUCCESS
= 0,
1784 PORT_VDP_RESPONSE_INVALID_FORMAT
= 1,
1785 PORT_VDP_RESPONSE_INSUFFICIENT_RESOURCES
= 2,
1786 PORT_VDP_RESPONSE_UNUSED_VTID
= 3,
1787 PORT_VDP_RESPONSE_VTID_VIOLATION
= 4,
1788 PORT_VDP_RESPONSE_VTID_VERSION_VIOALTION
= 5,
1789 PORT_VDP_RESPONSE_OUT_OF_SYNC
= 6,
1790 PORT_PROFILE_RESPONSE_SUCCESS
= 256,
1791 PORT_PROFILE_RESPONSE_INPROGRESS
= 257,
1792 PORT_PROFILE_RESPONSE_INVALID
= 258,
1793 PORT_PROFILE_RESPONSE_BADSTATE
= 259,
1794 PORT_PROFILE_RESPONSE_INSUFFICIENT_RESOURCES
= 260,
1795 PORT_PROFILE_RESPONSE_ERROR
= 261,
1798 #[derive(Debug, Copy, Clone)]
1799 pub struct ifla_port_vsi
{
1800 pub vsi_mgr_id
: __u8
,
1801 pub vsi_type_id
: [__u8
; 3usize
],
1802 pub vsi_type_version
: __u8
,
1803 pub pad
: [__u8
; 3usize
],
1805 pub const IFLA_IPOIB_UNSPEC
: _bindgen_ty_38
= _bindgen_ty_38
::IFLA_IPOIB_UNSPEC
;
1806 pub const IFLA_IPOIB_PKEY
: _bindgen_ty_38
= _bindgen_ty_38
::IFLA_IPOIB_PKEY
;
1807 pub const IFLA_IPOIB_MODE
: _bindgen_ty_38
= _bindgen_ty_38
::IFLA_IPOIB_MODE
;
1808 pub const IFLA_IPOIB_UMCAST
: _bindgen_ty_38
= _bindgen_ty_38
::IFLA_IPOIB_UMCAST
;
1809 pub const __IFLA_IPOIB_MAX
: _bindgen_ty_38
= _bindgen_ty_38
::__IFLA_IPOIB_MAX
;
1812 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1813 pub enum _bindgen_ty_38
{
1814 IFLA_IPOIB_UNSPEC
= 0,
1815 IFLA_IPOIB_PKEY
= 1,
1816 IFLA_IPOIB_MODE
= 2,
1817 IFLA_IPOIB_UMCAST
= 3,
1818 __IFLA_IPOIB_MAX
= 4,
1820 pub const IPOIB_MODE_DATAGRAM
: _bindgen_ty_39
= _bindgen_ty_39
::IPOIB_MODE_DATAGRAM
;
1821 pub const IPOIB_MODE_CONNECTED
: _bindgen_ty_39
= _bindgen_ty_39
::IPOIB_MODE_CONNECTED
;
1824 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1825 pub enum _bindgen_ty_39
{
1826 IPOIB_MODE_DATAGRAM
= 0,
1827 IPOIB_MODE_CONNECTED
= 1,
1829 pub const HSR_PROTOCOL_HSR
: _bindgen_ty_40
= _bindgen_ty_40
::HSR_PROTOCOL_HSR
;
1830 pub const HSR_PROTOCOL_PRP
: _bindgen_ty_40
= _bindgen_ty_40
::HSR_PROTOCOL_PRP
;
1831 pub const HSR_PROTOCOL_MAX
: _bindgen_ty_40
= _bindgen_ty_40
::HSR_PROTOCOL_MAX
;
1834 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1835 pub enum _bindgen_ty_40
{
1836 HSR_PROTOCOL_HSR
= 0,
1837 HSR_PROTOCOL_PRP
= 1,
1838 HSR_PROTOCOL_MAX
= 2,
1840 pub const IFLA_HSR_UNSPEC
: _bindgen_ty_41
= _bindgen_ty_41
::IFLA_HSR_UNSPEC
;
1841 pub const IFLA_HSR_SLAVE1
: _bindgen_ty_41
= _bindgen_ty_41
::IFLA_HSR_SLAVE1
;
1842 pub const IFLA_HSR_SLAVE2
: _bindgen_ty_41
= _bindgen_ty_41
::IFLA_HSR_SLAVE2
;
1843 pub const IFLA_HSR_MULTICAST_SPEC
: _bindgen_ty_41
= _bindgen_ty_41
::IFLA_HSR_MULTICAST_SPEC
;
1844 pub const IFLA_HSR_SUPERVISION_ADDR
: _bindgen_ty_41
= _bindgen_ty_41
::IFLA_HSR_SUPERVISION_ADDR
;
1845 pub const IFLA_HSR_SEQ_NR
: _bindgen_ty_41
= _bindgen_ty_41
::IFLA_HSR_SEQ_NR
;
1846 pub const IFLA_HSR_VERSION
: _bindgen_ty_41
= _bindgen_ty_41
::IFLA_HSR_VERSION
;
1847 pub const IFLA_HSR_PROTOCOL
: _bindgen_ty_41
= _bindgen_ty_41
::IFLA_HSR_PROTOCOL
;
1848 pub const __IFLA_HSR_MAX
: _bindgen_ty_41
= _bindgen_ty_41
::__IFLA_HSR_MAX
;
1851 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1852 pub enum _bindgen_ty_41
{
1853 IFLA_HSR_UNSPEC
= 0,
1854 IFLA_HSR_SLAVE1
= 1,
1855 IFLA_HSR_SLAVE2
= 2,
1856 IFLA_HSR_MULTICAST_SPEC
= 3,
1857 IFLA_HSR_SUPERVISION_ADDR
= 4,
1858 IFLA_HSR_SEQ_NR
= 5,
1859 IFLA_HSR_VERSION
= 6,
1860 IFLA_HSR_PROTOCOL
= 7,
1864 #[derive(Debug, Copy, Clone)]
1865 pub struct if_stats_msg
{
1870 pub filter_mask
: __u32
,
1872 pub const IFLA_STATS_UNSPEC
: _bindgen_ty_42
= _bindgen_ty_42
::IFLA_STATS_UNSPEC
;
1873 pub const IFLA_STATS_LINK_64
: _bindgen_ty_42
= _bindgen_ty_42
::IFLA_STATS_LINK_64
;
1874 pub const IFLA_STATS_LINK_XSTATS
: _bindgen_ty_42
= _bindgen_ty_42
::IFLA_STATS_LINK_XSTATS
;
1875 pub const IFLA_STATS_LINK_XSTATS_SLAVE
: _bindgen_ty_42
= _bindgen_ty_42
::IFLA_STATS_LINK_XSTATS_SLAVE
;
1876 pub const IFLA_STATS_LINK_OFFLOAD_XSTATS
: _bindgen_ty_42
= _bindgen_ty_42
::IFLA_STATS_LINK_OFFLOAD_XSTATS
;
1877 pub const IFLA_STATS_AF_SPEC
: _bindgen_ty_42
= _bindgen_ty_42
::IFLA_STATS_AF_SPEC
;
1878 pub const __IFLA_STATS_MAX
: _bindgen_ty_42
= _bindgen_ty_42
::__IFLA_STATS_MAX
;
1881 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1882 pub enum _bindgen_ty_42
{
1883 IFLA_STATS_UNSPEC
= 0,
1884 IFLA_STATS_LINK_64
= 1,
1885 IFLA_STATS_LINK_XSTATS
= 2,
1886 IFLA_STATS_LINK_XSTATS_SLAVE
= 3,
1887 IFLA_STATS_LINK_OFFLOAD_XSTATS
= 4,
1888 IFLA_STATS_AF_SPEC
= 5,
1889 __IFLA_STATS_MAX
= 6,
1891 pub const IFLA_STATS_GETSET_UNSPEC
: _bindgen_ty_43
= _bindgen_ty_43
::IFLA_STATS_GETSET_UNSPEC
;
1892 pub const IFLA_STATS_GET_FILTERS
: _bindgen_ty_43
= _bindgen_ty_43
::IFLA_STATS_GET_FILTERS
;
1893 pub const IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS
: _bindgen_ty_43
= _bindgen_ty_43
::IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS
;
1894 pub const __IFLA_STATS_GETSET_MAX
: _bindgen_ty_43
= _bindgen_ty_43
::__IFLA_STATS_GETSET_MAX
;
1897 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1898 pub enum _bindgen_ty_43
{
1899 IFLA_STATS_GETSET_UNSPEC
= 0,
1900 IFLA_STATS_GET_FILTERS
= 1,
1901 IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS
= 2,
1902 __IFLA_STATS_GETSET_MAX
= 3,
1904 pub const LINK_XSTATS_TYPE_UNSPEC
: _bindgen_ty_44
= _bindgen_ty_44
::LINK_XSTATS_TYPE_UNSPEC
;
1905 pub const LINK_XSTATS_TYPE_BRIDGE
: _bindgen_ty_44
= _bindgen_ty_44
::LINK_XSTATS_TYPE_BRIDGE
;
1906 pub const LINK_XSTATS_TYPE_BOND
: _bindgen_ty_44
= _bindgen_ty_44
::LINK_XSTATS_TYPE_BOND
;
1907 pub const __LINK_XSTATS_TYPE_MAX
: _bindgen_ty_44
= _bindgen_ty_44
::__LINK_XSTATS_TYPE_MAX
;
1910 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1911 pub enum _bindgen_ty_44
{
1912 LINK_XSTATS_TYPE_UNSPEC
= 0,
1913 LINK_XSTATS_TYPE_BRIDGE
= 1,
1914 LINK_XSTATS_TYPE_BOND
= 2,
1915 __LINK_XSTATS_TYPE_MAX
= 3,
1917 pub const IFLA_OFFLOAD_XSTATS_UNSPEC
: _bindgen_ty_45
= _bindgen_ty_45
::IFLA_OFFLOAD_XSTATS_UNSPEC
;
1918 pub const IFLA_OFFLOAD_XSTATS_CPU_HIT
: _bindgen_ty_45
= _bindgen_ty_45
::IFLA_OFFLOAD_XSTATS_CPU_HIT
;
1919 pub const IFLA_OFFLOAD_XSTATS_HW_S_INFO
: _bindgen_ty_45
= _bindgen_ty_45
::IFLA_OFFLOAD_XSTATS_HW_S_INFO
;
1920 pub const IFLA_OFFLOAD_XSTATS_L3_STATS
: _bindgen_ty_45
= _bindgen_ty_45
::IFLA_OFFLOAD_XSTATS_L3_STATS
;
1921 pub const __IFLA_OFFLOAD_XSTATS_MAX
: _bindgen_ty_45
= _bindgen_ty_45
::__IFLA_OFFLOAD_XSTATS_MAX
;
1924 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1925 pub enum _bindgen_ty_45
{
1926 IFLA_OFFLOAD_XSTATS_UNSPEC
= 0,
1927 IFLA_OFFLOAD_XSTATS_CPU_HIT
= 1,
1928 IFLA_OFFLOAD_XSTATS_HW_S_INFO
= 2,
1929 IFLA_OFFLOAD_XSTATS_L3_STATS
= 3,
1930 __IFLA_OFFLOAD_XSTATS_MAX
= 4,
1932 pub const IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC
: _bindgen_ty_46
= _bindgen_ty_46
::IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC
;
1933 pub const IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST
: _bindgen_ty_46
= _bindgen_ty_46
::IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST
;
1934 pub const IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED
: _bindgen_ty_46
= _bindgen_ty_46
::IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED
;
1935 pub const __IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX
: _bindgen_ty_46
= _bindgen_ty_46
::__IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX
;
1938 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1939 pub enum _bindgen_ty_46
{
1940 IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC
= 0,
1941 IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST
= 1,
1942 IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED
= 2,
1943 __IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX
= 3,
1945 pub const XDP_ATTACHED_NONE
: _bindgen_ty_47
= _bindgen_ty_47
::XDP_ATTACHED_NONE
;
1946 pub const XDP_ATTACHED_DRV
: _bindgen_ty_47
= _bindgen_ty_47
::XDP_ATTACHED_DRV
;
1947 pub const XDP_ATTACHED_SKB
: _bindgen_ty_47
= _bindgen_ty_47
::XDP_ATTACHED_SKB
;
1948 pub const XDP_ATTACHED_HW
: _bindgen_ty_47
= _bindgen_ty_47
::XDP_ATTACHED_HW
;
1949 pub const XDP_ATTACHED_MULTI
: _bindgen_ty_47
= _bindgen_ty_47
::XDP_ATTACHED_MULTI
;
1952 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1953 pub enum _bindgen_ty_47
{
1954 XDP_ATTACHED_NONE
= 0,
1955 XDP_ATTACHED_DRV
= 1,
1956 XDP_ATTACHED_SKB
= 2,
1957 XDP_ATTACHED_HW
= 3,
1958 XDP_ATTACHED_MULTI
= 4,
1960 pub const IFLA_XDP_UNSPEC
: _bindgen_ty_48
= _bindgen_ty_48
::IFLA_XDP_UNSPEC
;
1961 pub const IFLA_XDP_FD
: _bindgen_ty_48
= _bindgen_ty_48
::IFLA_XDP_FD
;
1962 pub const IFLA_XDP_ATTACHED
: _bindgen_ty_48
= _bindgen_ty_48
::IFLA_XDP_ATTACHED
;
1963 pub const IFLA_XDP_FLAGS
: _bindgen_ty_48
= _bindgen_ty_48
::IFLA_XDP_FLAGS
;
1964 pub const IFLA_XDP_PROG_ID
: _bindgen_ty_48
= _bindgen_ty_48
::IFLA_XDP_PROG_ID
;
1965 pub const IFLA_XDP_DRV_PROG_ID
: _bindgen_ty_48
= _bindgen_ty_48
::IFLA_XDP_DRV_PROG_ID
;
1966 pub const IFLA_XDP_SKB_PROG_ID
: _bindgen_ty_48
= _bindgen_ty_48
::IFLA_XDP_SKB_PROG_ID
;
1967 pub const IFLA_XDP_HW_PROG_ID
: _bindgen_ty_48
= _bindgen_ty_48
::IFLA_XDP_HW_PROG_ID
;
1968 pub const IFLA_XDP_EXPECTED_FD
: _bindgen_ty_48
= _bindgen_ty_48
::IFLA_XDP_EXPECTED_FD
;
1969 pub const __IFLA_XDP_MAX
: _bindgen_ty_48
= _bindgen_ty_48
::__IFLA_XDP_MAX
;
1972 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1973 pub enum _bindgen_ty_48
{
1974 IFLA_XDP_UNSPEC
= 0,
1976 IFLA_XDP_ATTACHED
= 2,
1978 IFLA_XDP_PROG_ID
= 4,
1979 IFLA_XDP_DRV_PROG_ID
= 5,
1980 IFLA_XDP_SKB_PROG_ID
= 6,
1981 IFLA_XDP_HW_PROG_ID
= 7,
1982 IFLA_XDP_EXPECTED_FD
= 8,
1985 pub const IFLA_EVENT_NONE
: _bindgen_ty_49
= _bindgen_ty_49
::IFLA_EVENT_NONE
;
1986 pub const IFLA_EVENT_REBOOT
: _bindgen_ty_49
= _bindgen_ty_49
::IFLA_EVENT_REBOOT
;
1987 pub const IFLA_EVENT_FEATURES
: _bindgen_ty_49
= _bindgen_ty_49
::IFLA_EVENT_FEATURES
;
1988 pub const IFLA_EVENT_BONDING_FAILOVER
: _bindgen_ty_49
= _bindgen_ty_49
::IFLA_EVENT_BONDING_FAILOVER
;
1989 pub const IFLA_EVENT_NOTIFY_PEERS
: _bindgen_ty_49
= _bindgen_ty_49
::IFLA_EVENT_NOTIFY_PEERS
;
1990 pub const IFLA_EVENT_IGMP_RESEND
: _bindgen_ty_49
= _bindgen_ty_49
::IFLA_EVENT_IGMP_RESEND
;
1991 pub const IFLA_EVENT_BONDING_OPTIONS
: _bindgen_ty_49
= _bindgen_ty_49
::IFLA_EVENT_BONDING_OPTIONS
;
1994 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
1995 pub enum _bindgen_ty_49
{
1996 IFLA_EVENT_NONE
= 0,
1997 IFLA_EVENT_REBOOT
= 1,
1998 IFLA_EVENT_FEATURES
= 2,
1999 IFLA_EVENT_BONDING_FAILOVER
= 3,
2000 IFLA_EVENT_NOTIFY_PEERS
= 4,
2001 IFLA_EVENT_IGMP_RESEND
= 5,
2002 IFLA_EVENT_BONDING_OPTIONS
= 6,
2004 pub const IFLA_TUN_UNSPEC
: _bindgen_ty_50
= _bindgen_ty_50
::IFLA_TUN_UNSPEC
;
2005 pub const IFLA_TUN_OWNER
: _bindgen_ty_50
= _bindgen_ty_50
::IFLA_TUN_OWNER
;
2006 pub const IFLA_TUN_GROUP
: _bindgen_ty_50
= _bindgen_ty_50
::IFLA_TUN_GROUP
;
2007 pub const IFLA_TUN_TYPE
: _bindgen_ty_50
= _bindgen_ty_50
::IFLA_TUN_TYPE
;
2008 pub const IFLA_TUN_PI
: _bindgen_ty_50
= _bindgen_ty_50
::IFLA_TUN_PI
;
2009 pub const IFLA_TUN_VNET_HDR
: _bindgen_ty_50
= _bindgen_ty_50
::IFLA_TUN_VNET_HDR
;
2010 pub const IFLA_TUN_PERSIST
: _bindgen_ty_50
= _bindgen_ty_50
::IFLA_TUN_PERSIST
;
2011 pub const IFLA_TUN_MULTI_QUEUE
: _bindgen_ty_50
= _bindgen_ty_50
::IFLA_TUN_MULTI_QUEUE
;
2012 pub const IFLA_TUN_NUM_QUEUES
: _bindgen_ty_50
= _bindgen_ty_50
::IFLA_TUN_NUM_QUEUES
;
2013 pub const IFLA_TUN_NUM_DISABLED_QUEUES
: _bindgen_ty_50
= _bindgen_ty_50
::IFLA_TUN_NUM_DISABLED_QUEUES
;
2014 pub const __IFLA_TUN_MAX
: _bindgen_ty_50
= _bindgen_ty_50
::__IFLA_TUN_MAX
;
2017 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2018 pub enum _bindgen_ty_50
{
2019 IFLA_TUN_UNSPEC
= 0,
2024 IFLA_TUN_VNET_HDR
= 5,
2025 IFLA_TUN_PERSIST
= 6,
2026 IFLA_TUN_MULTI_QUEUE
= 7,
2027 IFLA_TUN_NUM_QUEUES
= 8,
2028 IFLA_TUN_NUM_DISABLED_QUEUES
= 9,
2029 __IFLA_TUN_MAX
= 10,
2031 pub const IFLA_RMNET_UNSPEC
: _bindgen_ty_51
= _bindgen_ty_51
::IFLA_RMNET_UNSPEC
;
2032 pub const IFLA_RMNET_MUX_ID
: _bindgen_ty_51
= _bindgen_ty_51
::IFLA_RMNET_MUX_ID
;
2033 pub const IFLA_RMNET_FLAGS
: _bindgen_ty_51
= _bindgen_ty_51
::IFLA_RMNET_FLAGS
;
2034 pub const __IFLA_RMNET_MAX
: _bindgen_ty_51
= _bindgen_ty_51
::__IFLA_RMNET_MAX
;
2037 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2038 pub enum _bindgen_ty_51
{
2039 IFLA_RMNET_UNSPEC
= 0,
2040 IFLA_RMNET_MUX_ID
= 1,
2041 IFLA_RMNET_FLAGS
= 2,
2042 __IFLA_RMNET_MAX
= 3,
2045 #[derive(Debug, Copy, Clone)]
2046 pub struct ifla_rmnet_flags
{
2050 pub const IFLA_MCTP_UNSPEC
: _bindgen_ty_52
= _bindgen_ty_52
::IFLA_MCTP_UNSPEC
;
2051 pub const IFLA_MCTP_NET
: _bindgen_ty_52
= _bindgen_ty_52
::IFLA_MCTP_NET
;
2052 pub const __IFLA_MCTP_MAX
: _bindgen_ty_52
= _bindgen_ty_52
::__IFLA_MCTP_MAX
;
2055 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2056 pub enum _bindgen_ty_52
{
2057 IFLA_MCTP_UNSPEC
= 0,
2059 __IFLA_MCTP_MAX
= 2,
2061 pub const IFLA_DSA_UNSPEC
: _bindgen_ty_53
= _bindgen_ty_53
::IFLA_DSA_UNSPEC
;
2062 pub const IFLA_DSA_MASTER
: _bindgen_ty_53
= _bindgen_ty_53
::IFLA_DSA_MASTER
;
2063 pub const __IFLA_DSA_MAX
: _bindgen_ty_53
= _bindgen_ty_53
::__IFLA_DSA_MAX
;
2066 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2067 pub enum _bindgen_ty_53
{
2068 IFLA_DSA_UNSPEC
= 0,
2069 IFLA_DSA_MASTER
= 1,
2073 #[derive(Debug, Copy, Clone)]
2074 pub struct ifaddrmsg
{
2075 pub ifa_family
: __u8
,
2076 pub ifa_prefixlen
: __u8
,
2077 pub ifa_flags
: __u8
,
2078 pub ifa_scope
: __u8
,
2079 pub ifa_index
: __u32
,
2081 pub const IFA_UNSPEC
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_UNSPEC
;
2082 pub const IFA_ADDRESS
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_ADDRESS
;
2083 pub const IFA_LOCAL
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_LOCAL
;
2084 pub const IFA_LABEL
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_LABEL
;
2085 pub const IFA_BROADCAST
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_BROADCAST
;
2086 pub const IFA_ANYCAST
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_ANYCAST
;
2087 pub const IFA_CACHEINFO
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_CACHEINFO
;
2088 pub const IFA_MULTICAST
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_MULTICAST
;
2089 pub const IFA_FLAGS
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_FLAGS
;
2090 pub const IFA_RT_PRIORITY
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_RT_PRIORITY
;
2091 pub const IFA_TARGET_NETNSID
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_TARGET_NETNSID
;
2092 pub const IFA_PROTO
: _bindgen_ty_54
= _bindgen_ty_54
::IFA_PROTO
;
2093 pub const __IFA_MAX
: _bindgen_ty_54
= _bindgen_ty_54
::__IFA_MAX
;
2096 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2097 pub enum _bindgen_ty_54
{
2107 IFA_RT_PRIORITY
= 9,
2108 IFA_TARGET_NETNSID
= 10,
2113 #[derive(Debug, Copy, Clone)]
2114 pub struct ifa_cacheinfo
{
2115 pub ifa_prefered
: __u32
,
2116 pub ifa_valid
: __u32
,
2121 #[derive(Debug, Copy, Clone)]
2123 pub ndm_family
: __u8
,
2125 pub ndm_pad2
: __u16
,
2126 pub ndm_ifindex
: __s32
,
2127 pub ndm_state
: __u16
,
2128 pub ndm_flags
: __u8
,
2131 pub const NDA_UNSPEC
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_UNSPEC
;
2132 pub const NDA_DST
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_DST
;
2133 pub const NDA_LLADDR
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_LLADDR
;
2134 pub const NDA_CACHEINFO
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_CACHEINFO
;
2135 pub const NDA_PROBES
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_PROBES
;
2136 pub const NDA_VLAN
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_VLAN
;
2137 pub const NDA_PORT
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_PORT
;
2138 pub const NDA_VNI
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_VNI
;
2139 pub const NDA_IFINDEX
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_IFINDEX
;
2140 pub const NDA_MASTER
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_MASTER
;
2141 pub const NDA_LINK_NETNSID
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_LINK_NETNSID
;
2142 pub const NDA_SRC_VNI
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_SRC_VNI
;
2143 pub const NDA_PROTOCOL
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_PROTOCOL
;
2144 pub const NDA_NH_ID
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_NH_ID
;
2145 pub const NDA_FDB_EXT_ATTRS
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_FDB_EXT_ATTRS
;
2146 pub const NDA_FLAGS_EXT
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_FLAGS_EXT
;
2147 pub const NDA_NDM_STATE_MASK
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_NDM_STATE_MASK
;
2148 pub const NDA_NDM_FLAGS_MASK
: _bindgen_ty_55
= _bindgen_ty_55
::NDA_NDM_FLAGS_MASK
;
2149 pub const __NDA_MAX
: _bindgen_ty_55
= _bindgen_ty_55
::__NDA_MAX
;
2152 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2153 pub enum _bindgen_ty_55
{
2164 NDA_LINK_NETNSID
= 10,
2168 NDA_FDB_EXT_ATTRS
= 14,
2170 NDA_NDM_STATE_MASK
= 16,
2171 NDA_NDM_FLAGS_MASK
= 17,
2175 #[derive(Debug, Copy, Clone)]
2176 pub struct nda_cacheinfo
{
2177 pub ndm_confirmed
: __u32
,
2178 pub ndm_used
: __u32
,
2179 pub ndm_updated
: __u32
,
2180 pub ndm_refcnt
: __u32
,
2183 #[derive(Debug, Copy, Clone)]
2184 pub struct ndt_stats
{
2185 pub ndts_allocs
: __u64
,
2186 pub ndts_destroys
: __u64
,
2187 pub ndts_hash_grows
: __u64
,
2188 pub ndts_res_failed
: __u64
,
2189 pub ndts_lookups
: __u64
,
2190 pub ndts_hits
: __u64
,
2191 pub ndts_rcv_probes_mcast
: __u64
,
2192 pub ndts_rcv_probes_ucast
: __u64
,
2193 pub ndts_periodic_gc_runs
: __u64
,
2194 pub ndts_forced_gc_runs
: __u64
,
2195 pub ndts_table_fulls
: __u64
,
2197 pub const NDTPA_UNSPEC
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_UNSPEC
;
2198 pub const NDTPA_IFINDEX
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_IFINDEX
;
2199 pub const NDTPA_REFCNT
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_REFCNT
;
2200 pub const NDTPA_REACHABLE_TIME
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_REACHABLE_TIME
;
2201 pub const NDTPA_BASE_REACHABLE_TIME
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_BASE_REACHABLE_TIME
;
2202 pub const NDTPA_RETRANS_TIME
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_RETRANS_TIME
;
2203 pub const NDTPA_GC_STALETIME
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_GC_STALETIME
;
2204 pub const NDTPA_DELAY_PROBE_TIME
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_DELAY_PROBE_TIME
;
2205 pub const NDTPA_QUEUE_LEN
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_QUEUE_LEN
;
2206 pub const NDTPA_APP_PROBES
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_APP_PROBES
;
2207 pub const NDTPA_UCAST_PROBES
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_UCAST_PROBES
;
2208 pub const NDTPA_MCAST_PROBES
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_MCAST_PROBES
;
2209 pub const NDTPA_ANYCAST_DELAY
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_ANYCAST_DELAY
;
2210 pub const NDTPA_PROXY_DELAY
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_PROXY_DELAY
;
2211 pub const NDTPA_PROXY_QLEN
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_PROXY_QLEN
;
2212 pub const NDTPA_LOCKTIME
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_LOCKTIME
;
2213 pub const NDTPA_QUEUE_LENBYTES
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_QUEUE_LENBYTES
;
2214 pub const NDTPA_MCAST_REPROBES
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_MCAST_REPROBES
;
2215 pub const NDTPA_PAD
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_PAD
;
2216 pub const NDTPA_INTERVAL_PROBE_TIME_MS
: _bindgen_ty_56
= _bindgen_ty_56
::NDTPA_INTERVAL_PROBE_TIME_MS
;
2217 pub const __NDTPA_MAX
: _bindgen_ty_56
= _bindgen_ty_56
::__NDTPA_MAX
;
2220 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2221 pub enum _bindgen_ty_56
{
2225 NDTPA_REACHABLE_TIME
= 3,
2226 NDTPA_BASE_REACHABLE_TIME
= 4,
2227 NDTPA_RETRANS_TIME
= 5,
2228 NDTPA_GC_STALETIME
= 6,
2229 NDTPA_DELAY_PROBE_TIME
= 7,
2230 NDTPA_QUEUE_LEN
= 8,
2231 NDTPA_APP_PROBES
= 9,
2232 NDTPA_UCAST_PROBES
= 10,
2233 NDTPA_MCAST_PROBES
= 11,
2234 NDTPA_ANYCAST_DELAY
= 12,
2235 NDTPA_PROXY_DELAY
= 13,
2236 NDTPA_PROXY_QLEN
= 14,
2237 NDTPA_LOCKTIME
= 15,
2238 NDTPA_QUEUE_LENBYTES
= 16,
2239 NDTPA_MCAST_REPROBES
= 17,
2241 NDTPA_INTERVAL_PROBE_TIME_MS
= 19,
2245 #[derive(Debug, Copy, Clone)]
2247 pub ndtm_family
: __u8
,
2248 pub ndtm_pad1
: __u8
,
2249 pub ndtm_pad2
: __u16
,
2252 #[derive(Debug, Copy, Clone)]
2253 pub struct ndt_config
{
2254 pub ndtc_key_len
: __u16
,
2255 pub ndtc_entry_size
: __u16
,
2256 pub ndtc_entries
: __u32
,
2257 pub ndtc_last_flush
: __u32
,
2258 pub ndtc_last_rand
: __u32
,
2259 pub ndtc_hash_rnd
: __u32
,
2260 pub ndtc_hash_mask
: __u32
,
2261 pub ndtc_hash_chain_gc
: __u32
,
2262 pub ndtc_proxy_qlen
: __u32
,
2264 pub const NDTA_UNSPEC
: _bindgen_ty_57
= _bindgen_ty_57
::NDTA_UNSPEC
;
2265 pub const NDTA_NAME
: _bindgen_ty_57
= _bindgen_ty_57
::NDTA_NAME
;
2266 pub const NDTA_THRESH1
: _bindgen_ty_57
= _bindgen_ty_57
::NDTA_THRESH1
;
2267 pub const NDTA_THRESH2
: _bindgen_ty_57
= _bindgen_ty_57
::NDTA_THRESH2
;
2268 pub const NDTA_THRESH3
: _bindgen_ty_57
= _bindgen_ty_57
::NDTA_THRESH3
;
2269 pub const NDTA_CONFIG
: _bindgen_ty_57
= _bindgen_ty_57
::NDTA_CONFIG
;
2270 pub const NDTA_PARMS
: _bindgen_ty_57
= _bindgen_ty_57
::NDTA_PARMS
;
2271 pub const NDTA_STATS
: _bindgen_ty_57
= _bindgen_ty_57
::NDTA_STATS
;
2272 pub const NDTA_GC_INTERVAL
: _bindgen_ty_57
= _bindgen_ty_57
::NDTA_GC_INTERVAL
;
2273 pub const NDTA_PAD
: _bindgen_ty_57
= _bindgen_ty_57
::NDTA_PAD
;
2274 pub const __NDTA_MAX
: _bindgen_ty_57
= _bindgen_ty_57
::__NDTA_MAX
;
2277 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2278 pub enum _bindgen_ty_57
{
2287 NDTA_GC_INTERVAL
= 8,
2291 pub const FDB_NOTIFY_BIT
: _bindgen_ty_58
= _bindgen_ty_58
::FDB_NOTIFY_BIT
;
2292 pub const FDB_NOTIFY_INACTIVE_BIT
: _bindgen_ty_58
= _bindgen_ty_58
::FDB_NOTIFY_INACTIVE_BIT
;
2295 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2296 pub enum _bindgen_ty_58
{
2298 FDB_NOTIFY_INACTIVE_BIT
= 2,
2300 pub const NFEA_UNSPEC
: _bindgen_ty_59
= _bindgen_ty_59
::NFEA_UNSPEC
;
2301 pub const NFEA_ACTIVITY_NOTIFY
: _bindgen_ty_59
= _bindgen_ty_59
::NFEA_ACTIVITY_NOTIFY
;
2302 pub const NFEA_DONT_REFRESH
: _bindgen_ty_59
= _bindgen_ty_59
::NFEA_DONT_REFRESH
;
2303 pub const __NFEA_MAX
: _bindgen_ty_59
= _bindgen_ty_59
::__NFEA_MAX
;
2306 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2307 pub enum _bindgen_ty_59
{
2309 NFEA_ACTIVITY_NOTIFY
= 1,
2310 NFEA_DONT_REFRESH
= 2,
2313 pub const RTM_BASE
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_BASE
;
2314 pub const RTM_NEWLINK
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_BASE
;
2315 pub const RTM_DELLINK
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELLINK
;
2316 pub const RTM_GETLINK
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETLINK
;
2317 pub const RTM_SETLINK
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_SETLINK
;
2318 pub const RTM_NEWADDR
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWADDR
;
2319 pub const RTM_DELADDR
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELADDR
;
2320 pub const RTM_GETADDR
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETADDR
;
2321 pub const RTM_NEWROUTE
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWROUTE
;
2322 pub const RTM_DELROUTE
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELROUTE
;
2323 pub const RTM_GETROUTE
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETROUTE
;
2324 pub const RTM_NEWNEIGH
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWNEIGH
;
2325 pub const RTM_DELNEIGH
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELNEIGH
;
2326 pub const RTM_GETNEIGH
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETNEIGH
;
2327 pub const RTM_NEWRULE
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWRULE
;
2328 pub const RTM_DELRULE
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELRULE
;
2329 pub const RTM_GETRULE
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETRULE
;
2330 pub const RTM_NEWQDISC
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWQDISC
;
2331 pub const RTM_DELQDISC
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELQDISC
;
2332 pub const RTM_GETQDISC
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETQDISC
;
2333 pub const RTM_NEWTCLASS
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWTCLASS
;
2334 pub const RTM_DELTCLASS
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELTCLASS
;
2335 pub const RTM_GETTCLASS
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETTCLASS
;
2336 pub const RTM_NEWTFILTER
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWTFILTER
;
2337 pub const RTM_DELTFILTER
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELTFILTER
;
2338 pub const RTM_GETTFILTER
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETTFILTER
;
2339 pub const RTM_NEWACTION
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWACTION
;
2340 pub const RTM_DELACTION
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELACTION
;
2341 pub const RTM_GETACTION
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETACTION
;
2342 pub const RTM_NEWPREFIX
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWPREFIX
;
2343 pub const RTM_GETMULTICAST
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETMULTICAST
;
2344 pub const RTM_GETANYCAST
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETANYCAST
;
2345 pub const RTM_NEWNEIGHTBL
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWNEIGHTBL
;
2346 pub const RTM_GETNEIGHTBL
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETNEIGHTBL
;
2347 pub const RTM_SETNEIGHTBL
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_SETNEIGHTBL
;
2348 pub const RTM_NEWNDUSEROPT
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWNDUSEROPT
;
2349 pub const RTM_NEWADDRLABEL
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWADDRLABEL
;
2350 pub const RTM_DELADDRLABEL
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELADDRLABEL
;
2351 pub const RTM_GETADDRLABEL
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETADDRLABEL
;
2352 pub const RTM_GETDCB
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETDCB
;
2353 pub const RTM_SETDCB
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_SETDCB
;
2354 pub const RTM_NEWNETCONF
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWNETCONF
;
2355 pub const RTM_DELNETCONF
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELNETCONF
;
2356 pub const RTM_GETNETCONF
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETNETCONF
;
2357 pub const RTM_NEWMDB
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWMDB
;
2358 pub const RTM_DELMDB
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELMDB
;
2359 pub const RTM_GETMDB
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETMDB
;
2360 pub const RTM_NEWNSID
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWNSID
;
2361 pub const RTM_DELNSID
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELNSID
;
2362 pub const RTM_GETNSID
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETNSID
;
2363 pub const RTM_NEWSTATS
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWSTATS
;
2364 pub const RTM_GETSTATS
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETSTATS
;
2365 pub const RTM_SETSTATS
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_SETSTATS
;
2366 pub const RTM_NEWCACHEREPORT
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWCACHEREPORT
;
2367 pub const RTM_NEWCHAIN
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWCHAIN
;
2368 pub const RTM_DELCHAIN
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELCHAIN
;
2369 pub const RTM_GETCHAIN
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETCHAIN
;
2370 pub const RTM_NEWNEXTHOP
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWNEXTHOP
;
2371 pub const RTM_DELNEXTHOP
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELNEXTHOP
;
2372 pub const RTM_GETNEXTHOP
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETNEXTHOP
;
2373 pub const RTM_NEWLINKPROP
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWLINKPROP
;
2374 pub const RTM_DELLINKPROP
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELLINKPROP
;
2375 pub const RTM_GETLINKPROP
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETLINKPROP
;
2376 pub const RTM_NEWVLAN
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWVLAN
;
2377 pub const RTM_DELVLAN
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELVLAN
;
2378 pub const RTM_GETVLAN
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETVLAN
;
2379 pub const RTM_NEWNEXTHOPBUCKET
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWNEXTHOPBUCKET
;
2380 pub const RTM_DELNEXTHOPBUCKET
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELNEXTHOPBUCKET
;
2381 pub const RTM_GETNEXTHOPBUCKET
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETNEXTHOPBUCKET
;
2382 pub const RTM_NEWTUNNEL
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_NEWTUNNEL
;
2383 pub const RTM_DELTUNNEL
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_DELTUNNEL
;
2384 pub const RTM_GETTUNNEL
: _bindgen_ty_60
= _bindgen_ty_60
::RTM_GETTUNNEL
;
2385 pub const __RTM_MAX
: _bindgen_ty_60
= _bindgen_ty_60
::__RTM_MAX
;
2388 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2389 pub enum _bindgen_ty_60
{
2412 RTM_NEWTFILTER
= 44,
2413 RTM_DELTFILTER
= 45,
2414 RTM_GETTFILTER
= 46,
2419 RTM_GETMULTICAST
= 58,
2420 RTM_GETANYCAST
= 62,
2421 RTM_NEWNEIGHTBL
= 64,
2422 RTM_GETNEIGHTBL
= 66,
2423 RTM_SETNEIGHTBL
= 67,
2424 RTM_NEWNDUSEROPT
= 68,
2425 RTM_NEWADDRLABEL
= 72,
2426 RTM_DELADDRLABEL
= 73,
2427 RTM_GETADDRLABEL
= 74,
2430 RTM_NEWNETCONF
= 80,
2431 RTM_DELNETCONF
= 81,
2432 RTM_GETNETCONF
= 82,
2442 RTM_NEWCACHEREPORT
= 96,
2446 RTM_NEWNEXTHOP
= 104,
2447 RTM_DELNEXTHOP
= 105,
2448 RTM_GETNEXTHOP
= 106,
2449 RTM_NEWLINKPROP
= 108,
2450 RTM_DELLINKPROP
= 109,
2451 RTM_GETLINKPROP
= 110,
2455 RTM_NEWNEXTHOPBUCKET
= 116,
2456 RTM_DELNEXTHOPBUCKET
= 117,
2457 RTM_GETNEXTHOPBUCKET
= 118,
2458 RTM_NEWTUNNEL
= 120,
2459 RTM_DELTUNNEL
= 121,
2460 RTM_GETTUNNEL
= 122,
2464 #[derive(Debug, Copy, Clone)]
2466 pub rta_len
: crate::ctypes
::c_ushort
,
2467 pub rta_type
: crate::ctypes
::c_ushort
,
2470 #[derive(Debug, Copy, Clone)]
2472 pub rtm_family
: crate::ctypes
::c_uchar
,
2473 pub rtm_dst_len
: crate::ctypes
::c_uchar
,
2474 pub rtm_src_len
: crate::ctypes
::c_uchar
,
2475 pub rtm_tos
: crate::ctypes
::c_uchar
,
2476 pub rtm_table
: crate::ctypes
::c_uchar
,
2477 pub rtm_protocol
: crate::ctypes
::c_uchar
,
2478 pub rtm_scope
: crate::ctypes
::c_uchar
,
2479 pub rtm_type
: crate::ctypes
::c_uchar
,
2480 pub rtm_flags
: crate::ctypes
::c_uint
,
2482 pub const RTN_UNSPEC
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_UNSPEC
;
2483 pub const RTN_UNICAST
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_UNICAST
;
2484 pub const RTN_LOCAL
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_LOCAL
;
2485 pub const RTN_BROADCAST
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_BROADCAST
;
2486 pub const RTN_ANYCAST
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_ANYCAST
;
2487 pub const RTN_MULTICAST
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_MULTICAST
;
2488 pub const RTN_BLACKHOLE
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_BLACKHOLE
;
2489 pub const RTN_UNREACHABLE
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_UNREACHABLE
;
2490 pub const RTN_PROHIBIT
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_PROHIBIT
;
2491 pub const RTN_THROW
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_THROW
;
2492 pub const RTN_NAT
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_NAT
;
2493 pub const RTN_XRESOLVE
: _bindgen_ty_61
= _bindgen_ty_61
::RTN_XRESOLVE
;
2494 pub const __RTN_MAX
: _bindgen_ty_61
= _bindgen_ty_61
::__RTN_MAX
;
2497 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2498 pub enum _bindgen_ty_61
{
2506 RTN_UNREACHABLE
= 7,
2515 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2516 pub enum rt_scope_t
{
2517 RT_SCOPE_UNIVERSE
= 0,
2518 RT_SCOPE_SITE
= 200,
2519 RT_SCOPE_LINK
= 253,
2520 RT_SCOPE_HOST
= 254,
2521 RT_SCOPE_NOWHERE
= 255,
2525 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2526 pub enum rt_class_t
{
2527 RT_TABLE_UNSPEC
= 0,
2528 RT_TABLE_COMPAT
= 252,
2529 RT_TABLE_DEFAULT
= 253,
2530 RT_TABLE_MAIN
= 254,
2531 RT_TABLE_LOCAL
= 255,
2532 RT_TABLE_MAX
= 4294967295,
2536 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2537 pub enum rtattr_type_t
{
2559 RTA_ENCAP_TYPE
= 21,
2564 RTA_TTL_PROPAGATE
= 26,
2572 #[derive(Debug, Copy, Clone)]
2573 pub struct rtnexthop
{
2574 pub rtnh_len
: crate::ctypes
::c_ushort
,
2575 pub rtnh_flags
: crate::ctypes
::c_uchar
,
2576 pub rtnh_hops
: crate::ctypes
::c_uchar
,
2577 pub rtnh_ifindex
: crate::ctypes
::c_int
,
2582 pub rtvia_family
: __kernel_sa_family_t
,
2583 pub rtvia_addr
: __IncompleteArrayField
<__u8
>,
2586 #[derive(Debug, Copy, Clone)]
2587 pub struct rta_cacheinfo
{
2588 pub rta_clntref
: __u32
,
2589 pub rta_lastuse
: __u32
,
2590 pub rta_expires
: __s32
,
2591 pub rta_error
: __u32
,
2592 pub rta_used
: __u32
,
2595 pub rta_tsage
: __u32
,
2597 pub const RTAX_UNSPEC
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_UNSPEC
;
2598 pub const RTAX_LOCK
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_LOCK
;
2599 pub const RTAX_MTU
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_MTU
;
2600 pub const RTAX_WINDOW
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_WINDOW
;
2601 pub const RTAX_RTT
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_RTT
;
2602 pub const RTAX_RTTVAR
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_RTTVAR
;
2603 pub const RTAX_SSTHRESH
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_SSTHRESH
;
2604 pub const RTAX_CWND
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_CWND
;
2605 pub const RTAX_ADVMSS
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_ADVMSS
;
2606 pub const RTAX_REORDERING
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_REORDERING
;
2607 pub const RTAX_HOPLIMIT
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_HOPLIMIT
;
2608 pub const RTAX_INITCWND
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_INITCWND
;
2609 pub const RTAX_FEATURES
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_FEATURES
;
2610 pub const RTAX_RTO_MIN
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_RTO_MIN
;
2611 pub const RTAX_INITRWND
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_INITRWND
;
2612 pub const RTAX_QUICKACK
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_QUICKACK
;
2613 pub const RTAX_CC_ALGO
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_CC_ALGO
;
2614 pub const RTAX_FASTOPEN_NO_COOKIE
: _bindgen_ty_62
= _bindgen_ty_62
::RTAX_FASTOPEN_NO_COOKIE
;
2615 pub const __RTAX_MAX
: _bindgen_ty_62
= _bindgen_ty_62
::__RTAX_MAX
;
2618 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2619 pub enum _bindgen_ty_62
{
2629 RTAX_REORDERING
= 9,
2637 RTAX_FASTOPEN_NO_COOKIE
= 17,
2641 #[derive(Copy, Clone)]
2642 pub struct rta_session
{
2646 pub u
: rta_session__bindgen_ty_1
,
2649 #[derive(Copy, Clone)]
2650 pub union rta_session__bindgen_ty_1
{
2651 pub ports
: rta_session__bindgen_ty_1__bindgen_ty_1
,
2652 pub icmpt
: rta_session__bindgen_ty_1__bindgen_ty_2
,
2656 #[derive(Debug, Copy, Clone)]
2657 pub struct rta_session__bindgen_ty_1__bindgen_ty_1
{
2662 #[derive(Debug, Copy, Clone)]
2663 pub struct rta_session__bindgen_ty_1__bindgen_ty_2
{
2669 #[derive(Debug, Copy, Clone)]
2670 pub struct rta_mfc_stats
{
2671 pub mfcs_packets
: __u64
,
2672 pub mfcs_bytes
: __u64
,
2673 pub mfcs_wrong_if
: __u64
,
2676 #[derive(Debug, Copy, Clone)]
2677 pub struct rtgenmsg
{
2678 pub rtgen_family
: crate::ctypes
::c_uchar
,
2681 #[derive(Debug, Copy, Clone)]
2682 pub struct ifinfomsg
{
2683 pub ifi_family
: crate::ctypes
::c_uchar
,
2684 pub __ifi_pad
: crate::ctypes
::c_uchar
,
2685 pub ifi_type
: crate::ctypes
::c_ushort
,
2686 pub ifi_index
: crate::ctypes
::c_int
,
2687 pub ifi_flags
: crate::ctypes
::c_uint
,
2688 pub ifi_change
: crate::ctypes
::c_uint
,
2691 #[derive(Debug, Copy, Clone)]
2692 pub struct prefixmsg
{
2693 pub prefix_family
: crate::ctypes
::c_uchar
,
2694 pub prefix_pad1
: crate::ctypes
::c_uchar
,
2695 pub prefix_pad2
: crate::ctypes
::c_ushort
,
2696 pub prefix_ifindex
: crate::ctypes
::c_int
,
2697 pub prefix_type
: crate::ctypes
::c_uchar
,
2698 pub prefix_len
: crate::ctypes
::c_uchar
,
2699 pub prefix_flags
: crate::ctypes
::c_uchar
,
2700 pub prefix_pad3
: crate::ctypes
::c_uchar
,
2702 pub const PREFIX_UNSPEC
: _bindgen_ty_63
= _bindgen_ty_63
::PREFIX_UNSPEC
;
2703 pub const PREFIX_ADDRESS
: _bindgen_ty_63
= _bindgen_ty_63
::PREFIX_ADDRESS
;
2704 pub const PREFIX_CACHEINFO
: _bindgen_ty_63
= _bindgen_ty_63
::PREFIX_CACHEINFO
;
2705 pub const __PREFIX_MAX
: _bindgen_ty_63
= _bindgen_ty_63
::__PREFIX_MAX
;
2708 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2709 pub enum _bindgen_ty_63
{
2712 PREFIX_CACHEINFO
= 2,
2716 #[derive(Debug, Copy, Clone)]
2717 pub struct prefix_cacheinfo
{
2718 pub preferred_time
: __u32
,
2719 pub valid_time
: __u32
,
2722 #[derive(Debug, Copy, Clone)]
2724 pub tcm_family
: crate::ctypes
::c_uchar
,
2725 pub tcm__pad1
: crate::ctypes
::c_uchar
,
2726 pub tcm__pad2
: crate::ctypes
::c_ushort
,
2727 pub tcm_ifindex
: crate::ctypes
::c_int
,
2728 pub tcm_handle
: __u32
,
2729 pub tcm_parent
: __u32
,
2730 pub tcm_info
: __u32
,
2732 pub const TCA_UNSPEC
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_UNSPEC
;
2733 pub const TCA_KIND
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_KIND
;
2734 pub const TCA_OPTIONS
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_OPTIONS
;
2735 pub const TCA_STATS
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_STATS
;
2736 pub const TCA_XSTATS
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_XSTATS
;
2737 pub const TCA_RATE
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_RATE
;
2738 pub const TCA_FCNT
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_FCNT
;
2739 pub const TCA_STATS2
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_STATS2
;
2740 pub const TCA_STAB
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_STAB
;
2741 pub const TCA_PAD
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_PAD
;
2742 pub const TCA_DUMP_INVISIBLE
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_DUMP_INVISIBLE
;
2743 pub const TCA_CHAIN
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_CHAIN
;
2744 pub const TCA_HW_OFFLOAD
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_HW_OFFLOAD
;
2745 pub const TCA_INGRESS_BLOCK
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_INGRESS_BLOCK
;
2746 pub const TCA_EGRESS_BLOCK
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_EGRESS_BLOCK
;
2747 pub const TCA_DUMP_FLAGS
: _bindgen_ty_64
= _bindgen_ty_64
::TCA_DUMP_FLAGS
;
2748 pub const __TCA_MAX
: _bindgen_ty_64
= _bindgen_ty_64
::__TCA_MAX
;
2751 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2752 pub enum _bindgen_ty_64
{
2763 TCA_DUMP_INVISIBLE
= 10,
2765 TCA_HW_OFFLOAD
= 12,
2766 TCA_INGRESS_BLOCK
= 13,
2767 TCA_EGRESS_BLOCK
= 14,
2768 TCA_DUMP_FLAGS
= 15,
2772 #[derive(Debug, Copy, Clone)]
2773 pub struct nduseroptmsg
{
2774 pub nduseropt_family
: crate::ctypes
::c_uchar
,
2775 pub nduseropt_pad1
: crate::ctypes
::c_uchar
,
2776 pub nduseropt_opts_len
: crate::ctypes
::c_ushort
,
2777 pub nduseropt_ifindex
: crate::ctypes
::c_int
,
2778 pub nduseropt_icmp_type
: __u8
,
2779 pub nduseropt_icmp_code
: __u8
,
2780 pub nduseropt_pad2
: crate::ctypes
::c_ushort
,
2781 pub nduseropt_pad3
: crate::ctypes
::c_uint
,
2783 pub const NDUSEROPT_UNSPEC
: _bindgen_ty_65
= _bindgen_ty_65
::NDUSEROPT_UNSPEC
;
2784 pub const NDUSEROPT_SRCADDR
: _bindgen_ty_65
= _bindgen_ty_65
::NDUSEROPT_SRCADDR
;
2785 pub const __NDUSEROPT_MAX
: _bindgen_ty_65
= _bindgen_ty_65
::__NDUSEROPT_MAX
;
2788 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2789 pub enum _bindgen_ty_65
{
2790 NDUSEROPT_UNSPEC
= 0,
2791 NDUSEROPT_SRCADDR
= 1,
2792 __NDUSEROPT_MAX
= 2,
2796 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2797 pub enum rtnetlink_groups
{
2803 RTNLGRP_IPV4_IFADDR
= 5,
2804 RTNLGRP_IPV4_MROUTE
= 6,
2805 RTNLGRP_IPV4_ROUTE
= 7,
2806 RTNLGRP_IPV4_RULE
= 8,
2807 RTNLGRP_IPV6_IFADDR
= 9,
2808 RTNLGRP_IPV6_MROUTE
= 10,
2809 RTNLGRP_IPV6_ROUTE
= 11,
2810 RTNLGRP_IPV6_IFINFO
= 12,
2811 RTNLGRP_DECnet_IFADDR
= 13,
2813 RTNLGRP_DECnet_ROUTE
= 15,
2814 RTNLGRP_DECnet_RULE
= 16,
2816 RTNLGRP_IPV6_PREFIX
= 18,
2817 RTNLGRP_IPV6_RULE
= 19,
2818 RTNLGRP_ND_USEROPT
= 20,
2819 RTNLGRP_PHONET_IFADDR
= 21,
2820 RTNLGRP_PHONET_ROUTE
= 22,
2822 RTNLGRP_IPV4_NETCONF
= 24,
2823 RTNLGRP_IPV6_NETCONF
= 25,
2825 RTNLGRP_MPLS_ROUTE
= 27,
2827 RTNLGRP_MPLS_NETCONF
= 29,
2828 RTNLGRP_IPV4_MROUTE_R
= 30,
2829 RTNLGRP_IPV6_MROUTE_R
= 31,
2830 RTNLGRP_NEXTHOP
= 32,
2831 RTNLGRP_BRVLAN
= 33,
2832 RTNLGRP_MCTP_IFADDR
= 34,
2833 RTNLGRP_TUNNEL
= 35,
2838 #[derive(Debug, Copy, Clone)]
2840 pub tca_family
: crate::ctypes
::c_uchar
,
2841 pub tca__pad1
: crate::ctypes
::c_uchar
,
2842 pub tca__pad2
: crate::ctypes
::c_ushort
,
2844 pub const TCA_ROOT_UNSPEC
: _bindgen_ty_66
= _bindgen_ty_66
::TCA_ROOT_UNSPEC
;
2845 pub const TCA_ROOT_TAB
: _bindgen_ty_66
= _bindgen_ty_66
::TCA_ROOT_TAB
;
2846 pub const TCA_ROOT_FLAGS
: _bindgen_ty_66
= _bindgen_ty_66
::TCA_ROOT_FLAGS
;
2847 pub const TCA_ROOT_COUNT
: _bindgen_ty_66
= _bindgen_ty_66
::TCA_ROOT_COUNT
;
2848 pub const TCA_ROOT_TIME_DELTA
: _bindgen_ty_66
= _bindgen_ty_66
::TCA_ROOT_TIME_DELTA
;
2849 pub const __TCA_ROOT_MAX
: _bindgen_ty_66
= _bindgen_ty_66
::__TCA_ROOT_MAX
;
2852 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2853 pub enum _bindgen_ty_66
{
2854 TCA_ROOT_UNSPEC
= 0,
2858 TCA_ROOT_TIME_DELTA
= 4,