1 /* automatically generated by rust-bindgen 0.59.2 */
2
3 #[repr(C)]
4 #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
5 pub struct __BindgenBitfieldUnit<Storage> {
6 storage: Storage,
7 }
8 impl<Storage> __BindgenBitfieldUnit<Storage> {
9 #[inline]
new(storage: Storage) -> Self10 pub const fn new(storage: Storage) -> Self {
11 Self { storage }
12 }
13 }
14 impl<Storage> __BindgenBitfieldUnit<Storage>
15 where
16 Storage: AsRef<[u8]> + AsMut<[u8]>,
17 {
18 #[inline]
get_bit(&self, index: usize) -> bool19 pub fn get_bit(&self, index: usize) -> bool {
20 debug_assert!(index / 8 < self.storage.as_ref().len());
21 let byte_index = index / 8;
22 let byte = self.storage.as_ref()[byte_index];
23 let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 };
24 let mask = 1 << bit_index;
25 byte & mask == mask
26 }
27 #[inline]
set_bit(&mut self, index: usize, val: bool)28 pub fn set_bit(&mut self, index: usize, val: bool) {
29 debug_assert!(index / 8 < self.storage.as_ref().len());
30 let byte_index = index / 8;
31 let byte = &mut self.storage.as_mut()[byte_index];
32 let bit_index = if cfg!(target_endian = "big") { 7 - (index % 8) } else { index % 8 };
33 let mask = 1 << bit_index;
34 if val {
35 *byte |= mask;
36 } else {
37 *byte &= !mask;
38 }
39 }
40 #[inline]
get(&self, bit_offset: usize, bit_width: u8) -> u6441 pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
42 debug_assert!(bit_width <= 64);
43 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
44 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
45 let mut val = 0;
46 for i in 0..(bit_width as usize) {
47 if self.get_bit(i + bit_offset) {
48 let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
49 val |= 1 << index;
50 }
51 }
52 val
53 }
54 #[inline]
set(&mut self, bit_offset: usize, bit_width: u8, val: u64)55 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
56 debug_assert!(bit_width <= 64);
57 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
58 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
59 for i in 0..(bit_width as usize) {
60 let mask = 1 << i;
61 let val_bit_is_set = val & mask == mask;
62 let index = if cfg!(target_endian = "big") { bit_width as usize - 1 - i } else { i };
63 self.set_bit(index + bit_offset, val_bit_is_set);
64 }
65 }
66 }
67 #[repr(C)]
68 #[derive(Default)]
69 pub struct __IncompleteArrayField<T>(::core::marker::PhantomData<T>, [T; 0]);
70 impl<T> __IncompleteArrayField<T> {
71 #[inline]
new() -> Self72 pub const fn new() -> Self {
73 __IncompleteArrayField(::core::marker::PhantomData, [])
74 }
75 #[inline]
as_ptr(&self) -> *const T76 pub fn as_ptr(&self) -> *const T {
77 self as *const _ as *const T
78 }
79 #[inline]
as_mut_ptr(&mut self) -> *mut T80 pub fn as_mut_ptr(&mut self) -> *mut T {
81 self as *mut _ as *mut T
82 }
83 #[inline]
as_slice(&self, len: usize) -> &[T]84 pub unsafe fn as_slice(&self, len: usize) -> &[T] {
85 ::core::slice::from_raw_parts(self.as_ptr(), len)
86 }
87 #[inline]
as_mut_slice(&mut self, len: usize) -> &mut [T]88 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
89 ::core::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
90 }
91 }
92 impl<T> ::core::fmt::Debug for __IncompleteArrayField<T> {
fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result93 fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
94 fmt.write_str("__IncompleteArrayField")
95 }
96 }
97 #[repr(C)]
98 pub struct __BindgenUnionField<T>(::core::marker::PhantomData<T>);
99 impl<T> __BindgenUnionField<T> {
100 #[inline]
new() -> Self101 pub const fn new() -> Self {
102 __BindgenUnionField(::core::marker::PhantomData)
103 }
104 #[inline]
as_ref(&self) -> &T105 pub unsafe fn as_ref(&self) -> &T {
106 ::core::mem::transmute(self)
107 }
108 #[inline]
as_mut(&mut self) -> &mut T109 pub unsafe fn as_mut(&mut self) -> &mut T {
110 ::core::mem::transmute(self)
111 }
112 }
113 impl<T> ::core::default::Default for __BindgenUnionField<T> {
114 #[inline]
default() -> Self115 fn default() -> Self {
116 Self::new()
117 }
118 }
119 impl<T> ::core::clone::Clone for __BindgenUnionField<T> {
120 #[inline]
clone(&self) -> Self121 fn clone(&self) -> Self {
122 Self::new()
123 }
124 }
125 impl<T> ::core::marker::Copy for __BindgenUnionField<T> {}
126 impl<T> ::core::fmt::Debug for __BindgenUnionField<T> {
fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result127 fn fmt(&self, fmt: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
128 fmt.write_str("__BindgenUnionField")
129 }
130 }
131 impl<T> ::core::hash::Hash for __BindgenUnionField<T> {
hash<H: ::core::hash::Hasher>(&self, _state: &mut H)132 fn hash<H: ::core::hash::Hasher>(&self, _state: &mut H) {}
133 }
134 impl<T> ::core::cmp::PartialEq for __BindgenUnionField<T> {
eq(&self, _other: &__BindgenUnionField<T>) -> bool135 fn eq(&self, _other: &__BindgenUnionField<T>) -> bool {
136 true
137 }
138 }
139 impl<T> ::core::cmp::Eq for __BindgenUnionField<T> {}
140 pub const LINUX_VERSION_CODE: u32 = 332032;
141 pub const LINUX_VERSION_MAJOR: u32 = 5;
142 pub const LINUX_VERSION_PATCHLEVEL: u32 = 17;
143 pub const LINUX_VERSION_SUBLEVEL: u32 = 0;
144 pub const AT_SYSINFO_EHDR: u32 = 33;
145 pub const AT_ADI_BLKSZ: u32 = 48;
146 pub const AT_ADI_NBITS: u32 = 49;
147 pub const AT_ADI_UEONADI: u32 = 50;
148 pub const AT_VECTOR_SIZE_ARCH: u32 = 4;
149 pub const AT_NULL: u32 = 0;
150 pub const AT_IGNORE: u32 = 1;
151 pub const AT_EXECFD: u32 = 2;
152 pub const AT_PHDR: u32 = 3;
153 pub const AT_PHENT: u32 = 4;
154 pub const AT_PHNUM: u32 = 5;
155 pub const AT_PAGESZ: u32 = 6;
156 pub const AT_BASE: u32 = 7;
157 pub const AT_FLAGS: u32 = 8;
158 pub const AT_ENTRY: u32 = 9;
159 pub const AT_NOTELF: u32 = 10;
160 pub const AT_UID: u32 = 11;
161 pub const AT_EUID: u32 = 12;
162 pub const AT_GID: u32 = 13;
163 pub const AT_EGID: u32 = 14;
164 pub const AT_PLATFORM: u32 = 15;
165 pub const AT_HWCAP: u32 = 16;
166 pub const AT_CLKTCK: u32 = 17;
167 pub const AT_SECURE: u32 = 23;
168 pub const AT_BASE_PLATFORM: u32 = 24;
169 pub const AT_RANDOM: u32 = 25;
170 pub const AT_HWCAP2: u32 = 26;
171 pub const AT_EXECFN: u32 = 31;
172 pub const AT_MINSIGSTKSZ: u32 = 51;
173 pub const O_APPEND: u32 = 8;
174 pub const FASYNC: u32 = 64;
175 pub const O_CREAT: u32 = 512;
176 pub const O_TRUNC: u32 = 1024;
177 pub const O_EXCL: u32 = 2048;
178 pub const O_DSYNC: u32 = 8192;
179 pub const O_NONBLOCK: u32 = 16384;
180 pub const O_NDELAY: u32 = 16388;
181 pub const O_NOCTTY: u32 = 32768;
182 pub const O_LARGEFILE: u32 = 262144;
183 pub const O_DIRECT: u32 = 1048576;
184 pub const O_NOATIME: u32 = 2097152;
185 pub const O_CLOEXEC: u32 = 4194304;
186 pub const __O_SYNC: u32 = 8388608;
187 pub const O_SYNC: u32 = 8396800;
188 pub const O_PATH: u32 = 16777216;
189 pub const __O_TMPFILE: u32 = 33554432;
190 pub const F_GETOWN: u32 = 5;
191 pub const F_SETOWN: u32 = 6;
192 pub const F_GETLK: u32 = 7;
193 pub const F_SETLK: u32 = 8;
194 pub const F_SETLKW: u32 = 9;
195 pub const F_RDLCK: u32 = 1;
196 pub const F_WRLCK: u32 = 2;
197 pub const F_UNLCK: u32 = 3;
198 pub const __BITS_PER_LONG: u32 = 32;
199 pub const __FD_SETSIZE: u32 = 1024;
200 pub const O_ACCMODE: u32 = 3;
201 pub const O_RDONLY: u32 = 0;
202 pub const O_WRONLY: u32 = 1;
203 pub const O_RDWR: u32 = 2;
204 pub const O_DIRECTORY: u32 = 65536;
205 pub const O_NOFOLLOW: u32 = 131072;
206 pub const O_TMPFILE: u32 = 33619968;
207 pub const O_TMPFILE_MASK: u32 = 33620480;
208 pub const F_DUPFD: u32 = 0;
209 pub const F_GETFD: u32 = 1;
210 pub const F_SETFD: u32 = 2;
211 pub const F_GETFL: u32 = 3;
212 pub const F_SETFL: u32 = 4;
213 pub const F_SETSIG: u32 = 10;
214 pub const F_GETSIG: u32 = 11;
215 pub const F_GETLK64: u32 = 12;
216 pub const F_SETLK64: u32 = 13;
217 pub const F_SETLKW64: u32 = 14;
218 pub const F_SETOWN_EX: u32 = 15;
219 pub const F_GETOWN_EX: u32 = 16;
220 pub const F_GETOWNER_UIDS: u32 = 17;
221 pub const F_OFD_GETLK: u32 = 36;
222 pub const F_OFD_SETLK: u32 = 37;
223 pub const F_OFD_SETLKW: u32 = 38;
224 pub const F_OWNER_TID: u32 = 0;
225 pub const F_OWNER_PID: u32 = 1;
226 pub const F_OWNER_PGRP: u32 = 2;
227 pub const FD_CLOEXEC: u32 = 1;
228 pub const F_EXLCK: u32 = 4;
229 pub const F_SHLCK: u32 = 8;
230 pub const LOCK_SH: u32 = 1;
231 pub const LOCK_EX: u32 = 2;
232 pub const LOCK_NB: u32 = 4;
233 pub const LOCK_UN: u32 = 8;
234 pub const LOCK_MAND: u32 = 32;
235 pub const LOCK_READ: u32 = 64;
236 pub const LOCK_WRITE: u32 = 128;
237 pub const LOCK_RW: u32 = 192;
238 pub const F_LINUX_SPECIFIC_BASE: u32 = 1024;
239 pub const RESOLVE_NO_XDEV: u32 = 1;
240 pub const RESOLVE_NO_MAGICLINKS: u32 = 2;
241 pub const RESOLVE_NO_SYMLINKS: u32 = 4;
242 pub const RESOLVE_BENEATH: u32 = 8;
243 pub const RESOLVE_IN_ROOT: u32 = 16;
244 pub const RESOLVE_CACHED: u32 = 32;
245 pub const F_SETLEASE: u32 = 1024;
246 pub const F_GETLEASE: u32 = 1025;
247 pub const F_CANCELLK: u32 = 1029;
248 pub const F_DUPFD_CLOEXEC: u32 = 1030;
249 pub const F_NOTIFY: u32 = 1026;
250 pub const F_SETPIPE_SZ: u32 = 1031;
251 pub const F_GETPIPE_SZ: u32 = 1032;
252 pub const F_ADD_SEALS: u32 = 1033;
253 pub const F_GET_SEALS: u32 = 1034;
254 pub const F_SEAL_SEAL: u32 = 1;
255 pub const F_SEAL_SHRINK: u32 = 2;
256 pub const F_SEAL_GROW: u32 = 4;
257 pub const F_SEAL_WRITE: u32 = 8;
258 pub const F_SEAL_FUTURE_WRITE: u32 = 16;
259 pub const F_GET_RW_HINT: u32 = 1035;
260 pub const F_SET_RW_HINT: u32 = 1036;
261 pub const F_GET_FILE_RW_HINT: u32 = 1037;
262 pub const F_SET_FILE_RW_HINT: u32 = 1038;
263 pub const RWH_WRITE_LIFE_NOT_SET: u32 = 0;
264 pub const RWH_WRITE_LIFE_NONE: u32 = 1;
265 pub const RWH_WRITE_LIFE_SHORT: u32 = 2;
266 pub const RWH_WRITE_LIFE_MEDIUM: u32 = 3;
267 pub const RWH_WRITE_LIFE_LONG: u32 = 4;
268 pub const RWH_WRITE_LIFE_EXTREME: u32 = 5;
269 pub const RWF_WRITE_LIFE_NOT_SET: u32 = 0;
270 pub const DN_ACCESS: u32 = 1;
271 pub const DN_MODIFY: u32 = 2;
272 pub const DN_CREATE: u32 = 4;
273 pub const DN_DELETE: u32 = 8;
274 pub const DN_RENAME: u32 = 16;
275 pub const DN_ATTRIB: u32 = 32;
276 pub const DN_MULTISHOT: u32 = 2147483648;
277 pub const AT_FDCWD: i32 = -100;
278 pub const AT_SYMLINK_NOFOLLOW: u32 = 256;
279 pub const AT_EACCESS: u32 = 512;
280 pub const AT_REMOVEDIR: u32 = 512;
281 pub const AT_SYMLINK_FOLLOW: u32 = 1024;
282 pub const AT_NO_AUTOMOUNT: u32 = 2048;
283 pub const AT_EMPTY_PATH: u32 = 4096;
284 pub const AT_STATX_SYNC_TYPE: u32 = 24576;
285 pub const AT_STATX_SYNC_AS_STAT: u32 = 0;
286 pub const AT_STATX_FORCE_SYNC: u32 = 8192;
287 pub const AT_STATX_DONT_SYNC: u32 = 16384;
288 pub const AT_RECURSIVE: u32 = 32768;
289 pub const EPOLL_CLOEXEC: u32 = 4194304;
290 pub const EPOLL_CTL_ADD: u32 = 1;
291 pub const EPOLL_CTL_DEL: u32 = 2;
292 pub const EPOLL_CTL_MOD: u32 = 3;
293 pub const POSIX_FADV_NORMAL: u32 = 0;
294 pub const POSIX_FADV_RANDOM: u32 = 1;
295 pub const POSIX_FADV_SEQUENTIAL: u32 = 2;
296 pub const POSIX_FADV_WILLNEED: u32 = 3;
297 pub const POSIX_FADV_DONTNEED: u32 = 4;
298 pub const POSIX_FADV_NOREUSE: u32 = 5;
299 pub const FALLOC_FL_KEEP_SIZE: u32 = 1;
300 pub const FALLOC_FL_PUNCH_HOLE: u32 = 2;
301 pub const FALLOC_FL_NO_HIDE_STALE: u32 = 4;
302 pub const FALLOC_FL_COLLAPSE_RANGE: u32 = 8;
303 pub const FALLOC_FL_ZERO_RANGE: u32 = 16;
304 pub const FALLOC_FL_INSERT_RANGE: u32 = 32;
305 pub const FALLOC_FL_UNSHARE_RANGE: u32 = 64;
306 pub const NR_OPEN: u32 = 1024;
307 pub const NGROUPS_MAX: u32 = 65536;
308 pub const ARG_MAX: u32 = 131072;
309 pub const LINK_MAX: u32 = 127;
310 pub const MAX_CANON: u32 = 255;
311 pub const MAX_INPUT: u32 = 255;
312 pub const NAME_MAX: u32 = 255;
313 pub const PATH_MAX: u32 = 4096;
314 pub const PIPE_BUF: u32 = 4096;
315 pub const XATTR_NAME_MAX: u32 = 255;
316 pub const XATTR_SIZE_MAX: u32 = 65536;
317 pub const XATTR_LIST_MAX: u32 = 65536;
318 pub const RTSIG_MAX: u32 = 32;
319 pub const _IOC_NRBITS: u32 = 8;
320 pub const _IOC_TYPEBITS: u32 = 8;
321 pub const _IOC_SIZEBITS: u32 = 13;
322 pub const _IOC_DIRBITS: u32 = 3;
323 pub const _IOC_NRMASK: u32 = 255;
324 pub const _IOC_TYPEMASK: u32 = 255;
325 pub const _IOC_SIZEMASK: u32 = 8191;
326 pub const _IOC_XSIZEMASK: u32 = 16383;
327 pub const _IOC_DIRMASK: u32 = 7;
328 pub const _IOC_NRSHIFT: u32 = 0;
329 pub const _IOC_TYPESHIFT: u32 = 8;
330 pub const _IOC_SIZESHIFT: u32 = 16;
331 pub const _IOC_DIRSHIFT: u32 = 29;
332 pub const _IOC_NONE: u32 = 1;
333 pub const _IOC_READ: u32 = 2;
334 pub const _IOC_WRITE: u32 = 4;
335 pub const IOC_IN: u32 = 2147483648;
336 pub const IOC_OUT: u32 = 1073741824;
337 pub const IOC_INOUT: u32 = 3221225472;
338 pub const IOCSIZE_MASK: u32 = 1073676288;
339 pub const IOCSIZE_SHIFT: u32 = 16;
340 pub const FSCRYPT_POLICY_FLAGS_PAD_4: u32 = 0;
341 pub const FSCRYPT_POLICY_FLAGS_PAD_8: u32 = 1;
342 pub const FSCRYPT_POLICY_FLAGS_PAD_16: u32 = 2;
343 pub const FSCRYPT_POLICY_FLAGS_PAD_32: u32 = 3;
344 pub const FSCRYPT_POLICY_FLAGS_PAD_MASK: u32 = 3;
345 pub const FSCRYPT_POLICY_FLAG_DIRECT_KEY: u32 = 4;
346 pub const FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64: u32 = 8;
347 pub const FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32: u32 = 16;
348 pub const FSCRYPT_MODE_AES_256_XTS: u32 = 1;
349 pub const FSCRYPT_MODE_AES_256_CTS: u32 = 4;
350 pub const FSCRYPT_MODE_AES_128_CBC: u32 = 5;
351 pub const FSCRYPT_MODE_AES_128_CTS: u32 = 6;
352 pub const FSCRYPT_MODE_ADIANTUM: u32 = 9;
353 pub const FSCRYPT_POLICY_V1: u32 = 0;
354 pub const FSCRYPT_KEY_DESCRIPTOR_SIZE: u32 = 8;
355 pub const FSCRYPT_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
356 pub const FSCRYPT_KEY_DESC_PREFIX_SIZE: u32 = 8;
357 pub const FSCRYPT_MAX_KEY_SIZE: u32 = 64;
358 pub const FSCRYPT_POLICY_V2: u32 = 2;
359 pub const FSCRYPT_KEY_IDENTIFIER_SIZE: u32 = 16;
360 pub const FSCRYPT_KEY_SPEC_TYPE_DESCRIPTOR: u32 = 1;
361 pub const FSCRYPT_KEY_SPEC_TYPE_IDENTIFIER: u32 = 2;
362 pub const FSCRYPT_KEY_REMOVAL_STATUS_FLAG_FILES_BUSY: u32 = 1;
363 pub const FSCRYPT_KEY_REMOVAL_STATUS_FLAG_OTHER_USERS: u32 = 2;
364 pub const FSCRYPT_KEY_STATUS_ABSENT: u32 = 1;
365 pub const FSCRYPT_KEY_STATUS_PRESENT: u32 = 2;
366 pub const FSCRYPT_KEY_STATUS_INCOMPLETELY_REMOVED: u32 = 3;
367 pub const FSCRYPT_KEY_STATUS_FLAG_ADDED_BY_SELF: u32 = 1;
368 pub const FS_KEY_DESCRIPTOR_SIZE: u32 = 8;
369 pub const FS_POLICY_FLAGS_PAD_4: u32 = 0;
370 pub const FS_POLICY_FLAGS_PAD_8: u32 = 1;
371 pub const FS_POLICY_FLAGS_PAD_16: u32 = 2;
372 pub const FS_POLICY_FLAGS_PAD_32: u32 = 3;
373 pub const FS_POLICY_FLAGS_PAD_MASK: u32 = 3;
374 pub const FS_POLICY_FLAG_DIRECT_KEY: u32 = 4;
375 pub const FS_POLICY_FLAGS_VALID: u32 = 7;
376 pub const FS_ENCRYPTION_MODE_INVALID: u32 = 0;
377 pub const FS_ENCRYPTION_MODE_AES_256_XTS: u32 = 1;
378 pub const FS_ENCRYPTION_MODE_AES_256_GCM: u32 = 2;
379 pub const FS_ENCRYPTION_MODE_AES_256_CBC: u32 = 3;
380 pub const FS_ENCRYPTION_MODE_AES_256_CTS: u32 = 4;
381 pub const FS_ENCRYPTION_MODE_AES_128_CBC: u32 = 5;
382 pub const FS_ENCRYPTION_MODE_AES_128_CTS: u32 = 6;
383 pub const FS_ENCRYPTION_MODE_SPECK128_256_XTS: u32 = 7;
384 pub const FS_ENCRYPTION_MODE_SPECK128_256_CTS: u32 = 8;
385 pub const FS_ENCRYPTION_MODE_ADIANTUM: u32 = 9;
386 pub const FS_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
387 pub const FS_KEY_DESC_PREFIX_SIZE: u32 = 8;
388 pub const FS_MAX_KEY_SIZE: u32 = 64;
389 pub const MS_RDONLY: u32 = 1;
390 pub const MS_NOSUID: u32 = 2;
391 pub const MS_NODEV: u32 = 4;
392 pub const MS_NOEXEC: u32 = 8;
393 pub const MS_SYNCHRONOUS: u32 = 16;
394 pub const MS_REMOUNT: u32 = 32;
395 pub const MS_MANDLOCK: u32 = 64;
396 pub const MS_DIRSYNC: u32 = 128;
397 pub const MS_NOSYMFOLLOW: u32 = 256;
398 pub const MS_NOATIME: u32 = 1024;
399 pub const MS_NODIRATIME: u32 = 2048;
400 pub const MS_BIND: u32 = 4096;
401 pub const MS_MOVE: u32 = 8192;
402 pub const MS_REC: u32 = 16384;
403 pub const MS_VERBOSE: u32 = 32768;
404 pub const MS_SILENT: u32 = 32768;
405 pub const MS_POSIXACL: u32 = 65536;
406 pub const MS_UNBINDABLE: u32 = 131072;
407 pub const MS_PRIVATE: u32 = 262144;
408 pub const MS_SLAVE: u32 = 524288;
409 pub const MS_SHARED: u32 = 1048576;
410 pub const MS_RELATIME: u32 = 2097152;
411 pub const MS_KERNMOUNT: u32 = 4194304;
412 pub const MS_I_VERSION: u32 = 8388608;
413 pub const MS_STRICTATIME: u32 = 16777216;
414 pub const MS_LAZYTIME: u32 = 33554432;
415 pub const MS_SUBMOUNT: u32 = 67108864;
416 pub const MS_NOREMOTELOCK: u32 = 134217728;
417 pub const MS_NOSEC: u32 = 268435456;
418 pub const MS_BORN: u32 = 536870912;
419 pub const MS_ACTIVE: u32 = 1073741824;
420 pub const MS_NOUSER: u32 = 2147483648;
421 pub const MS_RMT_MASK: u32 = 41943121;
422 pub const MS_MGC_VAL: u32 = 3236757504;
423 pub const MS_MGC_MSK: u32 = 4294901760;
424 pub const OPEN_TREE_CLONE: u32 = 1;
425 pub const OPEN_TREE_CLOEXEC: u32 = 4194304;
426 pub const MOVE_MOUNT_F_SYMLINKS: u32 = 1;
427 pub const MOVE_MOUNT_F_AUTOMOUNTS: u32 = 2;
428 pub const MOVE_MOUNT_F_EMPTY_PATH: u32 = 4;
429 pub const MOVE_MOUNT_T_SYMLINKS: u32 = 16;
430 pub const MOVE_MOUNT_T_AUTOMOUNTS: u32 = 32;
431 pub const MOVE_MOUNT_T_EMPTY_PATH: u32 = 64;
432 pub const MOVE_MOUNT_SET_GROUP: u32 = 256;
433 pub const MOVE_MOUNT__MASK: u32 = 375;
434 pub const FSOPEN_CLOEXEC: u32 = 1;
435 pub const FSPICK_CLOEXEC: u32 = 1;
436 pub const FSPICK_SYMLINK_NOFOLLOW: u32 = 2;
437 pub const FSPICK_NO_AUTOMOUNT: u32 = 4;
438 pub const FSPICK_EMPTY_PATH: u32 = 8;
439 pub const FSMOUNT_CLOEXEC: u32 = 1;
440 pub const MOUNT_ATTR_RDONLY: u32 = 1;
441 pub const MOUNT_ATTR_NOSUID: u32 = 2;
442 pub const MOUNT_ATTR_NODEV: u32 = 4;
443 pub const MOUNT_ATTR_NOEXEC: u32 = 8;
444 pub const MOUNT_ATTR__ATIME: u32 = 112;
445 pub const MOUNT_ATTR_RELATIME: u32 = 0;
446 pub const MOUNT_ATTR_NOATIME: u32 = 16;
447 pub const MOUNT_ATTR_STRICTATIME: u32 = 32;
448 pub const MOUNT_ATTR_NODIRATIME: u32 = 128;
449 pub const MOUNT_ATTR_IDMAP: u32 = 1048576;
450 pub const MOUNT_ATTR_NOSYMFOLLOW: u32 = 2097152;
451 pub const MOUNT_ATTR_SIZE_VER0: u32 = 32;
452 pub const INR_OPEN_CUR: u32 = 1024;
453 pub const INR_OPEN_MAX: u32 = 4096;
454 pub const BLOCK_SIZE_BITS: u32 = 10;
455 pub const BLOCK_SIZE: u32 = 1024;
456 pub const SEEK_SET: u32 = 0;
457 pub const SEEK_CUR: u32 = 1;
458 pub const SEEK_END: u32 = 2;
459 pub const SEEK_DATA: u32 = 3;
460 pub const SEEK_HOLE: u32 = 4;
461 pub const SEEK_MAX: u32 = 4;
462 pub const RENAME_NOREPLACE: u32 = 1;
463 pub const RENAME_EXCHANGE: u32 = 2;
464 pub const RENAME_WHITEOUT: u32 = 4;
465 pub const FILE_DEDUPE_RANGE_SAME: u32 = 0;
466 pub const FILE_DEDUPE_RANGE_DIFFERS: u32 = 1;
467 pub const NR_FILE: u32 = 8192;
468 pub const FS_XFLAG_REALTIME: u32 = 1;
469 pub const FS_XFLAG_PREALLOC: u32 = 2;
470 pub const FS_XFLAG_IMMUTABLE: u32 = 8;
471 pub const FS_XFLAG_APPEND: u32 = 16;
472 pub const FS_XFLAG_SYNC: u32 = 32;
473 pub const FS_XFLAG_NOATIME: u32 = 64;
474 pub const FS_XFLAG_NODUMP: u32 = 128;
475 pub const FS_XFLAG_RTINHERIT: u32 = 256;
476 pub const FS_XFLAG_PROJINHERIT: u32 = 512;
477 pub const FS_XFLAG_NOSYMLINKS: u32 = 1024;
478 pub const FS_XFLAG_EXTSIZE: u32 = 2048;
479 pub const FS_XFLAG_EXTSZINHERIT: u32 = 4096;
480 pub const FS_XFLAG_NODEFRAG: u32 = 8192;
481 pub const FS_XFLAG_FILESTREAM: u32 = 16384;
482 pub const FS_XFLAG_DAX: u32 = 32768;
483 pub const FS_XFLAG_COWEXTSIZE: u32 = 65536;
484 pub const FS_XFLAG_HASATTR: u32 = 2147483648;
485 pub const BMAP_IOCTL: u32 = 1;
486 pub const FSLABEL_MAX: u32 = 256;
487 pub const FS_SECRM_FL: u32 = 1;
488 pub const FS_UNRM_FL: u32 = 2;
489 pub const FS_COMPR_FL: u32 = 4;
490 pub const FS_SYNC_FL: u32 = 8;
491 pub const FS_IMMUTABLE_FL: u32 = 16;
492 pub const FS_APPEND_FL: u32 = 32;
493 pub const FS_NODUMP_FL: u32 = 64;
494 pub const FS_NOATIME_FL: u32 = 128;
495 pub const FS_DIRTY_FL: u32 = 256;
496 pub const FS_COMPRBLK_FL: u32 = 512;
497 pub const FS_NOCOMP_FL: u32 = 1024;
498 pub const FS_ENCRYPT_FL: u32 = 2048;
499 pub const FS_BTREE_FL: u32 = 4096;
500 pub const FS_INDEX_FL: u32 = 4096;
501 pub const FS_IMAGIC_FL: u32 = 8192;
502 pub const FS_JOURNAL_DATA_FL: u32 = 16384;
503 pub const FS_NOTAIL_FL: u32 = 32768;
504 pub const FS_DIRSYNC_FL: u32 = 65536;
505 pub const FS_TOPDIR_FL: u32 = 131072;
506 pub const FS_HUGE_FILE_FL: u32 = 262144;
507 pub const FS_EXTENT_FL: u32 = 524288;
508 pub const FS_VERITY_FL: u32 = 1048576;
509 pub const FS_EA_INODE_FL: u32 = 2097152;
510 pub const FS_EOFBLOCKS_FL: u32 = 4194304;
511 pub const FS_NOCOW_FL: u32 = 8388608;
512 pub const FS_DAX_FL: u32 = 33554432;
513 pub const FS_INLINE_DATA_FL: u32 = 268435456;
514 pub const FS_PROJINHERIT_FL: u32 = 536870912;
515 pub const FS_CASEFOLD_FL: u32 = 1073741824;
516 pub const FS_RESERVED_FL: u32 = 2147483648;
517 pub const FS_FL_USER_VISIBLE: u32 = 253951;
518 pub const FS_FL_USER_MODIFIABLE: u32 = 229631;
519 pub const SYNC_FILE_RANGE_WAIT_BEFORE: u32 = 1;
520 pub const SYNC_FILE_RANGE_WRITE: u32 = 2;
521 pub const SYNC_FILE_RANGE_WAIT_AFTER: u32 = 4;
522 pub const SYNC_FILE_RANGE_WRITE_AND_WAIT: u32 = 7;
523 pub const FUTEX_WAIT: u32 = 0;
524 pub const FUTEX_WAKE: u32 = 1;
525 pub const FUTEX_FD: u32 = 2;
526 pub const FUTEX_REQUEUE: u32 = 3;
527 pub const FUTEX_CMP_REQUEUE: u32 = 4;
528 pub const FUTEX_WAKE_OP: u32 = 5;
529 pub const FUTEX_LOCK_PI: u32 = 6;
530 pub const FUTEX_UNLOCK_PI: u32 = 7;
531 pub const FUTEX_TRYLOCK_PI: u32 = 8;
532 pub const FUTEX_WAIT_BITSET: u32 = 9;
533 pub const FUTEX_WAKE_BITSET: u32 = 10;
534 pub const FUTEX_WAIT_REQUEUE_PI: u32 = 11;
535 pub const FUTEX_CMP_REQUEUE_PI: u32 = 12;
536 pub const FUTEX_LOCK_PI2: u32 = 13;
537 pub const FUTEX_PRIVATE_FLAG: u32 = 128;
538 pub const FUTEX_CLOCK_REALTIME: u32 = 256;
539 pub const FUTEX_CMD_MASK: i32 = -385;
540 pub const FUTEX_WAIT_PRIVATE: u32 = 128;
541 pub const FUTEX_WAKE_PRIVATE: u32 = 129;
542 pub const FUTEX_REQUEUE_PRIVATE: u32 = 131;
543 pub const FUTEX_CMP_REQUEUE_PRIVATE: u32 = 132;
544 pub const FUTEX_WAKE_OP_PRIVATE: u32 = 133;
545 pub const FUTEX_LOCK_PI_PRIVATE: u32 = 134;
546 pub const FUTEX_LOCK_PI2_PRIVATE: u32 = 141;
547 pub const FUTEX_UNLOCK_PI_PRIVATE: u32 = 135;
548 pub const FUTEX_TRYLOCK_PI_PRIVATE: u32 = 136;
549 pub const FUTEX_WAIT_BITSET_PRIVATE: u32 = 137;
550 pub const FUTEX_WAKE_BITSET_PRIVATE: u32 = 138;
551 pub const FUTEX_WAIT_REQUEUE_PI_PRIVATE: u32 = 139;
552 pub const FUTEX_CMP_REQUEUE_PI_PRIVATE: u32 = 140;
553 pub const FUTEX_32: u32 = 2;
554 pub const FUTEX_WAITV_MAX: u32 = 128;
555 pub const FUTEX_WAITERS: u32 = 2147483648;
556 pub const FUTEX_OWNER_DIED: u32 = 1073741824;
557 pub const FUTEX_TID_MASK: u32 = 1073741823;
558 pub const ROBUST_LIST_LIMIT: u32 = 2048;
559 pub const FUTEX_BITSET_MATCH_ANY: u32 = 4294967295;
560 pub const FUTEX_OP_SET: u32 = 0;
561 pub const FUTEX_OP_ADD: u32 = 1;
562 pub const FUTEX_OP_OR: u32 = 2;
563 pub const FUTEX_OP_ANDN: u32 = 3;
564 pub const FUTEX_OP_XOR: u32 = 4;
565 pub const FUTEX_OP_OPARG_SHIFT: u32 = 8;
566 pub const FUTEX_OP_CMP_EQ: u32 = 0;
567 pub const FUTEX_OP_CMP_NE: u32 = 1;
568 pub const FUTEX_OP_CMP_LT: u32 = 2;
569 pub const FUTEX_OP_CMP_LE: u32 = 3;
570 pub const FUTEX_OP_CMP_GT: u32 = 4;
571 pub const FUTEX_OP_CMP_GE: u32 = 5;
572 pub const __UAPI_DEF_IF_IFCONF: u32 = 1;
573 pub const __UAPI_DEF_IF_IFMAP: u32 = 1;
574 pub const __UAPI_DEF_IF_IFNAMSIZ: u32 = 1;
575 pub const __UAPI_DEF_IF_IFREQ: u32 = 1;
576 pub const __UAPI_DEF_IF_NET_DEVICE_FLAGS: u32 = 1;
577 pub const __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO: u32 = 1;
578 pub const __UAPI_DEF_IN_ADDR: u32 = 1;
579 pub const __UAPI_DEF_IN_IPPROTO: u32 = 1;
580 pub const __UAPI_DEF_IN_PKTINFO: u32 = 1;
581 pub const __UAPI_DEF_IP_MREQ: u32 = 1;
582 pub const __UAPI_DEF_SOCKADDR_IN: u32 = 1;
583 pub const __UAPI_DEF_IN_CLASS: u32 = 1;
584 pub const __UAPI_DEF_IN6_ADDR: u32 = 1;
585 pub const __UAPI_DEF_IN6_ADDR_ALT: u32 = 1;
586 pub const __UAPI_DEF_SOCKADDR_IN6: u32 = 1;
587 pub const __UAPI_DEF_IPV6_MREQ: u32 = 1;
588 pub const __UAPI_DEF_IPPROTO_V6: u32 = 1;
589 pub const __UAPI_DEF_IPV6_OPTIONS: u32 = 1;
590 pub const __UAPI_DEF_IN6_PKTINFO: u32 = 1;
591 pub const __UAPI_DEF_IP6_MTUINFO: u32 = 1;
592 pub const __UAPI_DEF_SOCKADDR_IPX: u32 = 1;
593 pub const __UAPI_DEF_IPX_ROUTE_DEFINITION: u32 = 1;
594 pub const __UAPI_DEF_IPX_INTERFACE_DEFINITION: u32 = 1;
595 pub const __UAPI_DEF_IPX_CONFIG_DATA: u32 = 1;
596 pub const __UAPI_DEF_IPX_ROUTE_DEF: u32 = 1;
597 pub const __UAPI_DEF_XATTR: u32 = 1;
598 pub const _K_SS_MAXSIZE: u32 = 128;
599 pub const SOCK_SNDBUF_LOCK: u32 = 1;
600 pub const SOCK_RCVBUF_LOCK: u32 = 2;
601 pub const SOCK_BUF_LOCK_MASK: u32 = 3;
602 pub const IP_TOS: u32 = 1;
603 pub const IP_TTL: u32 = 2;
604 pub const IP_HDRINCL: u32 = 3;
605 pub const IP_OPTIONS: u32 = 4;
606 pub const IP_ROUTER_ALERT: u32 = 5;
607 pub const IP_RECVOPTS: u32 = 6;
608 pub const IP_RETOPTS: u32 = 7;
609 pub const IP_PKTINFO: u32 = 8;
610 pub const IP_PKTOPTIONS: u32 = 9;
611 pub const IP_MTU_DISCOVER: u32 = 10;
612 pub const IP_RECVERR: u32 = 11;
613 pub const IP_RECVTTL: u32 = 12;
614 pub const IP_RECVTOS: u32 = 13;
615 pub const IP_MTU: u32 = 14;
616 pub const IP_FREEBIND: u32 = 15;
617 pub const IP_IPSEC_POLICY: u32 = 16;
618 pub const IP_XFRM_POLICY: u32 = 17;
619 pub const IP_PASSSEC: u32 = 18;
620 pub const IP_TRANSPARENT: u32 = 19;
621 pub const IP_RECVRETOPTS: u32 = 7;
622 pub const IP_ORIGDSTADDR: u32 = 20;
623 pub const IP_RECVORIGDSTADDR: u32 = 20;
624 pub const IP_MINTTL: u32 = 21;
625 pub const IP_NODEFRAG: u32 = 22;
626 pub const IP_CHECKSUM: u32 = 23;
627 pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24;
628 pub const IP_RECVFRAGSIZE: u32 = 25;
629 pub const IP_RECVERR_RFC4884: u32 = 26;
630 pub const IP_PMTUDISC_DONT: u32 = 0;
631 pub const IP_PMTUDISC_WANT: u32 = 1;
632 pub const IP_PMTUDISC_DO: u32 = 2;
633 pub const IP_PMTUDISC_PROBE: u32 = 3;
634 pub const IP_PMTUDISC_INTERFACE: u32 = 4;
635 pub const IP_PMTUDISC_OMIT: u32 = 5;
636 pub const IP_MULTICAST_IF: u32 = 32;
637 pub const IP_MULTICAST_TTL: u32 = 33;
638 pub const IP_MULTICAST_LOOP: u32 = 34;
639 pub const IP_ADD_MEMBERSHIP: u32 = 35;
640 pub const IP_DROP_MEMBERSHIP: u32 = 36;
641 pub const IP_UNBLOCK_SOURCE: u32 = 37;
642 pub const IP_BLOCK_SOURCE: u32 = 38;
643 pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39;
644 pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40;
645 pub const IP_MSFILTER: u32 = 41;
646 pub const MCAST_JOIN_GROUP: u32 = 42;
647 pub const MCAST_BLOCK_SOURCE: u32 = 43;
648 pub const MCAST_UNBLOCK_SOURCE: u32 = 44;
649 pub const MCAST_LEAVE_GROUP: u32 = 45;
650 pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46;
651 pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47;
652 pub const MCAST_MSFILTER: u32 = 48;
653 pub const IP_MULTICAST_ALL: u32 = 49;
654 pub const IP_UNICAST_IF: u32 = 50;
655 pub const MCAST_EXCLUDE: u32 = 0;
656 pub const MCAST_INCLUDE: u32 = 1;
657 pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1;
658 pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1;
659 pub const __SOCK_SIZE__: u32 = 16;
660 pub const IN_CLASSA_NET: u32 = 4278190080;
661 pub const IN_CLASSA_NSHIFT: u32 = 24;
662 pub const IN_CLASSA_HOST: u32 = 16777215;
663 pub const IN_CLASSA_MAX: u32 = 128;
664 pub const IN_CLASSB_NET: u32 = 4294901760;
665 pub const IN_CLASSB_NSHIFT: u32 = 16;
666 pub const IN_CLASSB_HOST: u32 = 65535;
667 pub const IN_CLASSB_MAX: u32 = 65536;
668 pub const IN_CLASSC_NET: u32 = 4294967040;
669 pub const IN_CLASSC_NSHIFT: u32 = 8;
670 pub const IN_CLASSC_HOST: u32 = 255;
671 pub const IN_MULTICAST_NET: u32 = 3758096384;
672 pub const IN_CLASSE_NET: u32 = 4294967295;
673 pub const IN_CLASSE_NSHIFT: u32 = 0;
674 pub const IN_LOOPBACKNET: u32 = 127;
675 pub const INADDR_LOOPBACK: u32 = 2130706433;
676 pub const INADDR_UNSPEC_GROUP: u32 = 3758096384;
677 pub const INADDR_ALLHOSTS_GROUP: u32 = 3758096385;
678 pub const INADDR_ALLRTRS_GROUP: u32 = 3758096386;
679 pub const INADDR_ALLSNOOPERS_GROUP: u32 = 3758096490;
680 pub const INADDR_MAX_LOCAL_GROUP: u32 = 3758096639;
681 pub const __BIG_ENDIAN: u32 = 4321;
682 pub const ASI_NULL1: u32 = 0;
683 pub const ASI_NULL2: u32 = 1;
684 pub const ASI_CONTROL: u32 = 2;
685 pub const ASI_SEGMAP: u32 = 3;
686 pub const ASI_PTE: u32 = 4;
687 pub const ASI_HWFLUSHSEG: u32 = 5;
688 pub const ASI_HWFLUSHPAGE: u32 = 6;
689 pub const ASI_REGMAP: u32 = 6;
690 pub const ASI_HWFLUSHCONTEXT: u32 = 7;
691 pub const ASI_USERTXT: u32 = 8;
692 pub const ASI_KERNELTXT: u32 = 9;
693 pub const ASI_USERDATA: u32 = 10;
694 pub const ASI_KERNELDATA: u32 = 11;
695 pub const ASI_FLUSHSEG: u32 = 12;
696 pub const ASI_FLUSHPG: u32 = 13;
697 pub const ASI_FLUSHCTX: u32 = 14;
698 pub const ASI_M_RES00: u32 = 0;
699 pub const ASI_M_UNA01: u32 = 1;
700 pub const ASI_M_MXCC: u32 = 2;
701 pub const ASI_M_FLUSH_PROBE: u32 = 3;
702 pub const ASI_M_MMUREGS: u32 = 4;
703 pub const ASI_M_TLBDIAG: u32 = 5;
704 pub const ASI_M_DIAGS: u32 = 6;
705 pub const ASI_M_IODIAG: u32 = 7;
706 pub const ASI_M_USERTXT: u32 = 8;
707 pub const ASI_M_KERNELTXT: u32 = 9;
708 pub const ASI_M_USERDATA: u32 = 10;
709 pub const ASI_M_KERNELDATA: u32 = 11;
710 pub const ASI_M_TXTC_TAG: u32 = 12;
711 pub const ASI_M_TXTC_DATA: u32 = 13;
712 pub const ASI_M_DATAC_TAG: u32 = 14;
713 pub const ASI_M_DATAC_DATA: u32 = 15;
714 pub const ASI_M_FLUSH_PAGE: u32 = 16;
715 pub const ASI_M_FLUSH_SEG: u32 = 17;
716 pub const ASI_M_FLUSH_REGION: u32 = 18;
717 pub const ASI_M_FLUSH_CTX: u32 = 19;
718 pub const ASI_M_FLUSH_USER: u32 = 20;
719 pub const ASI_M_BCOPY: u32 = 23;
720 pub const ASI_M_IFLUSH_PAGE: u32 = 24;
721 pub const ASI_M_IFLUSH_SEG: u32 = 25;
722 pub const ASI_M_IFLUSH_REGION: u32 = 26;
723 pub const ASI_M_IFLUSH_CTX: u32 = 27;
724 pub const ASI_M_IFLUSH_USER: u32 = 28;
725 pub const ASI_M_BFILL: u32 = 31;
726 pub const ASI_M_BYPASS: u32 = 32;
727 pub const ASI_M_FBMEM: u32 = 41;
728 pub const ASI_M_VMEUS: u32 = 42;
729 pub const ASI_M_VMEPS: u32 = 43;
730 pub const ASI_M_VMEUT: u32 = 44;
731 pub const ASI_M_VMEPT: u32 = 45;
732 pub const ASI_M_SBUS: u32 = 46;
733 pub const ASI_M_CTL: u32 = 47;
734 pub const ASI_M_FLUSH_IWHOLE: u32 = 49;
735 pub const ASI_M_IC_FLCLEAR: u32 = 54;
736 pub const ASI_M_DC_FLCLEAR: u32 = 55;
737 pub const ASI_M_DCDR: u32 = 57;
738 pub const ASI_M_VIKING_TMP1: u32 = 64;
739 pub const ASI_M_ACTION: u32 = 76;
740 pub const ASI_LEON_NOCACHE: u32 = 1;
741 pub const ASI_LEON_DCACHE_MISS: u32 = 1;
742 pub const ASI_LEON_CACHEREGS: u32 = 2;
743 pub const ASI_LEON_IFLUSH: u32 = 16;
744 pub const ASI_LEON_DFLUSH: u32 = 17;
745 pub const ASI_LEON_MMUFLUSH: u32 = 24;
746 pub const ASI_LEON_MMUREGS: u32 = 25;
747 pub const ASI_LEON_BYPASS: u32 = 28;
748 pub const ASI_LEON_FLUSH_PAGE: u32 = 16;
749 pub const ASI_N: u32 = 4;
750 pub const ASI_NL: u32 = 12;
751 pub const ASI_AIUP: u32 = 16;
752 pub const ASI_AIUS: u32 = 17;
753 pub const ASI_AIUPL: u32 = 24;
754 pub const ASI_AIUSL: u32 = 25;
755 pub const ASI_P: u32 = 128;
756 pub const ASI_S: u32 = 129;
757 pub const ASI_PNF: u32 = 130;
758 pub const ASI_SNF: u32 = 131;
759 pub const ASI_PL: u32 = 136;
760 pub const ASI_SL: u32 = 137;
761 pub const ASI_PNFL: u32 = 138;
762 pub const ASI_SNFL: u32 = 139;
763 pub const ASI_MCD_PRIV_PRIMARY: u32 = 2;
764 pub const ASI_MCD_REAL: u32 = 5;
765 pub const ASI_PHYS_USE_EC: u32 = 20;
766 pub const ASI_PHYS_BYPASS_EC_E: u32 = 21;
767 pub const ASI_BLK_AIUP_4V: u32 = 22;
768 pub const ASI_BLK_AIUS_4V: u32 = 23;
769 pub const ASI_PHYS_USE_EC_L: u32 = 28;
770 pub const ASI_PHYS_BYPASS_EC_E_L: u32 = 29;
771 pub const ASI_BLK_AIUP_L_4V: u32 = 30;
772 pub const ASI_BLK_AIUS_L_4V: u32 = 31;
773 pub const ASI_SCRATCHPAD: u32 = 32;
774 pub const ASI_MMU: u32 = 33;
775 pub const ASI_BLK_INIT_QUAD_LDD_AIUS: u32 = 35;
776 pub const ASI_NUCLEUS_QUAD_LDD: u32 = 36;
777 pub const ASI_QUEUE: u32 = 37;
778 pub const ASI_QUAD_LDD_PHYS_4V: u32 = 38;
779 pub const ASI_NUCLEUS_QUAD_LDD_L: u32 = 44;
780 pub const ASI_QUAD_LDD_PHYS_L_4V: u32 = 46;
781 pub const ASI_PCACHE_DATA_STATUS: u32 = 48;
782 pub const ASI_PCACHE_DATA: u32 = 49;
783 pub const ASI_PCACHE_TAG: u32 = 50;
784 pub const ASI_PCACHE_SNOOP_TAG: u32 = 51;
785 pub const ASI_QUAD_LDD_PHYS: u32 = 52;
786 pub const ASI_WCACHE_VALID_BITS: u32 = 56;
787 pub const ASI_WCACHE_DATA: u32 = 57;
788 pub const ASI_WCACHE_TAG: u32 = 58;
789 pub const ASI_WCACHE_SNOOP_TAG: u32 = 59;
790 pub const ASI_QUAD_LDD_PHYS_L: u32 = 60;
791 pub const ASI_SRAM_FAST_INIT: u32 = 64;
792 pub const ASI_CORE_AVAILABLE: u32 = 65;
793 pub const ASI_CORE_ENABLE_STAT: u32 = 65;
794 pub const ASI_CORE_ENABLE: u32 = 65;
795 pub const ASI_XIR_STEERING: u32 = 65;
796 pub const ASI_CORE_RUNNING_RW: u32 = 65;
797 pub const ASI_CORE_RUNNING_W1S: u32 = 65;
798 pub const ASI_CORE_RUNNING_W1C: u32 = 65;
799 pub const ASI_CORE_RUNNING_STAT: u32 = 65;
800 pub const ASI_CMT_ERROR_STEERING: u32 = 65;
801 pub const ASI_DCACHE_INVALIDATE: u32 = 66;
802 pub const ASI_DCACHE_UTAG: u32 = 67;
803 pub const ASI_DCACHE_SNOOP_TAG: u32 = 68;
804 pub const ASI_LSU_CONTROL: u32 = 69;
805 pub const ASI_DCU_CONTROL_REG: u32 = 69;
806 pub const ASI_DCACHE_DATA: u32 = 70;
807 pub const ASI_DCACHE_TAG: u32 = 71;
808 pub const ASI_INTR_DISPATCH_STAT: u32 = 72;
809 pub const ASI_INTR_RECEIVE: u32 = 73;
810 pub const ASI_UPA_CONFIG: u32 = 74;
811 pub const ASI_JBUS_CONFIG: u32 = 74;
812 pub const ASI_SAFARI_CONFIG: u32 = 74;
813 pub const ASI_SAFARI_ADDRESS: u32 = 74;
814 pub const ASI_ESTATE_ERROR_EN: u32 = 75;
815 pub const ASI_AFSR: u32 = 76;
816 pub const ASI_AFAR: u32 = 77;
817 pub const ASI_EC_TAG_DATA: u32 = 78;
818 pub const ASI_IMMU: u32 = 80;
819 pub const ASI_IMMU_TSB_8KB_PTR: u32 = 81;
820 pub const ASI_IMMU_TSB_64KB_PTR: u32 = 82;
821 pub const ASI_ITLB_DATA_IN: u32 = 84;
822 pub const ASI_ITLB_DATA_ACCESS: u32 = 85;
823 pub const ASI_ITLB_TAG_READ: u32 = 86;
824 pub const ASI_IMMU_DEMAP: u32 = 87;
825 pub const ASI_DMMU: u32 = 88;
826 pub const ASI_DMMU_TSB_8KB_PTR: u32 = 89;
827 pub const ASI_DMMU_TSB_64KB_PTR: u32 = 90;
828 pub const ASI_DMMU_TSB_DIRECT_PTR: u32 = 91;
829 pub const ASI_DTLB_DATA_IN: u32 = 92;
830 pub const ASI_DTLB_DATA_ACCESS: u32 = 93;
831 pub const ASI_DTLB_TAG_READ: u32 = 94;
832 pub const ASI_DMMU_DEMAP: u32 = 95;
833 pub const ASI_IIU_INST_TRAP: u32 = 96;
834 pub const ASI_INTR_ID: u32 = 99;
835 pub const ASI_CORE_ID: u32 = 99;
836 pub const ASI_CESR_ID: u32 = 99;
837 pub const ASI_IC_INSTR: u32 = 102;
838 pub const ASI_IC_TAG: u32 = 103;
839 pub const ASI_IC_STAG: u32 = 104;
840 pub const ASI_IC_PRE_DECODE: u32 = 110;
841 pub const ASI_IC_NEXT_FIELD: u32 = 111;
842 pub const ASI_BRPRED_ARRAY: u32 = 111;
843 pub const ASI_BLK_AIUP: u32 = 112;
844 pub const ASI_BLK_AIUS: u32 = 113;
845 pub const ASI_MCU_CTRL_REG: u32 = 114;
846 pub const ASI_EC_DATA: u32 = 116;
847 pub const ASI_EC_CTRL: u32 = 117;
848 pub const ASI_EC_W: u32 = 118;
849 pub const ASI_UDB_ERROR_W: u32 = 119;
850 pub const ASI_UDB_CONTROL_W: u32 = 119;
851 pub const ASI_INTR_W: u32 = 119;
852 pub const ASI_INTR_DATAN_W: u32 = 119;
853 pub const ASI_INTR_DISPATCH_W: u32 = 119;
854 pub const ASI_BLK_AIUPL: u32 = 120;
855 pub const ASI_BLK_AIUSL: u32 = 121;
856 pub const ASI_EC_R: u32 = 126;
857 pub const ASI_UDBH_ERROR_R: u32 = 127;
858 pub const ASI_UDBL_ERROR_R: u32 = 127;
859 pub const ASI_UDBH_CONTROL_R: u32 = 127;
860 pub const ASI_UDBL_CONTROL_R: u32 = 127;
861 pub const ASI_INTR_R: u32 = 127;
862 pub const ASI_INTR_DATAN_R: u32 = 127;
863 pub const ASI_MCD_PRIMARY: u32 = 144;
864 pub const ASI_MCD_ST_BLKINIT_PRIMARY: u32 = 146;
865 pub const ASI_PIC: u32 = 176;
866 pub const ASI_PST8_P: u32 = 192;
867 pub const ASI_PST8_S: u32 = 193;
868 pub const ASI_PST16_P: u32 = 194;
869 pub const ASI_PST16_S: u32 = 195;
870 pub const ASI_PST32_P: u32 = 196;
871 pub const ASI_PST32_S: u32 = 197;
872 pub const ASI_PST8_PL: u32 = 200;
873 pub const ASI_PST8_SL: u32 = 201;
874 pub const ASI_PST16_PL: u32 = 202;
875 pub const ASI_PST16_SL: u32 = 203;
876 pub const ASI_PST32_PL: u32 = 204;
877 pub const ASI_PST32_SL: u32 = 205;
878 pub const ASI_FL8_P: u32 = 208;
879 pub const ASI_FL8_S: u32 = 209;
880 pub const ASI_FL16_P: u32 = 210;
881 pub const ASI_FL16_S: u32 = 211;
882 pub const ASI_FL8_PL: u32 = 216;
883 pub const ASI_FL8_SL: u32 = 217;
884 pub const ASI_FL16_PL: u32 = 218;
885 pub const ASI_FL16_SL: u32 = 219;
886 pub const ASI_BLK_COMMIT_P: u32 = 224;
887 pub const ASI_BLK_COMMIT_S: u32 = 225;
888 pub const ASI_BLK_INIT_QUAD_LDD_P: u32 = 226;
889 pub const ASI_BLK_INIT_QUAD_LDD_S: u32 = 227;
890 pub const ASI_BLK_P: u32 = 240;
891 pub const ASI_BLK_S: u32 = 241;
892 pub const ASI_ST_BLKINIT_MRU_P: u32 = 242;
893 pub const ASI_ST_BLKINIT_MRU_S: u32 = 243;
894 pub const ASI_BLK_PL: u32 = 248;
895 pub const ASI_BLK_SL: u32 = 249;
896 pub const ASI_ST_BLKINIT_MRU_PL: u32 = 250;
897 pub const ASI_ST_BLKINIT_MRU_SL: u32 = 251;
898 pub const IN_ACCESS: u32 = 1;
899 pub const IN_MODIFY: u32 = 2;
900 pub const IN_ATTRIB: u32 = 4;
901 pub const IN_CLOSE_WRITE: u32 = 8;
902 pub const IN_CLOSE_NOWRITE: u32 = 16;
903 pub const IN_OPEN: u32 = 32;
904 pub const IN_MOVED_FROM: u32 = 64;
905 pub const IN_MOVED_TO: u32 = 128;
906 pub const IN_CREATE: u32 = 256;
907 pub const IN_DELETE: u32 = 512;
908 pub const IN_DELETE_SELF: u32 = 1024;
909 pub const IN_MOVE_SELF: u32 = 2048;
910 pub const IN_UNMOUNT: u32 = 8192;
911 pub const IN_Q_OVERFLOW: u32 = 16384;
912 pub const IN_IGNORED: u32 = 32768;
913 pub const IN_CLOSE: u32 = 24;
914 pub const IN_MOVE: u32 = 192;
915 pub const IN_ONLYDIR: u32 = 16777216;
916 pub const IN_DONT_FOLLOW: u32 = 33554432;
917 pub const IN_EXCL_UNLINK: u32 = 67108864;
918 pub const IN_MASK_CREATE: u32 = 268435456;
919 pub const IN_MASK_ADD: u32 = 536870912;
920 pub const IN_ISDIR: u32 = 1073741824;
921 pub const IN_ONESHOT: u32 = 2147483648;
922 pub const IN_ALL_EVENTS: u32 = 4095;
923 pub const IN_CLOEXEC: u32 = 4194304;
924 pub const IN_NONBLOCK: u32 = 16384;
925 pub const IPTOS_TOS_MASK: u32 = 30;
926 pub const IPTOS_LOWDELAY: u32 = 16;
927 pub const IPTOS_THROUGHPUT: u32 = 8;
928 pub const IPTOS_RELIABILITY: u32 = 4;
929 pub const IPTOS_MINCOST: u32 = 2;
930 pub const IPTOS_PREC_MASK: u32 = 224;
931 pub const IPTOS_PREC_NETCONTROL: u32 = 224;
932 pub const IPTOS_PREC_INTERNETCONTROL: u32 = 192;
933 pub const IPTOS_PREC_CRITIC_ECP: u32 = 160;
934 pub const IPTOS_PREC_FLASHOVERRIDE: u32 = 128;
935 pub const IPTOS_PREC_FLASH: u32 = 96;
936 pub const IPTOS_PREC_IMMEDIATE: u32 = 64;
937 pub const IPTOS_PREC_PRIORITY: u32 = 32;
938 pub const IPTOS_PREC_ROUTINE: u32 = 0;
939 pub const IPOPT_COPY: u32 = 128;
940 pub const IPOPT_CLASS_MASK: u32 = 96;
941 pub const IPOPT_NUMBER_MASK: u32 = 31;
942 pub const IPOPT_CONTROL: u32 = 0;
943 pub const IPOPT_RESERVED1: u32 = 32;
944 pub const IPOPT_MEASUREMENT: u32 = 64;
945 pub const IPOPT_RESERVED2: u32 = 96;
946 pub const IPOPT_END: u32 = 0;
947 pub const IPOPT_NOOP: u32 = 1;
948 pub const IPOPT_SEC: u32 = 130;
949 pub const IPOPT_LSRR: u32 = 131;
950 pub const IPOPT_TIMESTAMP: u32 = 68;
951 pub const IPOPT_CIPSO: u32 = 134;
952 pub const IPOPT_RR: u32 = 7;
953 pub const IPOPT_SID: u32 = 136;
954 pub const IPOPT_SSRR: u32 = 137;
955 pub const IPOPT_RA: u32 = 148;
956 pub const IPVERSION: u32 = 4;
957 pub const MAXTTL: u32 = 255;
958 pub const IPDEFTTL: u32 = 64;
959 pub const IPOPT_OPTVAL: u32 = 0;
960 pub const IPOPT_OLEN: u32 = 1;
961 pub const IPOPT_OFFSET: u32 = 2;
962 pub const IPOPT_MINOFF: u32 = 4;
963 pub const MAX_IPOPTLEN: u32 = 40;
964 pub const IPOPT_NOP: u32 = 1;
965 pub const IPOPT_EOL: u32 = 0;
966 pub const IPOPT_TS: u32 = 68;
967 pub const IPOPT_TS_TSONLY: u32 = 0;
968 pub const IPOPT_TS_TSANDADDR: u32 = 1;
969 pub const IPOPT_TS_PRESPEC: u32 = 3;
970 pub const IPV4_BEET_PHMAXLEN: u32 = 8;
971 pub const IPV6_FL_A_GET: u32 = 0;
972 pub const IPV6_FL_A_PUT: u32 = 1;
973 pub const IPV6_FL_A_RENEW: u32 = 2;
974 pub const IPV6_FL_F_CREATE: u32 = 1;
975 pub const IPV6_FL_F_EXCL: u32 = 2;
976 pub const IPV6_FL_F_REFLECT: u32 = 4;
977 pub const IPV6_FL_F_REMOTE: u32 = 8;
978 pub const IPV6_FL_S_NONE: u32 = 0;
979 pub const IPV6_FL_S_EXCL: u32 = 1;
980 pub const IPV6_FL_S_PROCESS: u32 = 2;
981 pub const IPV6_FL_S_USER: u32 = 3;
982 pub const IPV6_FL_S_ANY: u32 = 255;
983 pub const IPV6_FLOWINFO_FLOWLABEL: u32 = 1048575;
984 pub const IPV6_FLOWINFO_PRIORITY: u32 = 267386880;
985 pub const IPV6_PRIORITY_UNCHARACTERIZED: u32 = 0;
986 pub const IPV6_PRIORITY_FILLER: u32 = 256;
987 pub const IPV6_PRIORITY_UNATTENDED: u32 = 512;
988 pub const IPV6_PRIORITY_RESERVED1: u32 = 768;
989 pub const IPV6_PRIORITY_BULK: u32 = 1024;
990 pub const IPV6_PRIORITY_RESERVED2: u32 = 1280;
991 pub const IPV6_PRIORITY_INTERACTIVE: u32 = 1536;
992 pub const IPV6_PRIORITY_CONTROL: u32 = 1792;
993 pub const IPV6_PRIORITY_8: u32 = 2048;
994 pub const IPV6_PRIORITY_9: u32 = 2304;
995 pub const IPV6_PRIORITY_10: u32 = 2560;
996 pub const IPV6_PRIORITY_11: u32 = 2816;
997 pub const IPV6_PRIORITY_12: u32 = 3072;
998 pub const IPV6_PRIORITY_13: u32 = 3328;
999 pub const IPV6_PRIORITY_14: u32 = 3584;
1000 pub const IPV6_PRIORITY_15: u32 = 3840;
1001 pub const IPPROTO_HOPOPTS: u32 = 0;
1002 pub const IPPROTO_ROUTING: u32 = 43;
1003 pub const IPPROTO_FRAGMENT: u32 = 44;
1004 pub const IPPROTO_ICMPV6: u32 = 58;
1005 pub const IPPROTO_NONE: u32 = 59;
1006 pub const IPPROTO_DSTOPTS: u32 = 60;
1007 pub const IPPROTO_MH: u32 = 135;
1008 pub const IPV6_TLV_PAD1: u32 = 0;
1009 pub const IPV6_TLV_PADN: u32 = 1;
1010 pub const IPV6_TLV_ROUTERALERT: u32 = 5;
1011 pub const IPV6_TLV_CALIPSO: u32 = 7;
1012 pub const IPV6_TLV_IOAM: u32 = 49;
1013 pub const IPV6_TLV_JUMBO: u32 = 194;
1014 pub const IPV6_TLV_HAO: u32 = 201;
1015 pub const IPV6_ADDRFORM: u32 = 1;
1016 pub const IPV6_2292PKTINFO: u32 = 2;
1017 pub const IPV6_2292HOPOPTS: u32 = 3;
1018 pub const IPV6_2292DSTOPTS: u32 = 4;
1019 pub const IPV6_2292RTHDR: u32 = 5;
1020 pub const IPV6_2292PKTOPTIONS: u32 = 6;
1021 pub const IPV6_CHECKSUM: u32 = 7;
1022 pub const IPV6_2292HOPLIMIT: u32 = 8;
1023 pub const IPV6_NEXTHOP: u32 = 9;
1024 pub const IPV6_AUTHHDR: u32 = 10;
1025 pub const IPV6_FLOWINFO: u32 = 11;
1026 pub const IPV6_UNICAST_HOPS: u32 = 16;
1027 pub const IPV6_MULTICAST_IF: u32 = 17;
1028 pub const IPV6_MULTICAST_HOPS: u32 = 18;
1029 pub const IPV6_MULTICAST_LOOP: u32 = 19;
1030 pub const IPV6_ADD_MEMBERSHIP: u32 = 20;
1031 pub const IPV6_DROP_MEMBERSHIP: u32 = 21;
1032 pub const IPV6_ROUTER_ALERT: u32 = 22;
1033 pub const IPV6_MTU_DISCOVER: u32 = 23;
1034 pub const IPV6_MTU: u32 = 24;
1035 pub const IPV6_RECVERR: u32 = 25;
1036 pub const IPV6_V6ONLY: u32 = 26;
1037 pub const IPV6_JOIN_ANYCAST: u32 = 27;
1038 pub const IPV6_LEAVE_ANYCAST: u32 = 28;
1039 pub const IPV6_MULTICAST_ALL: u32 = 29;
1040 pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30;
1041 pub const IPV6_RECVERR_RFC4884: u32 = 31;
1042 pub const IPV6_PMTUDISC_DONT: u32 = 0;
1043 pub const IPV6_PMTUDISC_WANT: u32 = 1;
1044 pub const IPV6_PMTUDISC_DO: u32 = 2;
1045 pub const IPV6_PMTUDISC_PROBE: u32 = 3;
1046 pub const IPV6_PMTUDISC_INTERFACE: u32 = 4;
1047 pub const IPV6_PMTUDISC_OMIT: u32 = 5;
1048 pub const IPV6_FLOWLABEL_MGR: u32 = 32;
1049 pub const IPV6_FLOWINFO_SEND: u32 = 33;
1050 pub const IPV6_IPSEC_POLICY: u32 = 34;
1051 pub const IPV6_XFRM_POLICY: u32 = 35;
1052 pub const IPV6_HDRINCL: u32 = 36;
1053 pub const IPV6_RECVPKTINFO: u32 = 49;
1054 pub const IPV6_PKTINFO: u32 = 50;
1055 pub const IPV6_RECVHOPLIMIT: u32 = 51;
1056 pub const IPV6_HOPLIMIT: u32 = 52;
1057 pub const IPV6_RECVHOPOPTS: u32 = 53;
1058 pub const IPV6_HOPOPTS: u32 = 54;
1059 pub const IPV6_RTHDRDSTOPTS: u32 = 55;
1060 pub const IPV6_RECVRTHDR: u32 = 56;
1061 pub const IPV6_RTHDR: u32 = 57;
1062 pub const IPV6_RECVDSTOPTS: u32 = 58;
1063 pub const IPV6_DSTOPTS: u32 = 59;
1064 pub const IPV6_RECVPATHMTU: u32 = 60;
1065 pub const IPV6_PATHMTU: u32 = 61;
1066 pub const IPV6_DONTFRAG: u32 = 62;
1067 pub const IPV6_RECVTCLASS: u32 = 66;
1068 pub const IPV6_TCLASS: u32 = 67;
1069 pub const IPV6_AUTOFLOWLABEL: u32 = 70;
1070 pub const IPV6_ADDR_PREFERENCES: u32 = 72;
1071 pub const IPV6_PREFER_SRC_TMP: u32 = 1;
1072 pub const IPV6_PREFER_SRC_PUBLIC: u32 = 2;
1073 pub const IPV6_PREFER_SRC_PUBTMP_DEFAULT: u32 = 256;
1074 pub const IPV6_PREFER_SRC_COA: u32 = 4;
1075 pub const IPV6_PREFER_SRC_HOME: u32 = 1024;
1076 pub const IPV6_PREFER_SRC_CGA: u32 = 8;
1077 pub const IPV6_PREFER_SRC_NONCGA: u32 = 2048;
1078 pub const IPV6_MINHOPCOUNT: u32 = 73;
1079 pub const IPV6_ORIGDSTADDR: u32 = 74;
1080 pub const IPV6_RECVORIGDSTADDR: u32 = 74;
1081 pub const IPV6_TRANSPARENT: u32 = 75;
1082 pub const IPV6_UNICAST_IF: u32 = 76;
1083 pub const IPV6_RECVFRAGSIZE: u32 = 77;
1084 pub const IPV6_FREEBIND: u32 = 78;
1085 pub const IPV6_MIN_MTU: u32 = 1280;
1086 pub const IPV6_SRCRT_STRICT: u32 = 1;
1087 pub const IPV6_SRCRT_TYPE_0: u32 = 0;
1088 pub const IPV6_SRCRT_TYPE_2: u32 = 2;
1089 pub const IPV6_SRCRT_TYPE_3: u32 = 3;
1090 pub const IPV6_SRCRT_TYPE_4: u32 = 4;
1091 pub const IPV6_OPT_ROUTERALERT_MLD: u32 = 0;
1092 pub const ADFS_SUPER_MAGIC: u32 = 44533;
1093 pub const AFFS_SUPER_MAGIC: u32 = 44543;
1094 pub const AFS_SUPER_MAGIC: u32 = 1397113167;
1095 pub const AUTOFS_SUPER_MAGIC: u32 = 391;
1096 pub const CEPH_SUPER_MAGIC: u32 = 12805120;
1097 pub const CODA_SUPER_MAGIC: u32 = 1937076805;
1098 pub const CRAMFS_MAGIC: u32 = 684539205;
1099 pub const CRAMFS_MAGIC_WEND: u32 = 1161678120;
1100 pub const DEBUGFS_MAGIC: u32 = 1684170528;
1101 pub const SECURITYFS_MAGIC: u32 = 1935894131;
1102 pub const SELINUX_MAGIC: u32 = 4185718668;
1103 pub const SMACK_MAGIC: u32 = 1128357203;
1104 pub const RAMFS_MAGIC: u32 = 2240043254;
1105 pub const TMPFS_MAGIC: u32 = 16914836;
1106 pub const HUGETLBFS_MAGIC: u32 = 2508478710;
1107 pub const SQUASHFS_MAGIC: u32 = 1936814952;
1108 pub const ECRYPTFS_SUPER_MAGIC: u32 = 61791;
1109 pub const EFS_SUPER_MAGIC: u32 = 4278867;
1110 pub const EROFS_SUPER_MAGIC_V1: u32 = 3774210530;
1111 pub const EXT2_SUPER_MAGIC: u32 = 61267;
1112 pub const EXT3_SUPER_MAGIC: u32 = 61267;
1113 pub const XENFS_SUPER_MAGIC: u32 = 2881100148;
1114 pub const EXT4_SUPER_MAGIC: u32 = 61267;
1115 pub const BTRFS_SUPER_MAGIC: u32 = 2435016766;
1116 pub const NILFS_SUPER_MAGIC: u32 = 13364;
1117 pub const F2FS_SUPER_MAGIC: u32 = 4076150800;
1118 pub const HPFS_SUPER_MAGIC: u32 = 4187351113;
1119 pub const ISOFS_SUPER_MAGIC: u32 = 38496;
1120 pub const JFFS2_SUPER_MAGIC: u32 = 29366;
1121 pub const XFS_SUPER_MAGIC: u32 = 1481003842;
1122 pub const PSTOREFS_MAGIC: u32 = 1634035564;
1123 pub const EFIVARFS_MAGIC: u32 = 3730735588;
1124 pub const HOSTFS_SUPER_MAGIC: u32 = 12648430;
1125 pub const OVERLAYFS_SUPER_MAGIC: u32 = 2035054128;
1126 pub const FUSE_SUPER_MAGIC: u32 = 1702057286;
1127 pub const MINIX_SUPER_MAGIC: u32 = 4991;
1128 pub const MINIX_SUPER_MAGIC2: u32 = 5007;
1129 pub const MINIX2_SUPER_MAGIC: u32 = 9320;
1130 pub const MINIX2_SUPER_MAGIC2: u32 = 9336;
1131 pub const MINIX3_SUPER_MAGIC: u32 = 19802;
1132 pub const MSDOS_SUPER_MAGIC: u32 = 19780;
1133 pub const EXFAT_SUPER_MAGIC: u32 = 538032816;
1134 pub const NCP_SUPER_MAGIC: u32 = 22092;
1135 pub const NFS_SUPER_MAGIC: u32 = 26985;
1136 pub const OCFS2_SUPER_MAGIC: u32 = 1952539503;
1137 pub const OPENPROM_SUPER_MAGIC: u32 = 40865;
1138 pub const QNX4_SUPER_MAGIC: u32 = 47;
1139 pub const QNX6_SUPER_MAGIC: u32 = 1746473250;
1140 pub const AFS_FS_MAGIC: u32 = 1799439955;
1141 pub const REISERFS_SUPER_MAGIC: u32 = 1382369651;
1142 pub const REISERFS_SUPER_MAGIC_STRING: &[u8; 9usize] = b"ReIsErFs\0";
1143 pub const REISER2FS_SUPER_MAGIC_STRING: &[u8; 10usize] = b"ReIsEr2Fs\0";
1144 pub const REISER2FS_JR_SUPER_MAGIC_STRING: &[u8; 10usize] = b"ReIsEr3Fs\0";
1145 pub const SMB_SUPER_MAGIC: u32 = 20859;
1146 pub const CIFS_SUPER_MAGIC: u32 = 4283649346;
1147 pub const SMB2_SUPER_MAGIC: u32 = 4266872130;
1148 pub const CGROUP_SUPER_MAGIC: u32 = 2613483;
1149 pub const CGROUP2_SUPER_MAGIC: u32 = 1667723888;
1150 pub const RDTGROUP_SUPER_MAGIC: u32 = 124082209;
1151 pub const STACK_END_MAGIC: u32 = 1470918301;
1152 pub const TRACEFS_MAGIC: u32 = 1953653091;
1153 pub const V9FS_MAGIC: u32 = 16914839;
1154 pub const BDEVFS_MAGIC: u32 = 1650746742;
1155 pub const DAXFS_MAGIC: u32 = 1684300152;
1156 pub const BINFMTFS_MAGIC: u32 = 1112100429;
1157 pub const DEVPTS_SUPER_MAGIC: u32 = 7377;
1158 pub const BINDERFS_SUPER_MAGIC: u32 = 1819242352;
1159 pub const FUTEXFS_SUPER_MAGIC: u32 = 195894762;
1160 pub const PIPEFS_MAGIC: u32 = 1346981957;
1161 pub const PROC_SUPER_MAGIC: u32 = 40864;
1162 pub const SOCKFS_MAGIC: u32 = 1397703499;
1163 pub const SYSFS_MAGIC: u32 = 1650812274;
1164 pub const USBDEVICE_SUPER_MAGIC: u32 = 40866;
1165 pub const MTD_INODE_FS_MAGIC: u32 = 288389204;
1166 pub const ANON_INODE_FS_MAGIC: u32 = 151263540;
1167 pub const BTRFS_TEST_MAGIC: u32 = 1936880249;
1168 pub const NSFS_MAGIC: u32 = 1853056627;
1169 pub const BPF_FS_MAGIC: u32 = 3405662737;
1170 pub const AAFS_MAGIC: u32 = 1513908720;
1171 pub const ZONEFS_MAGIC: u32 = 1515144787;
1172 pub const UDF_SUPER_MAGIC: u32 = 352400198;
1173 pub const BALLOON_KVM_MAGIC: u32 = 325456742;
1174 pub const ZSMALLOC_MAGIC: u32 = 1479104553;
1175 pub const DMA_BUF_MAGIC: u32 = 1145913666;
1176 pub const DEVMEM_MAGIC: u32 = 1162691661;
1177 pub const Z3FOLD_MAGIC: u32 = 51;
1178 pub const PPC_CMM_MAGIC: u32 = 3344373136;
1179 pub const SECRETMEM_MAGIC: u32 = 1397048141;
1180 pub const PROT_READ: u32 = 1;
1181 pub const PROT_WRITE: u32 = 2;
1182 pub const PROT_EXEC: u32 = 4;
1183 pub const PROT_SEM: u32 = 8;
1184 pub const PROT_NONE: u32 = 0;
1185 pub const PROT_GROWSDOWN: u32 = 16777216;
1186 pub const PROT_GROWSUP: u32 = 33554432;
1187 pub const MAP_TYPE: u32 = 15;
1188 pub const MAP_FIXED: u32 = 16;
1189 pub const MAP_ANONYMOUS: u32 = 32;
1190 pub const MAP_POPULATE: u32 = 32768;
1191 pub const MAP_NONBLOCK: u32 = 65536;
1192 pub const MAP_STACK: u32 = 131072;
1193 pub const MAP_HUGETLB: u32 = 262144;
1194 pub const MAP_SYNC: u32 = 524288;
1195 pub const MAP_FIXED_NOREPLACE: u32 = 1048576;
1196 pub const MAP_UNINITIALIZED: u32 = 67108864;
1197 pub const MLOCK_ONFAULT: u32 = 1;
1198 pub const MS_ASYNC: u32 = 1;
1199 pub const MS_INVALIDATE: u32 = 2;
1200 pub const MS_SYNC: u32 = 4;
1201 pub const MADV_NORMAL: u32 = 0;
1202 pub const MADV_RANDOM: u32 = 1;
1203 pub const MADV_SEQUENTIAL: u32 = 2;
1204 pub const MADV_WILLNEED: u32 = 3;
1205 pub const MADV_DONTNEED: u32 = 4;
1206 pub const MADV_FREE: u32 = 8;
1207 pub const MADV_REMOVE: u32 = 9;
1208 pub const MADV_DONTFORK: u32 = 10;
1209 pub const MADV_DOFORK: u32 = 11;
1210 pub const MADV_HWPOISON: u32 = 100;
1211 pub const MADV_SOFT_OFFLINE: u32 = 101;
1212 pub const MADV_MERGEABLE: u32 = 12;
1213 pub const MADV_UNMERGEABLE: u32 = 13;
1214 pub const MADV_HUGEPAGE: u32 = 14;
1215 pub const MADV_NOHUGEPAGE: u32 = 15;
1216 pub const MADV_DONTDUMP: u32 = 16;
1217 pub const MADV_DODUMP: u32 = 17;
1218 pub const MADV_WIPEONFORK: u32 = 18;
1219 pub const MADV_KEEPONFORK: u32 = 19;
1220 pub const MADV_COLD: u32 = 20;
1221 pub const MADV_PAGEOUT: u32 = 21;
1222 pub const MADV_POPULATE_READ: u32 = 22;
1223 pub const MADV_POPULATE_WRITE: u32 = 23;
1224 pub const MAP_FILE: u32 = 0;
1225 pub const PKEY_DISABLE_ACCESS: u32 = 1;
1226 pub const PKEY_DISABLE_WRITE: u32 = 2;
1227 pub const PKEY_ACCESS_MASK: u32 = 3;
1228 pub const PROT_ADI: u32 = 16;
1229 pub const MAP_RENAME: u32 = 32;
1230 pub const MAP_NORESERVE: u32 = 64;
1231 pub const MAP_INHERIT: u32 = 128;
1232 pub const MAP_LOCKED: u32 = 256;
1233 pub const _MAP_NEW: u32 = 2147483648;
1234 pub const MAP_GROWSDOWN: u32 = 512;
1235 pub const MAP_DENYWRITE: u32 = 2048;
1236 pub const MAP_EXECUTABLE: u32 = 4096;
1237 pub const MCL_CURRENT: u32 = 8192;
1238 pub const MCL_FUTURE: u32 = 16384;
1239 pub const MCL_ONFAULT: u32 = 32768;
1240 pub const HUGETLB_FLAG_ENCODE_SHIFT: u32 = 26;
1241 pub const HUGETLB_FLAG_ENCODE_MASK: u32 = 63;
1242 pub const HUGETLB_FLAG_ENCODE_16KB: u32 = 939524096;
1243 pub const HUGETLB_FLAG_ENCODE_64KB: u32 = 1073741824;
1244 pub const HUGETLB_FLAG_ENCODE_512KB: u32 = 1275068416;
1245 pub const HUGETLB_FLAG_ENCODE_1MB: u32 = 1342177280;
1246 pub const HUGETLB_FLAG_ENCODE_2MB: u32 = 1409286144;
1247 pub const HUGETLB_FLAG_ENCODE_8MB: u32 = 1543503872;
1248 pub const HUGETLB_FLAG_ENCODE_16MB: u32 = 1610612736;
1249 pub const HUGETLB_FLAG_ENCODE_32MB: u32 = 1677721600;
1250 pub const HUGETLB_FLAG_ENCODE_256MB: u32 = 1879048192;
1251 pub const HUGETLB_FLAG_ENCODE_512MB: u32 = 1946157056;
1252 pub const HUGETLB_FLAG_ENCODE_1GB: u32 = 2013265920;
1253 pub const HUGETLB_FLAG_ENCODE_2GB: u32 = 2080374784;
1254 pub const HUGETLB_FLAG_ENCODE_16GB: u32 = 2281701376;
1255 pub const MREMAP_MAYMOVE: u32 = 1;
1256 pub const MREMAP_FIXED: u32 = 2;
1257 pub const MREMAP_DONTUNMAP: u32 = 4;
1258 pub const OVERCOMMIT_GUESS: u32 = 0;
1259 pub const OVERCOMMIT_ALWAYS: u32 = 1;
1260 pub const OVERCOMMIT_NEVER: u32 = 2;
1261 pub const MAP_SHARED: u32 = 1;
1262 pub const MAP_PRIVATE: u32 = 2;
1263 pub const MAP_SHARED_VALIDATE: u32 = 3;
1264 pub const MAP_HUGE_SHIFT: u32 = 26;
1265 pub const MAP_HUGE_MASK: u32 = 63;
1266 pub const MAP_HUGE_16KB: u32 = 939524096;
1267 pub const MAP_HUGE_64KB: u32 = 1073741824;
1268 pub const MAP_HUGE_512KB: u32 = 1275068416;
1269 pub const MAP_HUGE_1MB: u32 = 1342177280;
1270 pub const MAP_HUGE_2MB: u32 = 1409286144;
1271 pub const MAP_HUGE_8MB: u32 = 1543503872;
1272 pub const MAP_HUGE_16MB: u32 = 1610612736;
1273 pub const MAP_HUGE_32MB: u32 = 1677721600;
1274 pub const MAP_HUGE_256MB: u32 = 1879048192;
1275 pub const MAP_HUGE_512MB: u32 = 1946157056;
1276 pub const MAP_HUGE_1GB: u32 = 2013265920;
1277 pub const MAP_HUGE_2GB: u32 = 2080374784;
1278 pub const MAP_HUGE_16GB: u32 = 2281701376;
1279 pub const SIOCGSTAMP_OLD: u32 = 35078;
1280 pub const SIOCGSTAMPNS_OLD: u32 = 35079;
1281 pub const SOL_SOCKET: u32 = 65535;
1282 pub const SO_DEBUG: u32 = 1;
1283 pub const SO_PASSCRED: u32 = 2;
1284 pub const SO_REUSEADDR: u32 = 4;
1285 pub const SO_KEEPALIVE: u32 = 8;
1286 pub const SO_DONTROUTE: u32 = 16;
1287 pub const SO_BROADCAST: u32 = 32;
1288 pub const SO_PEERCRED: u32 = 64;
1289 pub const SO_LINGER: u32 = 128;
1290 pub const SO_OOBINLINE: u32 = 256;
1291 pub const SO_REUSEPORT: u32 = 512;
1292 pub const SO_BSDCOMPAT: u32 = 1024;
1293 pub const SO_RCVLOWAT: u32 = 2048;
1294 pub const SO_SNDLOWAT: u32 = 4096;
1295 pub const SO_RCVTIMEO_OLD: u32 = 8192;
1296 pub const SO_SNDTIMEO_OLD: u32 = 16384;
1297 pub const SO_ACCEPTCONN: u32 = 32768;
1298 pub const SO_SNDBUF: u32 = 4097;
1299 pub const SO_RCVBUF: u32 = 4098;
1300 pub const SO_SNDBUFFORCE: u32 = 4106;
1301 pub const SO_RCVBUFFORCE: u32 = 4107;
1302 pub const SO_ERROR: u32 = 4103;
1303 pub const SO_TYPE: u32 = 4104;
1304 pub const SO_PROTOCOL: u32 = 4136;
1305 pub const SO_DOMAIN: u32 = 4137;
1306 pub const SO_NO_CHECK: u32 = 11;
1307 pub const SO_PRIORITY: u32 = 12;
1308 pub const SO_BINDTODEVICE: u32 = 13;
1309 pub const SO_ATTACH_FILTER: u32 = 26;
1310 pub const SO_DETACH_FILTER: u32 = 27;
1311 pub const SO_GET_FILTER: u32 = 26;
1312 pub const SO_PEERNAME: u32 = 28;
1313 pub const SO_PEERSEC: u32 = 30;
1314 pub const SO_PASSSEC: u32 = 31;
1315 pub const SO_MARK: u32 = 34;
1316 pub const SO_RXQ_OVFL: u32 = 36;
1317 pub const SO_WIFI_STATUS: u32 = 37;
1318 pub const SCM_WIFI_STATUS: u32 = 37;
1319 pub const SO_PEEK_OFF: u32 = 38;
1320 pub const SO_NOFCS: u32 = 39;
1321 pub const SO_LOCK_FILTER: u32 = 40;
1322 pub const SO_SELECT_ERR_QUEUE: u32 = 41;
1323 pub const SO_BUSY_POLL: u32 = 48;
1324 pub const SO_MAX_PACING_RATE: u32 = 49;
1325 pub const SO_BPF_EXTENSIONS: u32 = 50;
1326 pub const SO_INCOMING_CPU: u32 = 51;
1327 pub const SO_ATTACH_BPF: u32 = 52;
1328 pub const SO_DETACH_BPF: u32 = 27;
1329 pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 53;
1330 pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 54;
1331 pub const SO_CNX_ADVICE: u32 = 55;
1332 pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 56;
1333 pub const SO_MEMINFO: u32 = 57;
1334 pub const SO_INCOMING_NAPI_ID: u32 = 58;
1335 pub const SO_COOKIE: u32 = 59;
1336 pub const SCM_TIMESTAMPING_PKTINFO: u32 = 60;
1337 pub const SO_PEERGROUPS: u32 = 61;
1338 pub const SO_ZEROCOPY: u32 = 62;
1339 pub const SO_TXTIME: u32 = 63;
1340 pub const SCM_TXTIME: u32 = 63;
1341 pub const SO_BINDTOIFINDEX: u32 = 65;
1342 pub const SO_SECURITY_AUTHENTICATION: u32 = 20481;
1343 pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 20482;
1344 pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 20484;
1345 pub const SO_TIMESTAMP_OLD: u32 = 29;
1346 pub const SO_TIMESTAMPNS_OLD: u32 = 33;
1347 pub const SO_TIMESTAMPING_OLD: u32 = 35;
1348 pub const SO_TIMESTAMP_NEW: u32 = 70;
1349 pub const SO_TIMESTAMPNS_NEW: u32 = 66;
1350 pub const SO_TIMESTAMPING_NEW: u32 = 67;
1351 pub const SO_RCVTIMEO_NEW: u32 = 68;
1352 pub const SO_SNDTIMEO_NEW: u32 = 69;
1353 pub const SO_DETACH_REUSEPORT_BPF: u32 = 71;
1354 pub const SO_PREFER_BUSY_POLL: u32 = 72;
1355 pub const SO_BUSY_POLL_BUDGET: u32 = 73;
1356 pub const SO_NETNS_COOKIE: u32 = 80;
1357 pub const SO_BUF_LOCK: u32 = 81;
1358 pub const SO_RESERVE_MEM: u32 = 82;
1359 pub const SYS_SOCKET: u32 = 1;
1360 pub const SYS_BIND: u32 = 2;
1361 pub const SYS_CONNECT: u32 = 3;
1362 pub const SYS_LISTEN: u32 = 4;
1363 pub const SYS_ACCEPT: u32 = 5;
1364 pub const SYS_GETSOCKNAME: u32 = 6;
1365 pub const SYS_GETPEERNAME: u32 = 7;
1366 pub const SYS_SOCKETPAIR: u32 = 8;
1367 pub const SYS_SEND: u32 = 9;
1368 pub const SYS_RECV: u32 = 10;
1369 pub const SYS_SENDTO: u32 = 11;
1370 pub const SYS_RECVFROM: u32 = 12;
1371 pub const SYS_SHUTDOWN: u32 = 13;
1372 pub const SYS_SETSOCKOPT: u32 = 14;
1373 pub const SYS_GETSOCKOPT: u32 = 15;
1374 pub const SYS_SENDMSG: u32 = 16;
1375 pub const SYS_RECVMSG: u32 = 17;
1376 pub const SYS_ACCEPT4: u32 = 18;
1377 pub const SYS_RECVMMSG: u32 = 19;
1378 pub const SYS_SENDMMSG: u32 = 20;
1379 pub const __SO_ACCEPTCON: u32 = 65536;
1380 pub const POLLWRBAND: u32 = 256;
1381 pub const POLLMSG: u32 = 512;
1382 pub const POLLREMOVE: u32 = 1024;
1383 pub const POLLRDHUP: u32 = 2048;
1384 pub const POLLIN: u32 = 1;
1385 pub const POLLPRI: u32 = 2;
1386 pub const POLLOUT: u32 = 4;
1387 pub const POLLERR: u32 = 8;
1388 pub const POLLHUP: u32 = 16;
1389 pub const POLLNVAL: u32 = 32;
1390 pub const POLLRDNORM: u32 = 64;
1391 pub const POLLRDBAND: u32 = 128;
1392 pub const PR_SET_PDEATHSIG: u32 = 1;
1393 pub const PR_GET_PDEATHSIG: u32 = 2;
1394 pub const PR_GET_DUMPABLE: u32 = 3;
1395 pub const PR_SET_DUMPABLE: u32 = 4;
1396 pub const PR_GET_UNALIGN: u32 = 5;
1397 pub const PR_SET_UNALIGN: u32 = 6;
1398 pub const PR_UNALIGN_NOPRINT: u32 = 1;
1399 pub const PR_UNALIGN_SIGBUS: u32 = 2;
1400 pub const PR_GET_KEEPCAPS: u32 = 7;
1401 pub const PR_SET_KEEPCAPS: u32 = 8;
1402 pub const PR_GET_FPEMU: u32 = 9;
1403 pub const PR_SET_FPEMU: u32 = 10;
1404 pub const PR_FPEMU_NOPRINT: u32 = 1;
1405 pub const PR_FPEMU_SIGFPE: u32 = 2;
1406 pub const PR_GET_FPEXC: u32 = 11;
1407 pub const PR_SET_FPEXC: u32 = 12;
1408 pub const PR_FP_EXC_SW_ENABLE: u32 = 128;
1409 pub const PR_FP_EXC_DIV: u32 = 65536;
1410 pub const PR_FP_EXC_OVF: u32 = 131072;
1411 pub const PR_FP_EXC_UND: u32 = 262144;
1412 pub const PR_FP_EXC_RES: u32 = 524288;
1413 pub const PR_FP_EXC_INV: u32 = 1048576;
1414 pub const PR_FP_EXC_DISABLED: u32 = 0;
1415 pub const PR_FP_EXC_NONRECOV: u32 = 1;
1416 pub const PR_FP_EXC_ASYNC: u32 = 2;
1417 pub const PR_FP_EXC_PRECISE: u32 = 3;
1418 pub const PR_GET_TIMING: u32 = 13;
1419 pub const PR_SET_TIMING: u32 = 14;
1420 pub const PR_TIMING_STATISTICAL: u32 = 0;
1421 pub const PR_TIMING_TIMESTAMP: u32 = 1;
1422 pub const PR_SET_NAME: u32 = 15;
1423 pub const PR_GET_NAME: u32 = 16;
1424 pub const PR_GET_ENDIAN: u32 = 19;
1425 pub const PR_SET_ENDIAN: u32 = 20;
1426 pub const PR_ENDIAN_BIG: u32 = 0;
1427 pub const PR_ENDIAN_LITTLE: u32 = 1;
1428 pub const PR_ENDIAN_PPC_LITTLE: u32 = 2;
1429 pub const PR_GET_SECCOMP: u32 = 21;
1430 pub const PR_SET_SECCOMP: u32 = 22;
1431 pub const PR_CAPBSET_READ: u32 = 23;
1432 pub const PR_CAPBSET_DROP: u32 = 24;
1433 pub const PR_GET_TSC: u32 = 25;
1434 pub const PR_SET_TSC: u32 = 26;
1435 pub const PR_TSC_ENABLE: u32 = 1;
1436 pub const PR_TSC_SIGSEGV: u32 = 2;
1437 pub const PR_GET_SECUREBITS: u32 = 27;
1438 pub const PR_SET_SECUREBITS: u32 = 28;
1439 pub const PR_SET_TIMERSLACK: u32 = 29;
1440 pub const PR_GET_TIMERSLACK: u32 = 30;
1441 pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31;
1442 pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32;
1443 pub const PR_MCE_KILL: u32 = 33;
1444 pub const PR_MCE_KILL_CLEAR: u32 = 0;
1445 pub const PR_MCE_KILL_SET: u32 = 1;
1446 pub const PR_MCE_KILL_LATE: u32 = 0;
1447 pub const PR_MCE_KILL_EARLY: u32 = 1;
1448 pub const PR_MCE_KILL_DEFAULT: u32 = 2;
1449 pub const PR_MCE_KILL_GET: u32 = 34;
1450 pub const PR_SET_MM: u32 = 35;
1451 pub const PR_SET_MM_START_CODE: u32 = 1;
1452 pub const PR_SET_MM_END_CODE: u32 = 2;
1453 pub const PR_SET_MM_START_DATA: u32 = 3;
1454 pub const PR_SET_MM_END_DATA: u32 = 4;
1455 pub const PR_SET_MM_START_STACK: u32 = 5;
1456 pub const PR_SET_MM_START_BRK: u32 = 6;
1457 pub const PR_SET_MM_BRK: u32 = 7;
1458 pub const PR_SET_MM_ARG_START: u32 = 8;
1459 pub const PR_SET_MM_ARG_END: u32 = 9;
1460 pub const PR_SET_MM_ENV_START: u32 = 10;
1461 pub const PR_SET_MM_ENV_END: u32 = 11;
1462 pub const PR_SET_MM_AUXV: u32 = 12;
1463 pub const PR_SET_MM_EXE_FILE: u32 = 13;
1464 pub const PR_SET_MM_MAP: u32 = 14;
1465 pub const PR_SET_MM_MAP_SIZE: u32 = 15;
1466 pub const PR_SET_PTRACER: u32 = 1499557217;
1467 pub const PR_SET_CHILD_SUBREAPER: u32 = 36;
1468 pub const PR_GET_CHILD_SUBREAPER: u32 = 37;
1469 pub const PR_SET_NO_NEW_PRIVS: u32 = 38;
1470 pub const PR_GET_NO_NEW_PRIVS: u32 = 39;
1471 pub const PR_GET_TID_ADDRESS: u32 = 40;
1472 pub const PR_SET_THP_DISABLE: u32 = 41;
1473 pub const PR_GET_THP_DISABLE: u32 = 42;
1474 pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43;
1475 pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44;
1476 pub const PR_SET_FP_MODE: u32 = 45;
1477 pub const PR_GET_FP_MODE: u32 = 46;
1478 pub const PR_FP_MODE_FR: u32 = 1;
1479 pub const PR_FP_MODE_FRE: u32 = 2;
1480 pub const PR_CAP_AMBIENT: u32 = 47;
1481 pub const PR_CAP_AMBIENT_IS_SET: u32 = 1;
1482 pub const PR_CAP_AMBIENT_RAISE: u32 = 2;
1483 pub const PR_CAP_AMBIENT_LOWER: u32 = 3;
1484 pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4;
1485 pub const PR_SVE_SET_VL: u32 = 50;
1486 pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144;
1487 pub const PR_SVE_GET_VL: u32 = 51;
1488 pub const PR_SVE_VL_LEN_MASK: u32 = 65535;
1489 pub const PR_SVE_VL_INHERIT: u32 = 131072;
1490 pub const PR_GET_SPECULATION_CTRL: u32 = 52;
1491 pub const PR_SET_SPECULATION_CTRL: u32 = 53;
1492 pub const PR_SPEC_STORE_BYPASS: u32 = 0;
1493 pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1;
1494 pub const PR_SPEC_L1D_FLUSH: u32 = 2;
1495 pub const PR_SPEC_NOT_AFFECTED: u32 = 0;
1496 pub const PR_SPEC_PRCTL: u32 = 1;
1497 pub const PR_SPEC_ENABLE: u32 = 2;
1498 pub const PR_SPEC_DISABLE: u32 = 4;
1499 pub const PR_SPEC_FORCE_DISABLE: u32 = 8;
1500 pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16;
1501 pub const PR_PAC_RESET_KEYS: u32 = 54;
1502 pub const PR_PAC_APIAKEY: u32 = 1;
1503 pub const PR_PAC_APIBKEY: u32 = 2;
1504 pub const PR_PAC_APDAKEY: u32 = 4;
1505 pub const PR_PAC_APDBKEY: u32 = 8;
1506 pub const PR_PAC_APGAKEY: u32 = 16;
1507 pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55;
1508 pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56;
1509 pub const PR_TAGGED_ADDR_ENABLE: u32 = 1;
1510 pub const PR_MTE_TCF_NONE: u32 = 0;
1511 pub const PR_MTE_TCF_SYNC: u32 = 2;
1512 pub const PR_MTE_TCF_ASYNC: u32 = 4;
1513 pub const PR_MTE_TCF_MASK: u32 = 6;
1514 pub const PR_MTE_TAG_SHIFT: u32 = 3;
1515 pub const PR_MTE_TAG_MASK: u32 = 524280;
1516 pub const PR_MTE_TCF_SHIFT: u32 = 1;
1517 pub const PR_SET_IO_FLUSHER: u32 = 57;
1518 pub const PR_GET_IO_FLUSHER: u32 = 58;
1519 pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59;
1520 pub const PR_SYS_DISPATCH_OFF: u32 = 0;
1521 pub const PR_SYS_DISPATCH_ON: u32 = 1;
1522 pub const SYSCALL_DISPATCH_FILTER_ALLOW: u32 = 0;
1523 pub const SYSCALL_DISPATCH_FILTER_BLOCK: u32 = 1;
1524 pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60;
1525 pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61;
1526 pub const PR_SCHED_CORE: u32 = 62;
1527 pub const PR_SCHED_CORE_GET: u32 = 0;
1528 pub const PR_SCHED_CORE_CREATE: u32 = 1;
1529 pub const PR_SCHED_CORE_SHARE_TO: u32 = 2;
1530 pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3;
1531 pub const PR_SCHED_CORE_MAX: u32 = 4;
1532 pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0;
1533 pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1;
1534 pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2;
1535 pub const PR_SET_VMA: u32 = 1398164801;
1536 pub const PR_SET_VMA_ANON_NAME: u32 = 0;
1537 pub const GRND_NONBLOCK: u32 = 1;
1538 pub const GRND_RANDOM: u32 = 2;
1539 pub const GRND_INSECURE: u32 = 4;
1540 pub const ITIMER_REAL: u32 = 0;
1541 pub const ITIMER_VIRTUAL: u32 = 1;
1542 pub const ITIMER_PROF: u32 = 2;
1543 pub const CLOCK_REALTIME: u32 = 0;
1544 pub const CLOCK_MONOTONIC: u32 = 1;
1545 pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2;
1546 pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3;
1547 pub const CLOCK_MONOTONIC_RAW: u32 = 4;
1548 pub const CLOCK_REALTIME_COARSE: u32 = 5;
1549 pub const CLOCK_MONOTONIC_COARSE: u32 = 6;
1550 pub const CLOCK_BOOTTIME: u32 = 7;
1551 pub const CLOCK_REALTIME_ALARM: u32 = 8;
1552 pub const CLOCK_BOOTTIME_ALARM: u32 = 9;
1553 pub const CLOCK_SGI_CYCLE: u32 = 10;
1554 pub const CLOCK_TAI: u32 = 11;
1555 pub const MAX_CLOCKS: u32 = 16;
1556 pub const CLOCKS_MASK: u32 = 1;
1557 pub const CLOCKS_MONO: u32 = 1;
1558 pub const TIMER_ABSTIME: u32 = 1;
1559 pub const RUSAGE_SELF: u32 = 0;
1560 pub const RUSAGE_CHILDREN: i32 = -1;
1561 pub const RUSAGE_BOTH: i32 = -2;
1562 pub const RUSAGE_THREAD: u32 = 1;
1563 pub const RLIM64_INFINITY: i32 = -1;
1564 pub const PRIO_MIN: i32 = -20;
1565 pub const PRIO_MAX: u32 = 20;
1566 pub const PRIO_PROCESS: u32 = 0;
1567 pub const PRIO_PGRP: u32 = 1;
1568 pub const PRIO_USER: u32 = 2;
1569 pub const _STK_LIM: u32 = 8388608;
1570 pub const MLOCK_LIMIT: u32 = 8388608;
1571 pub const RLIMIT_NOFILE: u32 = 6;
1572 pub const RLIMIT_NPROC: u32 = 7;
1573 pub const RLIM_INFINITY: u32 = 2147483647;
1574 pub const RLIMIT_CPU: u32 = 0;
1575 pub const RLIMIT_FSIZE: u32 = 1;
1576 pub const RLIMIT_DATA: u32 = 2;
1577 pub const RLIMIT_STACK: u32 = 3;
1578 pub const RLIMIT_CORE: u32 = 4;
1579 pub const RLIMIT_RSS: u32 = 5;
1580 pub const RLIMIT_MEMLOCK: u32 = 8;
1581 pub const RLIMIT_AS: u32 = 9;
1582 pub const RLIMIT_LOCKS: u32 = 10;
1583 pub const RLIMIT_SIGPENDING: u32 = 11;
1584 pub const RLIMIT_MSGQUEUE: u32 = 12;
1585 pub const RLIMIT_NICE: u32 = 13;
1586 pub const RLIMIT_RTPRIO: u32 = 14;
1587 pub const RLIMIT_RTTIME: u32 = 15;
1588 pub const RLIM_NLIMITS: u32 = 16;
1589 pub const CSIGNAL: u32 = 255;
1590 pub const CLONE_VM: u32 = 256;
1591 pub const CLONE_FS: u32 = 512;
1592 pub const CLONE_FILES: u32 = 1024;
1593 pub const CLONE_SIGHAND: u32 = 2048;
1594 pub const CLONE_PIDFD: u32 = 4096;
1595 pub const CLONE_PTRACE: u32 = 8192;
1596 pub const CLONE_VFORK: u32 = 16384;
1597 pub const CLONE_PARENT: u32 = 32768;
1598 pub const CLONE_THREAD: u32 = 65536;
1599 pub const CLONE_NEWNS: u32 = 131072;
1600 pub const CLONE_SYSVSEM: u32 = 262144;
1601 pub const CLONE_SETTLS: u32 = 524288;
1602 pub const CLONE_PARENT_SETTID: u32 = 1048576;
1603 pub const CLONE_CHILD_CLEARTID: u32 = 2097152;
1604 pub const CLONE_DETACHED: u32 = 4194304;
1605 pub const CLONE_UNTRACED: u32 = 8388608;
1606 pub const CLONE_CHILD_SETTID: u32 = 16777216;
1607 pub const CLONE_NEWCGROUP: u32 = 33554432;
1608 pub const CLONE_NEWUTS: u32 = 67108864;
1609 pub const CLONE_NEWIPC: u32 = 134217728;
1610 pub const CLONE_NEWUSER: u32 = 268435456;
1611 pub const CLONE_NEWPID: u32 = 536870912;
1612 pub const CLONE_NEWNET: u32 = 1073741824;
1613 pub const CLONE_IO: u32 = 2147483648;
1614 pub const CLONE_CLEAR_SIGHAND: u64 = 4294967296;
1615 pub const CLONE_INTO_CGROUP: u64 = 8589934592;
1616 pub const CLONE_NEWTIME: u32 = 128;
1617 pub const CLONE_ARGS_SIZE_VER0: u32 = 64;
1618 pub const CLONE_ARGS_SIZE_VER1: u32 = 80;
1619 pub const CLONE_ARGS_SIZE_VER2: u32 = 88;
1620 pub const SCHED_NORMAL: u32 = 0;
1621 pub const SCHED_FIFO: u32 = 1;
1622 pub const SCHED_RR: u32 = 2;
1623 pub const SCHED_BATCH: u32 = 3;
1624 pub const SCHED_IDLE: u32 = 5;
1625 pub const SCHED_DEADLINE: u32 = 6;
1626 pub const SCHED_RESET_ON_FORK: u32 = 1073741824;
1627 pub const SCHED_FLAG_RESET_ON_FORK: u32 = 1;
1628 pub const SCHED_FLAG_RECLAIM: u32 = 2;
1629 pub const SCHED_FLAG_DL_OVERRUN: u32 = 4;
1630 pub const SCHED_FLAG_KEEP_POLICY: u32 = 8;
1631 pub const SCHED_FLAG_KEEP_PARAMS: u32 = 16;
1632 pub const SCHED_FLAG_UTIL_CLAMP_MIN: u32 = 32;
1633 pub const SCHED_FLAG_UTIL_CLAMP_MAX: u32 = 64;
1634 pub const SCHED_FLAG_KEEP_ALL: u32 = 24;
1635 pub const SCHED_FLAG_UTIL_CLAMP: u32 = 96;
1636 pub const SCHED_FLAG_ALL: u32 = 127;
1637 pub const SIGHUP: u32 = 1;
1638 pub const SIGINT: u32 = 2;
1639 pub const SIGQUIT: u32 = 3;
1640 pub const SIGILL: u32 = 4;
1641 pub const SUBSIG_STACK: u32 = 0;
1642 pub const SUBSIG_ILLINST: u32 = 2;
1643 pub const SUBSIG_PRIVINST: u32 = 3;
1644 pub const SIGTRAP: u32 = 5;
1645 pub const SIGABRT: u32 = 6;
1646 pub const SIGIOT: u32 = 6;
1647 pub const SIGEMT: u32 = 7;
1648 pub const SUBSIG_TAG: u32 = 10;
1649 pub const SIGFPE: u32 = 8;
1650 pub const SUBSIG_FPDISABLED: u32 = 1024;
1651 pub const SUBSIG_FPERROR: u32 = 1028;
1652 pub const SUBSIG_FPINTOVFL: u32 = 1;
1653 pub const SUBSIG_FPSTSIG: u32 = 2;
1654 pub const SUBSIG_IDIVZERO: u32 = 20;
1655 pub const SUBSIG_FPINEXACT: u32 = 196;
1656 pub const SUBSIG_FPDIVZERO: u32 = 200;
1657 pub const SUBSIG_FPUNFLOW: u32 = 204;
1658 pub const SUBSIG_FPOPERROR: u32 = 208;
1659 pub const SUBSIG_FPOVFLOW: u32 = 212;
1660 pub const SIGKILL: u32 = 9;
1661 pub const SIGBUS: u32 = 10;
1662 pub const SUBSIG_BUSTIMEOUT: u32 = 1;
1663 pub const SUBSIG_ALIGNMENT: u32 = 2;
1664 pub const SUBSIG_MISCERROR: u32 = 5;
1665 pub const SIGSEGV: u32 = 11;
1666 pub const SUBSIG_NOMAPPING: u32 = 3;
1667 pub const SUBSIG_PROTECTION: u32 = 4;
1668 pub const SUBSIG_SEGERROR: u32 = 5;
1669 pub const SIGSYS: u32 = 12;
1670 pub const SIGPIPE: u32 = 13;
1671 pub const SIGALRM: u32 = 14;
1672 pub const SIGTERM: u32 = 15;
1673 pub const SIGURG: u32 = 16;
1674 pub const SIGSTOP: u32 = 17;
1675 pub const SIGTSTP: u32 = 18;
1676 pub const SIGCONT: u32 = 19;
1677 pub const SIGCHLD: u32 = 20;
1678 pub const SIGTTIN: u32 = 21;
1679 pub const SIGTTOU: u32 = 22;
1680 pub const SIGIO: u32 = 23;
1681 pub const SIGPOLL: u32 = 23;
1682 pub const SIGXCPU: u32 = 24;
1683 pub const SIGXFSZ: u32 = 25;
1684 pub const SIGVTALRM: u32 = 26;
1685 pub const SIGPROF: u32 = 27;
1686 pub const SIGWINCH: u32 = 28;
1687 pub const SIGLOST: u32 = 29;
1688 pub const SIGPWR: u32 = 29;
1689 pub const SIGUSR1: u32 = 30;
1690 pub const SIGUSR2: u32 = 31;
1691 pub const __OLD_NSIG: u32 = 32;
1692 pub const __NEW_NSIG: u32 = 64;
1693 pub const _NSIG_BPW: u32 = 32;
1694 pub const _NSIG_WORDS: u32 = 2;
1695 pub const SIGRTMIN: u32 = 32;
1696 pub const SIGRTMAX: u32 = 64;
1697 pub const _NSIG: u32 = 32;
1698 pub const NSIG: u32 = 32;
1699 pub const _SV_SSTACK: u32 = 1;
1700 pub const _SV_INTR: u32 = 2;
1701 pub const _SV_RESET: u32 = 4;
1702 pub const _SV_IGNCHILD: u32 = 8;
1703 pub const SA_NOCLDSTOP: u32 = 8;
1704 pub const SA_STACK: u32 = 1;
1705 pub const SA_ONSTACK: u32 = 1;
1706 pub const SA_RESTART: u32 = 2;
1707 pub const SA_RESETHAND: u32 = 4;
1708 pub const SA_NODEFER: u32 = 32;
1709 pub const SA_NOCLDWAIT: u32 = 256;
1710 pub const SA_SIGINFO: u32 = 512;
1711 pub const SIG_BLOCK: u32 = 1;
1712 pub const SIG_UNBLOCK: u32 = 2;
1713 pub const SIG_SETMASK: u32 = 4;
1714 pub const MINSIGSTKSZ: u32 = 4096;
1715 pub const SIGSTKSZ: u32 = 16384;
1716 pub const SA_UNSUPPORTED: u32 = 1024;
1717 pub const SA_EXPOSE_TAGBITS: u32 = 2048;
1718 pub const SA_NOMASK: u32 = 32;
1719 pub const SA_ONESHOT: u32 = 4;
1720 pub const SI_MAX_SIZE: u32 = 128;
1721 pub const SI_USER: u32 = 0;
1722 pub const SI_KERNEL: u32 = 128;
1723 pub const SI_QUEUE: i32 = -1;
1724 pub const SI_TIMER: i32 = -2;
1725 pub const SI_MESGQ: i32 = -3;
1726 pub const SI_ASYNCIO: i32 = -4;
1727 pub const SI_SIGIO: i32 = -5;
1728 pub const SI_TKILL: i32 = -6;
1729 pub const SI_DETHREAD: i32 = -7;
1730 pub const SI_ASYNCNL: i32 = -60;
1731 pub const ILL_ILLOPC: u32 = 1;
1732 pub const ILL_ILLOPN: u32 = 2;
1733 pub const ILL_ILLADR: u32 = 3;
1734 pub const ILL_ILLTRP: u32 = 4;
1735 pub const ILL_PRVOPC: u32 = 5;
1736 pub const ILL_PRVREG: u32 = 6;
1737 pub const ILL_COPROC: u32 = 7;
1738 pub const ILL_BADSTK: u32 = 8;
1739 pub const ILL_BADIADDR: u32 = 9;
1740 pub const __ILL_BREAK: u32 = 10;
1741 pub const __ILL_BNDMOD: u32 = 11;
1742 pub const NSIGILL: u32 = 11;
1743 pub const FPE_INTDIV: u32 = 1;
1744 pub const FPE_INTOVF: u32 = 2;
1745 pub const FPE_FLTDIV: u32 = 3;
1746 pub const FPE_FLTOVF: u32 = 4;
1747 pub const FPE_FLTUND: u32 = 5;
1748 pub const FPE_FLTRES: u32 = 6;
1749 pub const FPE_FLTINV: u32 = 7;
1750 pub const FPE_FLTSUB: u32 = 8;
1751 pub const __FPE_DECOVF: u32 = 9;
1752 pub const __FPE_DECDIV: u32 = 10;
1753 pub const __FPE_DECERR: u32 = 11;
1754 pub const __FPE_INVASC: u32 = 12;
1755 pub const __FPE_INVDEC: u32 = 13;
1756 pub const FPE_FLTUNK: u32 = 14;
1757 pub const FPE_CONDTRAP: u32 = 15;
1758 pub const NSIGFPE: u32 = 15;
1759 pub const SEGV_MAPERR: u32 = 1;
1760 pub const SEGV_ACCERR: u32 = 2;
1761 pub const SEGV_BNDERR: u32 = 3;
1762 pub const SEGV_PKUERR: u32 = 4;
1763 pub const SEGV_ACCADI: u32 = 5;
1764 pub const SEGV_ADIDERR: u32 = 6;
1765 pub const SEGV_ADIPERR: u32 = 7;
1766 pub const SEGV_MTEAERR: u32 = 8;
1767 pub const SEGV_MTESERR: u32 = 9;
1768 pub const NSIGSEGV: u32 = 9;
1769 pub const BUS_ADRALN: u32 = 1;
1770 pub const BUS_ADRERR: u32 = 2;
1771 pub const BUS_OBJERR: u32 = 3;
1772 pub const BUS_MCEERR_AR: u32 = 4;
1773 pub const BUS_MCEERR_AO: u32 = 5;
1774 pub const NSIGBUS: u32 = 5;
1775 pub const TRAP_BRKPT: u32 = 1;
1776 pub const TRAP_TRACE: u32 = 2;
1777 pub const TRAP_BRANCH: u32 = 3;
1778 pub const TRAP_HWBKPT: u32 = 4;
1779 pub const TRAP_UNK: u32 = 5;
1780 pub const TRAP_PERF: u32 = 6;
1781 pub const NSIGTRAP: u32 = 6;
1782 pub const CLD_EXITED: u32 = 1;
1783 pub const CLD_KILLED: u32 = 2;
1784 pub const CLD_DUMPED: u32 = 3;
1785 pub const CLD_TRAPPED: u32 = 4;
1786 pub const CLD_STOPPED: u32 = 5;
1787 pub const CLD_CONTINUED: u32 = 6;
1788 pub const NSIGCHLD: u32 = 6;
1789 pub const POLL_IN: u32 = 1;
1790 pub const POLL_OUT: u32 = 2;
1791 pub const POLL_MSG: u32 = 3;
1792 pub const POLL_ERR: u32 = 4;
1793 pub const POLL_PRI: u32 = 5;
1794 pub const POLL_HUP: u32 = 6;
1795 pub const NSIGPOLL: u32 = 6;
1796 pub const SYS_SECCOMP: u32 = 1;
1797 pub const SYS_USER_DISPATCH: u32 = 2;
1798 pub const NSIGSYS: u32 = 2;
1799 pub const EMT_TAGOVF: u32 = 1;
1800 pub const NSIGEMT: u32 = 1;
1801 pub const SIGEV_SIGNAL: u32 = 0;
1802 pub const SIGEV_NONE: u32 = 1;
1803 pub const SIGEV_THREAD: u32 = 2;
1804 pub const SIGEV_THREAD_ID: u32 = 4;
1805 pub const SIGEV_MAX_SIZE: u32 = 64;
1806 pub const SI_NOINFO: u32 = 32767;
1807 pub const SS_ONSTACK: u32 = 1;
1808 pub const SS_DISABLE: u32 = 2;
1809 pub const SS_AUTODISARM: u32 = 2147483648;
1810 pub const SS_FLAG_BITS: u32 = 2147483648;
1811 pub const S_IFMT: u32 = 61440;
1812 pub const S_IFSOCK: u32 = 49152;
1813 pub const S_IFLNK: u32 = 40960;
1814 pub const S_IFREG: u32 = 32768;
1815 pub const S_IFBLK: u32 = 24576;
1816 pub const S_IFDIR: u32 = 16384;
1817 pub const S_IFCHR: u32 = 8192;
1818 pub const S_IFIFO: u32 = 4096;
1819 pub const S_ISUID: u32 = 2048;
1820 pub const S_ISGID: u32 = 1024;
1821 pub const S_ISVTX: u32 = 512;
1822 pub const S_IRWXU: u32 = 448;
1823 pub const S_IRUSR: u32 = 256;
1824 pub const S_IWUSR: u32 = 128;
1825 pub const S_IXUSR: u32 = 64;
1826 pub const S_IRWXG: u32 = 56;
1827 pub const S_IRGRP: u32 = 32;
1828 pub const S_IWGRP: u32 = 16;
1829 pub const S_IXGRP: u32 = 8;
1830 pub const S_IRWXO: u32 = 7;
1831 pub const S_IROTH: u32 = 4;
1832 pub const S_IWOTH: u32 = 2;
1833 pub const S_IXOTH: u32 = 1;
1834 pub const STATX_TYPE: u32 = 1;
1835 pub const STATX_MODE: u32 = 2;
1836 pub const STATX_NLINK: u32 = 4;
1837 pub const STATX_UID: u32 = 8;
1838 pub const STATX_GID: u32 = 16;
1839 pub const STATX_ATIME: u32 = 32;
1840 pub const STATX_MTIME: u32 = 64;
1841 pub const STATX_CTIME: u32 = 128;
1842 pub const STATX_INO: u32 = 256;
1843 pub const STATX_SIZE: u32 = 512;
1844 pub const STATX_BLOCKS: u32 = 1024;
1845 pub const STATX_BASIC_STATS: u32 = 2047;
1846 pub const STATX_BTIME: u32 = 2048;
1847 pub const STATX_MNT_ID: u32 = 4096;
1848 pub const STATX__RESERVED: u32 = 2147483648;
1849 pub const STATX_ALL: u32 = 4095;
1850 pub const STATX_ATTR_COMPRESSED: u32 = 4;
1851 pub const STATX_ATTR_IMMUTABLE: u32 = 16;
1852 pub const STATX_ATTR_APPEND: u32 = 32;
1853 pub const STATX_ATTR_NODUMP: u32 = 64;
1854 pub const STATX_ATTR_ENCRYPTED: u32 = 2048;
1855 pub const STATX_ATTR_AUTOMOUNT: u32 = 4096;
1856 pub const STATX_ATTR_MOUNT_ROOT: u32 = 8192;
1857 pub const STATX_ATTR_VERITY: u32 = 1048576;
1858 pub const STATX_ATTR_DAX: u32 = 2097152;
1859 pub const SI_LOAD_SHIFT: u32 = 16;
1860 pub const TCP_MSS_DEFAULT: u32 = 536;
1861 pub const TCP_MSS_DESIRED: u32 = 1220;
1862 pub const TCP_NODELAY: u32 = 1;
1863 pub const TCP_MAXSEG: u32 = 2;
1864 pub const TCP_CORK: u32 = 3;
1865 pub const TCP_KEEPIDLE: u32 = 4;
1866 pub const TCP_KEEPINTVL: u32 = 5;
1867 pub const TCP_KEEPCNT: u32 = 6;
1868 pub const TCP_SYNCNT: u32 = 7;
1869 pub const TCP_LINGER2: u32 = 8;
1870 pub const TCP_DEFER_ACCEPT: u32 = 9;
1871 pub const TCP_WINDOW_CLAMP: u32 = 10;
1872 pub const TCP_INFO: u32 = 11;
1873 pub const TCP_QUICKACK: u32 = 12;
1874 pub const TCP_CONGESTION: u32 = 13;
1875 pub const TCP_MD5SIG: u32 = 14;
1876 pub const TCP_THIN_LINEAR_TIMEOUTS: u32 = 16;
1877 pub const TCP_THIN_DUPACK: u32 = 17;
1878 pub const TCP_USER_TIMEOUT: u32 = 18;
1879 pub const TCP_REPAIR: u32 = 19;
1880 pub const TCP_REPAIR_QUEUE: u32 = 20;
1881 pub const TCP_QUEUE_SEQ: u32 = 21;
1882 pub const TCP_REPAIR_OPTIONS: u32 = 22;
1883 pub const TCP_FASTOPEN: u32 = 23;
1884 pub const TCP_TIMESTAMP: u32 = 24;
1885 pub const TCP_NOTSENT_LOWAT: u32 = 25;
1886 pub const TCP_CC_INFO: u32 = 26;
1887 pub const TCP_SAVE_SYN: u32 = 27;
1888 pub const TCP_SAVED_SYN: u32 = 28;
1889 pub const TCP_REPAIR_WINDOW: u32 = 29;
1890 pub const TCP_FASTOPEN_CONNECT: u32 = 30;
1891 pub const TCP_ULP: u32 = 31;
1892 pub const TCP_MD5SIG_EXT: u32 = 32;
1893 pub const TCP_FASTOPEN_KEY: u32 = 33;
1894 pub const TCP_FASTOPEN_NO_COOKIE: u32 = 34;
1895 pub const TCP_ZEROCOPY_RECEIVE: u32 = 35;
1896 pub const TCP_INQ: u32 = 36;
1897 pub const TCP_CM_INQ: u32 = 36;
1898 pub const TCP_TX_DELAY: u32 = 37;
1899 pub const TCP_REPAIR_ON: u32 = 1;
1900 pub const TCP_REPAIR_OFF: u32 = 0;
1901 pub const TCP_REPAIR_OFF_NO_WP: i32 = -1;
1902 pub const TCPI_OPT_TIMESTAMPS: u32 = 1;
1903 pub const TCPI_OPT_SACK: u32 = 2;
1904 pub const TCPI_OPT_WSCALE: u32 = 4;
1905 pub const TCPI_OPT_ECN: u32 = 8;
1906 pub const TCPI_OPT_ECN_SEEN: u32 = 16;
1907 pub const TCPI_OPT_SYN_DATA: u32 = 32;
1908 pub const TCP_MD5SIG_MAXKEYLEN: u32 = 80;
1909 pub const TCP_MD5SIG_FLAG_PREFIX: u32 = 1;
1910 pub const TCP_MD5SIG_FLAG_IFINDEX: u32 = 2;
1911 pub const TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT: u32 = 1;
1912 pub const TIOCPKT_DATA: u32 = 0;
1913 pub const TIOCPKT_FLUSHREAD: u32 = 1;
1914 pub const TIOCPKT_FLUSHWRITE: u32 = 2;
1915 pub const TIOCPKT_STOP: u32 = 4;
1916 pub const TIOCPKT_START: u32 = 8;
1917 pub const TIOCPKT_NOSTOP: u32 = 16;
1918 pub const TIOCPKT_DOSTOP: u32 = 32;
1919 pub const TIOCPKT_IOCTL: u32 = 64;
1920 pub const NCC: u32 = 8;
1921 pub const NCCS: u32 = 17;
1922 pub const VINTR: u32 = 0;
1923 pub const VQUIT: u32 = 1;
1924 pub const VERASE: u32 = 2;
1925 pub const VKILL: u32 = 3;
1926 pub const VEOF: u32 = 4;
1927 pub const VEOL: u32 = 5;
1928 pub const VEOL2: u32 = 6;
1929 pub const VSWTC: u32 = 7;
1930 pub const VSTART: u32 = 8;
1931 pub const VSTOP: u32 = 9;
1932 pub const VSUSP: u32 = 10;
1933 pub const VDSUSP: u32 = 11;
1934 pub const VREPRINT: u32 = 12;
1935 pub const VDISCARD: u32 = 13;
1936 pub const VWERASE: u32 = 14;
1937 pub const VLNEXT: u32 = 15;
1938 pub const VMIN: u32 = 4;
1939 pub const VTIME: u32 = 5;
1940 pub const IGNBRK: u32 = 1;
1941 pub const BRKINT: u32 = 2;
1942 pub const IGNPAR: u32 = 4;
1943 pub const PARMRK: u32 = 8;
1944 pub const INPCK: u32 = 16;
1945 pub const ISTRIP: u32 = 32;
1946 pub const INLCR: u32 = 64;
1947 pub const IGNCR: u32 = 128;
1948 pub const ICRNL: u32 = 256;
1949 pub const IUCLC: u32 = 512;
1950 pub const IXON: u32 = 1024;
1951 pub const IXANY: u32 = 2048;
1952 pub const IXOFF: u32 = 4096;
1953 pub const IMAXBEL: u32 = 8192;
1954 pub const IUTF8: u32 = 16384;
1955 pub const OPOST: u32 = 1;
1956 pub const OLCUC: u32 = 2;
1957 pub const ONLCR: u32 = 4;
1958 pub const OCRNL: u32 = 8;
1959 pub const ONOCR: u32 = 16;
1960 pub const ONLRET: u32 = 32;
1961 pub const OFILL: u32 = 64;
1962 pub const OFDEL: u32 = 128;
1963 pub const NLDLY: u32 = 256;
1964 pub const NL0: u32 = 0;
1965 pub const NL1: u32 = 256;
1966 pub const CRDLY: u32 = 1536;
1967 pub const CR0: u32 = 0;
1968 pub const CR1: u32 = 512;
1969 pub const CR2: u32 = 1024;
1970 pub const CR3: u32 = 1536;
1971 pub const TABDLY: u32 = 6144;
1972 pub const TAB0: u32 = 0;
1973 pub const TAB1: u32 = 2048;
1974 pub const TAB2: u32 = 4096;
1975 pub const TAB3: u32 = 6144;
1976 pub const XTABS: u32 = 6144;
1977 pub const BSDLY: u32 = 8192;
1978 pub const BS0: u32 = 0;
1979 pub const BS1: u32 = 8192;
1980 pub const VTDLY: u32 = 16384;
1981 pub const VT0: u32 = 0;
1982 pub const VT1: u32 = 16384;
1983 pub const FFDLY: u32 = 32768;
1984 pub const FF0: u32 = 0;
1985 pub const FF1: u32 = 32768;
1986 pub const PAGEOUT: u32 = 65536;
1987 pub const WRAP: u32 = 131072;
1988 pub const CBAUD: u32 = 4111;
1989 pub const B0: u32 = 0;
1990 pub const B50: u32 = 1;
1991 pub const B75: u32 = 2;
1992 pub const B110: u32 = 3;
1993 pub const B134: u32 = 4;
1994 pub const B150: u32 = 5;
1995 pub const B200: u32 = 6;
1996 pub const B300: u32 = 7;
1997 pub const B600: u32 = 8;
1998 pub const B1200: u32 = 9;
1999 pub const B1800: u32 = 10;
2000 pub const B2400: u32 = 11;
2001 pub const B4800: u32 = 12;
2002 pub const B9600: u32 = 13;
2003 pub const B19200: u32 = 14;
2004 pub const B38400: u32 = 15;
2005 pub const EXTA: u32 = 14;
2006 pub const EXTB: u32 = 15;
2007 pub const CSIZE: u32 = 48;
2008 pub const CS5: u32 = 0;
2009 pub const CS6: u32 = 16;
2010 pub const CS7: u32 = 32;
2011 pub const CS8: u32 = 48;
2012 pub const CSTOPB: u32 = 64;
2013 pub const CREAD: u32 = 128;
2014 pub const PARENB: u32 = 256;
2015 pub const PARODD: u32 = 512;
2016 pub const HUPCL: u32 = 1024;
2017 pub const CLOCAL: u32 = 2048;
2018 pub const CBAUDEX: u32 = 4096;
2019 pub const BOTHER: u32 = 4096;
2020 pub const B57600: u32 = 4097;
2021 pub const B115200: u32 = 4098;
2022 pub const B230400: u32 = 4099;
2023 pub const B460800: u32 = 4100;
2024 pub const B76800: u32 = 4101;
2025 pub const B153600: u32 = 4102;
2026 pub const B307200: u32 = 4103;
2027 pub const B614400: u32 = 4104;
2028 pub const B921600: u32 = 4105;
2029 pub const B500000: u32 = 4106;
2030 pub const B576000: u32 = 4107;
2031 pub const B1000000: u32 = 4108;
2032 pub const B1152000: u32 = 4109;
2033 pub const B1500000: u32 = 4110;
2034 pub const B2000000: u32 = 4111;
2035 pub const CIBAUD: u32 = 269418496;
2036 pub const CMSPAR: u32 = 1073741824;
2037 pub const CRTSCTS: u32 = 2147483648;
2038 pub const IBSHIFT: u32 = 16;
2039 pub const ISIG: u32 = 1;
2040 pub const ICANON: u32 = 2;
2041 pub const XCASE: u32 = 4;
2042 pub const ECHO: u32 = 8;
2043 pub const ECHOE: u32 = 16;
2044 pub const ECHOK: u32 = 32;
2045 pub const ECHONL: u32 = 64;
2046 pub const NOFLSH: u32 = 128;
2047 pub const TOSTOP: u32 = 256;
2048 pub const ECHOCTL: u32 = 512;
2049 pub const ECHOPRT: u32 = 1024;
2050 pub const ECHOKE: u32 = 2048;
2051 pub const DEFECHO: u32 = 4096;
2052 pub const FLUSHO: u32 = 8192;
2053 pub const PENDIN: u32 = 16384;
2054 pub const IEXTEN: u32 = 32768;
2055 pub const EXTPROC: u32 = 65536;
2056 pub const TIOCM_LE: u32 = 1;
2057 pub const TIOCM_DTR: u32 = 2;
2058 pub const TIOCM_RTS: u32 = 4;
2059 pub const TIOCM_ST: u32 = 8;
2060 pub const TIOCM_SR: u32 = 16;
2061 pub const TIOCM_CTS: u32 = 32;
2062 pub const TIOCM_CAR: u32 = 64;
2063 pub const TIOCM_RNG: u32 = 128;
2064 pub const TIOCM_DSR: u32 = 256;
2065 pub const TIOCM_CD: u32 = 64;
2066 pub const TIOCM_RI: u32 = 128;
2067 pub const TIOCM_OUT1: u32 = 8192;
2068 pub const TIOCM_OUT2: u32 = 16384;
2069 pub const TIOCM_LOOP: u32 = 32768;
2070 pub const TIOCSER_TEMT: u32 = 1;
2071 pub const TCOOFF: u32 = 0;
2072 pub const TCOON: u32 = 1;
2073 pub const TCIOFF: u32 = 2;
2074 pub const TCION: u32 = 3;
2075 pub const TCIFLUSH: u32 = 0;
2076 pub const TCOFLUSH: u32 = 1;
2077 pub const TCIOFLUSH: u32 = 2;
2078 pub const TCSANOW: u32 = 0;
2079 pub const TCSADRAIN: u32 = 1;
2080 pub const TCSAFLUSH: u32 = 2;
2081 pub const UIO_FASTIOV: u32 = 8;
2082 pub const UIO_MAXIOV: u32 = 1024;
2083 pub const UNIX_PATH_MAX: u32 = 108;
2084 pub const __NR_restart_syscall: u32 = 0;
2085 pub const __NR_exit: u32 = 1;
2086 pub const __NR_fork: u32 = 2;
2087 pub const __NR_read: u32 = 3;
2088 pub const __NR_write: u32 = 4;
2089 pub const __NR_open: u32 = 5;
2090 pub const __NR_close: u32 = 6;
2091 pub const __NR_wait4: u32 = 7;
2092 pub const __NR_creat: u32 = 8;
2093 pub const __NR_link: u32 = 9;
2094 pub const __NR_unlink: u32 = 10;
2095 pub const __NR_execv: u32 = 11;
2096 pub const __NR_chdir: u32 = 12;
2097 pub const __NR_chown: u32 = 13;
2098 pub const __NR_mknod: u32 = 14;
2099 pub const __NR_chmod: u32 = 15;
2100 pub const __NR_lchown: u32 = 16;
2101 pub const __NR_brk: u32 = 17;
2102 pub const __NR_perfctr: u32 = 18;
2103 pub const __NR_lseek: u32 = 19;
2104 pub const __NR_getpid: u32 = 20;
2105 pub const __NR_capget: u32 = 21;
2106 pub const __NR_capset: u32 = 22;
2107 pub const __NR_setuid: u32 = 23;
2108 pub const __NR_getuid: u32 = 24;
2109 pub const __NR_vmsplice: u32 = 25;
2110 pub const __NR_ptrace: u32 = 26;
2111 pub const __NR_alarm: u32 = 27;
2112 pub const __NR_sigaltstack: u32 = 28;
2113 pub const __NR_pause: u32 = 29;
2114 pub const __NR_utime: u32 = 30;
2115 pub const __NR_lchown32: u32 = 31;
2116 pub const __NR_fchown32: u32 = 32;
2117 pub const __NR_access: u32 = 33;
2118 pub const __NR_nice: u32 = 34;
2119 pub const __NR_chown32: u32 = 35;
2120 pub const __NR_sync: u32 = 36;
2121 pub const __NR_kill: u32 = 37;
2122 pub const __NR_stat: u32 = 38;
2123 pub const __NR_sendfile: u32 = 39;
2124 pub const __NR_lstat: u32 = 40;
2125 pub const __NR_dup: u32 = 41;
2126 pub const __NR_pipe: u32 = 42;
2127 pub const __NR_times: u32 = 43;
2128 pub const __NR_getuid32: u32 = 44;
2129 pub const __NR_umount2: u32 = 45;
2130 pub const __NR_setgid: u32 = 46;
2131 pub const __NR_getgid: u32 = 47;
2132 pub const __NR_signal: u32 = 48;
2133 pub const __NR_geteuid: u32 = 49;
2134 pub const __NR_getegid: u32 = 50;
2135 pub const __NR_acct: u32 = 51;
2136 pub const __NR_getgid32: u32 = 53;
2137 pub const __NR_ioctl: u32 = 54;
2138 pub const __NR_reboot: u32 = 55;
2139 pub const __NR_mmap2: u32 = 56;
2140 pub const __NR_symlink: u32 = 57;
2141 pub const __NR_readlink: u32 = 58;
2142 pub const __NR_execve: u32 = 59;
2143 pub const __NR_umask: u32 = 60;
2144 pub const __NR_chroot: u32 = 61;
2145 pub const __NR_fstat: u32 = 62;
2146 pub const __NR_fstat64: u32 = 63;
2147 pub const __NR_getpagesize: u32 = 64;
2148 pub const __NR_msync: u32 = 65;
2149 pub const __NR_vfork: u32 = 66;
2150 pub const __NR_pread64: u32 = 67;
2151 pub const __NR_pwrite64: u32 = 68;
2152 pub const __NR_geteuid32: u32 = 69;
2153 pub const __NR_getegid32: u32 = 70;
2154 pub const __NR_mmap: u32 = 71;
2155 pub const __NR_setreuid32: u32 = 72;
2156 pub const __NR_munmap: u32 = 73;
2157 pub const __NR_mprotect: u32 = 74;
2158 pub const __NR_madvise: u32 = 75;
2159 pub const __NR_vhangup: u32 = 76;
2160 pub const __NR_truncate64: u32 = 77;
2161 pub const __NR_mincore: u32 = 78;
2162 pub const __NR_getgroups: u32 = 79;
2163 pub const __NR_setgroups: u32 = 80;
2164 pub const __NR_getpgrp: u32 = 81;
2165 pub const __NR_setgroups32: u32 = 82;
2166 pub const __NR_setitimer: u32 = 83;
2167 pub const __NR_ftruncate64: u32 = 84;
2168 pub const __NR_swapon: u32 = 85;
2169 pub const __NR_getitimer: u32 = 86;
2170 pub const __NR_setuid32: u32 = 87;
2171 pub const __NR_sethostname: u32 = 88;
2172 pub const __NR_setgid32: u32 = 89;
2173 pub const __NR_dup2: u32 = 90;
2174 pub const __NR_setfsuid32: u32 = 91;
2175 pub const __NR_fcntl: u32 = 92;
2176 pub const __NR_select: u32 = 93;
2177 pub const __NR_setfsgid32: u32 = 94;
2178 pub const __NR_fsync: u32 = 95;
2179 pub const __NR_setpriority: u32 = 96;
2180 pub const __NR_socket: u32 = 97;
2181 pub const __NR_connect: u32 = 98;
2182 pub const __NR_accept: u32 = 99;
2183 pub const __NR_getpriority: u32 = 100;
2184 pub const __NR_rt_sigreturn: u32 = 101;
2185 pub const __NR_rt_sigaction: u32 = 102;
2186 pub const __NR_rt_sigprocmask: u32 = 103;
2187 pub const __NR_rt_sigpending: u32 = 104;
2188 pub const __NR_rt_sigtimedwait: u32 = 105;
2189 pub const __NR_rt_sigqueueinfo: u32 = 106;
2190 pub const __NR_rt_sigsuspend: u32 = 107;
2191 pub const __NR_setresuid32: u32 = 108;
2192 pub const __NR_getresuid32: u32 = 109;
2193 pub const __NR_setresgid32: u32 = 110;
2194 pub const __NR_getresgid32: u32 = 111;
2195 pub const __NR_setregid32: u32 = 112;
2196 pub const __NR_recvmsg: u32 = 113;
2197 pub const __NR_sendmsg: u32 = 114;
2198 pub const __NR_getgroups32: u32 = 115;
2199 pub const __NR_gettimeofday: u32 = 116;
2200 pub const __NR_getrusage: u32 = 117;
2201 pub const __NR_getsockopt: u32 = 118;
2202 pub const __NR_getcwd: u32 = 119;
2203 pub const __NR_readv: u32 = 120;
2204 pub const __NR_writev: u32 = 121;
2205 pub const __NR_settimeofday: u32 = 122;
2206 pub const __NR_fchown: u32 = 123;
2207 pub const __NR_fchmod: u32 = 124;
2208 pub const __NR_recvfrom: u32 = 125;
2209 pub const __NR_setreuid: u32 = 126;
2210 pub const __NR_setregid: u32 = 127;
2211 pub const __NR_rename: u32 = 128;
2212 pub const __NR_truncate: u32 = 129;
2213 pub const __NR_ftruncate: u32 = 130;
2214 pub const __NR_flock: u32 = 131;
2215 pub const __NR_lstat64: u32 = 132;
2216 pub const __NR_sendto: u32 = 133;
2217 pub const __NR_shutdown: u32 = 134;
2218 pub const __NR_socketpair: u32 = 135;
2219 pub const __NR_mkdir: u32 = 136;
2220 pub const __NR_rmdir: u32 = 137;
2221 pub const __NR_utimes: u32 = 138;
2222 pub const __NR_stat64: u32 = 139;
2223 pub const __NR_sendfile64: u32 = 140;
2224 pub const __NR_getpeername: u32 = 141;
2225 pub const __NR_futex: u32 = 142;
2226 pub const __NR_gettid: u32 = 143;
2227 pub const __NR_getrlimit: u32 = 144;
2228 pub const __NR_setrlimit: u32 = 145;
2229 pub const __NR_pivot_root: u32 = 146;
2230 pub const __NR_prctl: u32 = 147;
2231 pub const __NR_pciconfig_read: u32 = 148;
2232 pub const __NR_pciconfig_write: u32 = 149;
2233 pub const __NR_getsockname: u32 = 150;
2234 pub const __NR_inotify_init: u32 = 151;
2235 pub const __NR_inotify_add_watch: u32 = 152;
2236 pub const __NR_poll: u32 = 153;
2237 pub const __NR_getdents64: u32 = 154;
2238 pub const __NR_fcntl64: u32 = 155;
2239 pub const __NR_inotify_rm_watch: u32 = 156;
2240 pub const __NR_statfs: u32 = 157;
2241 pub const __NR_fstatfs: u32 = 158;
2242 pub const __NR_umount: u32 = 159;
2243 pub const __NR_sched_set_affinity: u32 = 160;
2244 pub const __NR_sched_get_affinity: u32 = 161;
2245 pub const __NR_getdomainname: u32 = 162;
2246 pub const __NR_setdomainname: u32 = 163;
2247 pub const __NR_quotactl: u32 = 165;
2248 pub const __NR_set_tid_address: u32 = 166;
2249 pub const __NR_mount: u32 = 167;
2250 pub const __NR_ustat: u32 = 168;
2251 pub const __NR_setxattr: u32 = 169;
2252 pub const __NR_lsetxattr: u32 = 170;
2253 pub const __NR_fsetxattr: u32 = 171;
2254 pub const __NR_getxattr: u32 = 172;
2255 pub const __NR_lgetxattr: u32 = 173;
2256 pub const __NR_getdents: u32 = 174;
2257 pub const __NR_setsid: u32 = 175;
2258 pub const __NR_fchdir: u32 = 176;
2259 pub const __NR_fgetxattr: u32 = 177;
2260 pub const __NR_listxattr: u32 = 178;
2261 pub const __NR_llistxattr: u32 = 179;
2262 pub const __NR_flistxattr: u32 = 180;
2263 pub const __NR_removexattr: u32 = 181;
2264 pub const __NR_lremovexattr: u32 = 182;
2265 pub const __NR_sigpending: u32 = 183;
2266 pub const __NR_query_module: u32 = 184;
2267 pub const __NR_setpgid: u32 = 185;
2268 pub const __NR_fremovexattr: u32 = 186;
2269 pub const __NR_tkill: u32 = 187;
2270 pub const __NR_exit_group: u32 = 188;
2271 pub const __NR_uname: u32 = 189;
2272 pub const __NR_init_module: u32 = 190;
2273 pub const __NR_personality: u32 = 191;
2274 pub const __NR_remap_file_pages: u32 = 192;
2275 pub const __NR_epoll_create: u32 = 193;
2276 pub const __NR_epoll_ctl: u32 = 194;
2277 pub const __NR_epoll_wait: u32 = 195;
2278 pub const __NR_ioprio_set: u32 = 196;
2279 pub const __NR_getppid: u32 = 197;
2280 pub const __NR_sigaction: u32 = 198;
2281 pub const __NR_sgetmask: u32 = 199;
2282 pub const __NR_ssetmask: u32 = 200;
2283 pub const __NR_sigsuspend: u32 = 201;
2284 pub const __NR_oldlstat: u32 = 202;
2285 pub const __NR_uselib: u32 = 203;
2286 pub const __NR_readdir: u32 = 204;
2287 pub const __NR_readahead: u32 = 205;
2288 pub const __NR_socketcall: u32 = 206;
2289 pub const __NR_syslog: u32 = 207;
2290 pub const __NR_lookup_dcookie: u32 = 208;
2291 pub const __NR_fadvise64: u32 = 209;
2292 pub const __NR_fadvise64_64: u32 = 210;
2293 pub const __NR_tgkill: u32 = 211;
2294 pub const __NR_waitpid: u32 = 212;
2295 pub const __NR_swapoff: u32 = 213;
2296 pub const __NR_sysinfo: u32 = 214;
2297 pub const __NR_ipc: u32 = 215;
2298 pub const __NR_sigreturn: u32 = 216;
2299 pub const __NR_clone: u32 = 217;
2300 pub const __NR_ioprio_get: u32 = 218;
2301 pub const __NR_adjtimex: u32 = 219;
2302 pub const __NR_sigprocmask: u32 = 220;
2303 pub const __NR_create_module: u32 = 221;
2304 pub const __NR_delete_module: u32 = 222;
2305 pub const __NR_get_kernel_syms: u32 = 223;
2306 pub const __NR_getpgid: u32 = 224;
2307 pub const __NR_bdflush: u32 = 225;
2308 pub const __NR_sysfs: u32 = 226;
2309 pub const __NR_afs_syscall: u32 = 227;
2310 pub const __NR_setfsuid: u32 = 228;
2311 pub const __NR_setfsgid: u32 = 229;
2312 pub const __NR__newselect: u32 = 230;
2313 pub const __NR_time: u32 = 231;
2314 pub const __NR_splice: u32 = 232;
2315 pub const __NR_stime: u32 = 233;
2316 pub const __NR_statfs64: u32 = 234;
2317 pub const __NR_fstatfs64: u32 = 235;
2318 pub const __NR__llseek: u32 = 236;
2319 pub const __NR_mlock: u32 = 237;
2320 pub const __NR_munlock: u32 = 238;
2321 pub const __NR_mlockall: u32 = 239;
2322 pub const __NR_munlockall: u32 = 240;
2323 pub const __NR_sched_setparam: u32 = 241;
2324 pub const __NR_sched_getparam: u32 = 242;
2325 pub const __NR_sched_setscheduler: u32 = 243;
2326 pub const __NR_sched_getscheduler: u32 = 244;
2327 pub const __NR_sched_yield: u32 = 245;
2328 pub const __NR_sched_get_priority_max: u32 = 246;
2329 pub const __NR_sched_get_priority_min: u32 = 247;
2330 pub const __NR_sched_rr_get_interval: u32 = 248;
2331 pub const __NR_nanosleep: u32 = 249;
2332 pub const __NR_mremap: u32 = 250;
2333 pub const __NR__sysctl: u32 = 251;
2334 pub const __NR_getsid: u32 = 252;
2335 pub const __NR_fdatasync: u32 = 253;
2336 pub const __NR_nfsservctl: u32 = 254;
2337 pub const __NR_sync_file_range: u32 = 255;
2338 pub const __NR_clock_settime: u32 = 256;
2339 pub const __NR_clock_gettime: u32 = 257;
2340 pub const __NR_clock_getres: u32 = 258;
2341 pub const __NR_clock_nanosleep: u32 = 259;
2342 pub const __NR_sched_getaffinity: u32 = 260;
2343 pub const __NR_sched_setaffinity: u32 = 261;
2344 pub const __NR_timer_settime: u32 = 262;
2345 pub const __NR_timer_gettime: u32 = 263;
2346 pub const __NR_timer_getoverrun: u32 = 264;
2347 pub const __NR_timer_delete: u32 = 265;
2348 pub const __NR_timer_create: u32 = 266;
2349 pub const __NR_vserver: u32 = 267;
2350 pub const __NR_io_setup: u32 = 268;
2351 pub const __NR_io_destroy: u32 = 269;
2352 pub const __NR_io_submit: u32 = 270;
2353 pub const __NR_io_cancel: u32 = 271;
2354 pub const __NR_io_getevents: u32 = 272;
2355 pub const __NR_mq_open: u32 = 273;
2356 pub const __NR_mq_unlink: u32 = 274;
2357 pub const __NR_mq_timedsend: u32 = 275;
2358 pub const __NR_mq_timedreceive: u32 = 276;
2359 pub const __NR_mq_notify: u32 = 277;
2360 pub const __NR_mq_getsetattr: u32 = 278;
2361 pub const __NR_waitid: u32 = 279;
2362 pub const __NR_tee: u32 = 280;
2363 pub const __NR_add_key: u32 = 281;
2364 pub const __NR_request_key: u32 = 282;
2365 pub const __NR_keyctl: u32 = 283;
2366 pub const __NR_openat: u32 = 284;
2367 pub const __NR_mkdirat: u32 = 285;
2368 pub const __NR_mknodat: u32 = 286;
2369 pub const __NR_fchownat: u32 = 287;
2370 pub const __NR_futimesat: u32 = 288;
2371 pub const __NR_fstatat64: u32 = 289;
2372 pub const __NR_unlinkat: u32 = 290;
2373 pub const __NR_renameat: u32 = 291;
2374 pub const __NR_linkat: u32 = 292;
2375 pub const __NR_symlinkat: u32 = 293;
2376 pub const __NR_readlinkat: u32 = 294;
2377 pub const __NR_fchmodat: u32 = 295;
2378 pub const __NR_faccessat: u32 = 296;
2379 pub const __NR_pselect6: u32 = 297;
2380 pub const __NR_ppoll: u32 = 298;
2381 pub const __NR_unshare: u32 = 299;
2382 pub const __NR_set_robust_list: u32 = 300;
2383 pub const __NR_get_robust_list: u32 = 301;
2384 pub const __NR_migrate_pages: u32 = 302;
2385 pub const __NR_mbind: u32 = 303;
2386 pub const __NR_get_mempolicy: u32 = 304;
2387 pub const __NR_set_mempolicy: u32 = 305;
2388 pub const __NR_kexec_load: u32 = 306;
2389 pub const __NR_move_pages: u32 = 307;
2390 pub const __NR_getcpu: u32 = 308;
2391 pub const __NR_epoll_pwait: u32 = 309;
2392 pub const __NR_utimensat: u32 = 310;
2393 pub const __NR_signalfd: u32 = 311;
2394 pub const __NR_timerfd_create: u32 = 312;
2395 pub const __NR_eventfd: u32 = 313;
2396 pub const __NR_fallocate: u32 = 314;
2397 pub const __NR_timerfd_settime: u32 = 315;
2398 pub const __NR_timerfd_gettime: u32 = 316;
2399 pub const __NR_signalfd4: u32 = 317;
2400 pub const __NR_eventfd2: u32 = 318;
2401 pub const __NR_epoll_create1: u32 = 319;
2402 pub const __NR_dup3: u32 = 320;
2403 pub const __NR_pipe2: u32 = 321;
2404 pub const __NR_inotify_init1: u32 = 322;
2405 pub const __NR_accept4: u32 = 323;
2406 pub const __NR_preadv: u32 = 324;
2407 pub const __NR_pwritev: u32 = 325;
2408 pub const __NR_rt_tgsigqueueinfo: u32 = 326;
2409 pub const __NR_perf_event_open: u32 = 327;
2410 pub const __NR_recvmmsg: u32 = 328;
2411 pub const __NR_fanotify_init: u32 = 329;
2412 pub const __NR_fanotify_mark: u32 = 330;
2413 pub const __NR_prlimit64: u32 = 331;
2414 pub const __NR_name_to_handle_at: u32 = 332;
2415 pub const __NR_open_by_handle_at: u32 = 333;
2416 pub const __NR_clock_adjtime: u32 = 334;
2417 pub const __NR_syncfs: u32 = 335;
2418 pub const __NR_sendmmsg: u32 = 336;
2419 pub const __NR_setns: u32 = 337;
2420 pub const __NR_process_vm_readv: u32 = 338;
2421 pub const __NR_process_vm_writev: u32 = 339;
2422 pub const __NR_kern_features: u32 = 340;
2423 pub const __NR_kcmp: u32 = 341;
2424 pub const __NR_finit_module: u32 = 342;
2425 pub const __NR_sched_setattr: u32 = 343;
2426 pub const __NR_sched_getattr: u32 = 344;
2427 pub const __NR_renameat2: u32 = 345;
2428 pub const __NR_seccomp: u32 = 346;
2429 pub const __NR_getrandom: u32 = 347;
2430 pub const __NR_memfd_create: u32 = 348;
2431 pub const __NR_bpf: u32 = 349;
2432 pub const __NR_execveat: u32 = 350;
2433 pub const __NR_membarrier: u32 = 351;
2434 pub const __NR_userfaultfd: u32 = 352;
2435 pub const __NR_bind: u32 = 353;
2436 pub const __NR_listen: u32 = 354;
2437 pub const __NR_setsockopt: u32 = 355;
2438 pub const __NR_mlock2: u32 = 356;
2439 pub const __NR_copy_file_range: u32 = 357;
2440 pub const __NR_preadv2: u32 = 358;
2441 pub const __NR_pwritev2: u32 = 359;
2442 pub const __NR_statx: u32 = 360;
2443 pub const __NR_io_pgetevents: u32 = 361;
2444 pub const __NR_pkey_mprotect: u32 = 362;
2445 pub const __NR_pkey_alloc: u32 = 363;
2446 pub const __NR_pkey_free: u32 = 364;
2447 pub const __NR_rseq: u32 = 365;
2448 pub const __NR_semget: u32 = 393;
2449 pub const __NR_semctl: u32 = 394;
2450 pub const __NR_shmget: u32 = 395;
2451 pub const __NR_shmctl: u32 = 396;
2452 pub const __NR_shmat: u32 = 397;
2453 pub const __NR_shmdt: u32 = 398;
2454 pub const __NR_msgget: u32 = 399;
2455 pub const __NR_msgsnd: u32 = 400;
2456 pub const __NR_msgrcv: u32 = 401;
2457 pub const __NR_msgctl: u32 = 402;
2458 pub const __NR_clock_gettime64: u32 = 403;
2459 pub const __NR_clock_settime64: u32 = 404;
2460 pub const __NR_clock_adjtime64: u32 = 405;
2461 pub const __NR_clock_getres_time64: u32 = 406;
2462 pub const __NR_clock_nanosleep_time64: u32 = 407;
2463 pub const __NR_timer_gettime64: u32 = 408;
2464 pub const __NR_timer_settime64: u32 = 409;
2465 pub const __NR_timerfd_gettime64: u32 = 410;
2466 pub const __NR_timerfd_settime64: u32 = 411;
2467 pub const __NR_utimensat_time64: u32 = 412;
2468 pub const __NR_pselect6_time64: u32 = 413;
2469 pub const __NR_ppoll_time64: u32 = 414;
2470 pub const __NR_io_pgetevents_time64: u32 = 416;
2471 pub const __NR_recvmmsg_time64: u32 = 417;
2472 pub const __NR_mq_timedsend_time64: u32 = 418;
2473 pub const __NR_mq_timedreceive_time64: u32 = 419;
2474 pub const __NR_semtimedop_time64: u32 = 420;
2475 pub const __NR_rt_sigtimedwait_time64: u32 = 421;
2476 pub const __NR_futex_time64: u32 = 422;
2477 pub const __NR_sched_rr_get_interval_time64: u32 = 423;
2478 pub const __NR_pidfd_send_signal: u32 = 424;
2479 pub const __NR_io_uring_setup: u32 = 425;
2480 pub const __NR_io_uring_enter: u32 = 426;
2481 pub const __NR_io_uring_register: u32 = 427;
2482 pub const __NR_open_tree: u32 = 428;
2483 pub const __NR_move_mount: u32 = 429;
2484 pub const __NR_fsopen: u32 = 430;
2485 pub const __NR_fsconfig: u32 = 431;
2486 pub const __NR_fsmount: u32 = 432;
2487 pub const __NR_fspick: u32 = 433;
2488 pub const __NR_pidfd_open: u32 = 434;
2489 pub const __NR_close_range: u32 = 436;
2490 pub const __NR_openat2: u32 = 437;
2491 pub const __NR_pidfd_getfd: u32 = 438;
2492 pub const __NR_faccessat2: u32 = 439;
2493 pub const __NR_process_madvise: u32 = 440;
2494 pub const __NR_epoll_pwait2: u32 = 441;
2495 pub const __NR_mount_setattr: u32 = 442;
2496 pub const __NR_quotactl_fd: u32 = 443;
2497 pub const __NR_landlock_create_ruleset: u32 = 444;
2498 pub const __NR_landlock_add_rule: u32 = 445;
2499 pub const __NR_landlock_restrict_self: u32 = 446;
2500 pub const __NR_process_mrelease: u32 = 448;
2501 pub const __NR_futex_waitv: u32 = 449;
2502 pub const __NR_set_mempolicy_home_node: u32 = 450;
2503 pub const KERN_FEATURE_MIXED_MODE_STACK: u32 = 1;
2504 pub const __OLD_UTS_LEN: u32 = 8;
2505 pub const __NEW_UTS_LEN: u32 = 64;
2506 pub const WNOHANG: u32 = 1;
2507 pub const WUNTRACED: u32 = 2;
2508 pub const WSTOPPED: u32 = 2;
2509 pub const WEXITED: u32 = 4;
2510 pub const WCONTINUED: u32 = 8;
2511 pub const WNOWAIT: u32 = 16777216;
2512 pub const __WNOTHREAD: u32 = 536870912;
2513 pub const __WALL: u32 = 1073741824;
2514 pub const __WCLONE: u32 = 2147483648;
2515 pub const P_ALL: u32 = 0;
2516 pub const P_PID: u32 = 1;
2517 pub const P_PGID: u32 = 2;
2518 pub const P_PIDFD: u32 = 3;
2519 pub const MFD_CLOEXEC: u32 = 1;
2520 pub const MFD_ALLOW_SEALING: u32 = 2;
2521 pub const MFD_HUGETLB: u32 = 4;
2522 pub const MFD_HUGE_SHIFT: u32 = 26;
2523 pub const MFD_HUGE_MASK: u32 = 63;
2524 pub const MFD_HUGE_64KB: u32 = 1073741824;
2525 pub const MFD_HUGE_512KB: u32 = 1275068416;
2526 pub const MFD_HUGE_1MB: u32 = 1342177280;
2527 pub const MFD_HUGE_2MB: u32 = 1409286144;
2528 pub const MFD_HUGE_8MB: u32 = 1543503872;
2529 pub const MFD_HUGE_16MB: u32 = 1610612736;
2530 pub const MFD_HUGE_32MB: u32 = 1677721600;
2531 pub const MFD_HUGE_256MB: u32 = 1879048192;
2532 pub const MFD_HUGE_512MB: u32 = 1946157056;
2533 pub const MFD_HUGE_1GB: u32 = 2013265920;
2534 pub const MFD_HUGE_2GB: u32 = 2080374784;
2535 pub const MFD_HUGE_16GB: u32 = 2281701376;
2536 pub const TFD_TIMER_ABSTIME: u32 = 1;
2537 pub const TFD_TIMER_CANCEL_ON_SET: u32 = 2;
2538 pub const TFD_CLOEXEC: u32 = 4194304;
2539 pub const TFD_NONBLOCK: u32 = 16384;
2540 pub const _UFFDIO_REGISTER: u32 = 0;
2541 pub const _UFFDIO_UNREGISTER: u32 = 1;
2542 pub const _UFFDIO_WAKE: u32 = 2;
2543 pub const _UFFDIO_COPY: u32 = 3;
2544 pub const _UFFDIO_ZEROPAGE: u32 = 4;
2545 pub const _UFFDIO_WRITEPROTECT: u32 = 6;
2546 pub const _UFFDIO_CONTINUE: u32 = 7;
2547 pub const _UFFDIO_API: u32 = 63;
2548 pub const UFFDIO: u32 = 170;
2549 pub const UFFD_EVENT_PAGEFAULT: u32 = 18;
2550 pub const UFFD_EVENT_FORK: u32 = 19;
2551 pub const UFFD_EVENT_REMAP: u32 = 20;
2552 pub const UFFD_EVENT_REMOVE: u32 = 21;
2553 pub const UFFD_EVENT_UNMAP: u32 = 22;
2554 pub const UFFD_PAGEFAULT_FLAG_WRITE: u32 = 1;
2555 pub const UFFD_PAGEFAULT_FLAG_WP: u32 = 2;
2556 pub const UFFD_PAGEFAULT_FLAG_MINOR: u32 = 4;
2557 pub const UFFD_FEATURE_PAGEFAULT_FLAG_WP: u32 = 1;
2558 pub const UFFD_FEATURE_EVENT_FORK: u32 = 2;
2559 pub const UFFD_FEATURE_EVENT_REMAP: u32 = 4;
2560 pub const UFFD_FEATURE_EVENT_REMOVE: u32 = 8;
2561 pub const UFFD_FEATURE_MISSING_HUGETLBFS: u32 = 16;
2562 pub const UFFD_FEATURE_MISSING_SHMEM: u32 = 32;
2563 pub const UFFD_FEATURE_EVENT_UNMAP: u32 = 64;
2564 pub const UFFD_FEATURE_SIGBUS: u32 = 128;
2565 pub const UFFD_FEATURE_THREAD_ID: u32 = 256;
2566 pub const UFFD_FEATURE_MINOR_HUGETLBFS: u32 = 512;
2567 pub const UFFD_FEATURE_MINOR_SHMEM: u32 = 1024;
2568 pub const UFFD_USER_MODE_ONLY: u32 = 1;
2569 pub const IORING_SETUP_IOPOLL: u32 = 1;
2570 pub const IORING_SETUP_SQPOLL: u32 = 2;
2571 pub const IORING_SETUP_SQ_AFF: u32 = 4;
2572 pub const IORING_SETUP_CQSIZE: u32 = 8;
2573 pub const IORING_SETUP_CLAMP: u32 = 16;
2574 pub const IORING_SETUP_ATTACH_WQ: u32 = 32;
2575 pub const IORING_SETUP_R_DISABLED: u32 = 64;
2576 pub const IORING_FSYNC_DATASYNC: u32 = 1;
2577 pub const IORING_TIMEOUT_ABS: u32 = 1;
2578 pub const IORING_TIMEOUT_UPDATE: u32 = 2;
2579 pub const IORING_TIMEOUT_BOOTTIME: u32 = 4;
2580 pub const IORING_TIMEOUT_REALTIME: u32 = 8;
2581 pub const IORING_LINK_TIMEOUT_UPDATE: u32 = 16;
2582 pub const IORING_TIMEOUT_ETIME_SUCCESS: u32 = 32;
2583 pub const IORING_TIMEOUT_CLOCK_MASK: u32 = 12;
2584 pub const IORING_TIMEOUT_UPDATE_MASK: u32 = 18;
2585 pub const SPLICE_F_FD_IN_FIXED: u32 = 2147483648;
2586 pub const IORING_POLL_ADD_MULTI: u32 = 1;
2587 pub const IORING_POLL_UPDATE_EVENTS: u32 = 2;
2588 pub const IORING_POLL_UPDATE_USER_DATA: u32 = 4;
2589 pub const IORING_CQE_F_BUFFER: u32 = 1;
2590 pub const IORING_CQE_F_MORE: u32 = 2;
2591 pub const IORING_OFF_SQ_RING: u32 = 0;
2592 pub const IORING_OFF_CQ_RING: u32 = 134217728;
2593 pub const IORING_OFF_SQES: u32 = 268435456;
2594 pub const IORING_SQ_NEED_WAKEUP: u32 = 1;
2595 pub const IORING_SQ_CQ_OVERFLOW: u32 = 2;
2596 pub const IORING_CQ_EVENTFD_DISABLED: u32 = 1;
2597 pub const IORING_ENTER_GETEVENTS: u32 = 1;
2598 pub const IORING_ENTER_SQ_WAKEUP: u32 = 2;
2599 pub const IORING_ENTER_SQ_WAIT: u32 = 4;
2600 pub const IORING_ENTER_EXT_ARG: u32 = 8;
2601 pub const IORING_FEAT_SINGLE_MMAP: u32 = 1;
2602 pub const IORING_FEAT_NODROP: u32 = 2;
2603 pub const IORING_FEAT_SUBMIT_STABLE: u32 = 4;
2604 pub const IORING_FEAT_RW_CUR_POS: u32 = 8;
2605 pub const IORING_FEAT_CUR_PERSONALITY: u32 = 16;
2606 pub const IORING_FEAT_FAST_POLL: u32 = 32;
2607 pub const IORING_FEAT_POLL_32BITS: u32 = 64;
2608 pub const IORING_FEAT_SQPOLL_NONFIXED: u32 = 128;
2609 pub const IORING_FEAT_EXT_ARG: u32 = 256;
2610 pub const IORING_FEAT_NATIVE_WORKERS: u32 = 512;
2611 pub const IORING_FEAT_RSRC_TAGS: u32 = 1024;
2612 pub const IORING_FEAT_CQE_SKIP: u32 = 2048;
2613 pub const IORING_REGISTER_FILES_SKIP: i32 = -2;
2614 pub const IO_URING_OP_SUPPORTED: u32 = 1;
2615 pub const DT_UNKNOWN: u32 = 0;
2616 pub const DT_FIFO: u32 = 1;
2617 pub const DT_CHR: u32 = 2;
2618 pub const DT_DIR: u32 = 4;
2619 pub const DT_BLK: u32 = 6;
2620 pub const DT_REG: u32 = 8;
2621 pub const DT_LNK: u32 = 10;
2622 pub const DT_SOCK: u32 = 12;
2623 pub const SHUT_RD: u32 = 0;
2624 pub const SHUT_WR: u32 = 1;
2625 pub const SHUT_RDWR: u32 = 2;
2626 pub const STAT_HAVE_NSEC: u32 = 1;
2627 pub const SOCK_STREAM: u32 = 1;
2628 pub const SOCK_DGRAM: u32 = 2;
2629 pub const SOCK_RAW: u32 = 3;
2630 pub const SOCK_RDM: u32 = 4;
2631 pub const SOCK_SEQPACKET: u32 = 5;
2632 pub const F_OK: u32 = 0;
2633 pub const R_OK: u32 = 4;
2634 pub const W_OK: u32 = 2;
2635 pub const X_OK: u32 = 1;
2636 pub const UTIME_NOW: u32 = 1073741823;
2637 pub const UTIME_OMIT: u32 = 1073741822;
2638 pub const MSG_DONTWAIT: u32 = 64;
2639 pub const AF_UNSPEC: u32 = 0;
2640 pub const AF_UNIX: u32 = 1;
2641 pub const AF_INET: u32 = 2;
2642 pub const AF_AX25: u32 = 3;
2643 pub const AF_IPX: u32 = 4;
2644 pub const AF_APPLETALK: u32 = 5;
2645 pub const AF_NETROM: u32 = 6;
2646 pub const AF_BRIDGE: u32 = 7;
2647 pub const AF_ATMPVC: u32 = 8;
2648 pub const AF_X25: u32 = 9;
2649 pub const AF_INET6: u32 = 10;
2650 pub const AF_ROSE: u32 = 11;
2651 pub const AF_DECnet: u32 = 12;
2652 pub const AF_NETBEUI: u32 = 13;
2653 pub const AF_SECURITY: u32 = 14;
2654 pub const AF_KEY: u32 = 15;
2655 pub const AF_NETLINK: u32 = 16;
2656 pub const AF_PACKET: u32 = 17;
2657 pub const AF_ASH: u32 = 18;
2658 pub const AF_ECONET: u32 = 19;
2659 pub const AF_ATMSVC: u32 = 20;
2660 pub const AF_RDS: u32 = 21;
2661 pub const AF_SNA: u32 = 22;
2662 pub const AF_IRDA: u32 = 23;
2663 pub const AF_PPPOX: u32 = 24;
2664 pub const AF_WANPIPE: u32 = 25;
2665 pub const AF_LLC: u32 = 26;
2666 pub const AF_CAN: u32 = 29;
2667 pub const AF_TIPC: u32 = 30;
2668 pub const AF_BLUETOOTH: u32 = 31;
2669 pub const AF_IUCV: u32 = 32;
2670 pub const AF_RXRPC: u32 = 33;
2671 pub const AF_ISDN: u32 = 34;
2672 pub const AF_PHONET: u32 = 35;
2673 pub const AF_IEEE802154: u32 = 36;
2674 pub const AF_MAX: u32 = 37;
2675 pub const MSG_OOB: u32 = 1;
2676 pub const MSG_PEEK: u32 = 2;
2677 pub const MSG_DONTROUTE: u32 = 4;
2678 pub const MSG_CTRUNC: u32 = 8;
2679 pub const MSG_PROBE: u32 = 16;
2680 pub const MSG_TRUNC: u32 = 32;
2681 pub const MSG_EOR: u32 = 128;
2682 pub const MSG_WAITALL: u32 = 256;
2683 pub const MSG_FIN: u32 = 512;
2684 pub const MSG_SYN: u32 = 1024;
2685 pub const MSG_CONFIRM: u32 = 2048;
2686 pub const MSG_RST: u32 = 4096;
2687 pub const MSG_ERRQUEUE: u32 = 8192;
2688 pub const MSG_NOSIGNAL: u32 = 16384;
2689 pub const MSG_MORE: u32 = 32768;
2690 pub const MSG_CMSG_CLOEXEC: u32 = 1073741824;
2691 pub const STDIN_FILENO: u32 = 0;
2692 pub const STDOUT_FILENO: u32 = 1;
2693 pub const STDERR_FILENO: u32 = 2;
2694 pub const RWF_HIPRI: u32 = 1;
2695 pub const RWF_DSYNC: u32 = 2;
2696 pub const RWF_SYNC: u32 = 4;
2697 pub const RWF_NOWAIT: u32 = 8;
2698 pub const RWF_APPEND: u32 = 16;
2699 pub const EFD_SEMAPHORE: u32 = 1;
2700 pub const EFD_CLOEXEC: u32 = 4194304;
2701 pub const EFD_NONBLOCK: u32 = 16384;
2702 pub const EPOLLIN: u32 = 1;
2703 pub const EPOLLPRI: u32 = 2;
2704 pub const EPOLLOUT: u32 = 4;
2705 pub const EPOLLERR: u32 = 8;
2706 pub const EPOLLHUP: u32 = 16;
2707 pub const EPOLLNVAL: u32 = 32;
2708 pub const EPOLLRDNORM: u32 = 64;
2709 pub const EPOLLRDBAND: u32 = 128;
2710 pub const EPOLLWRNORM: u32 = 256;
2711 pub const EPOLLWRBAND: u32 = 512;
2712 pub const EPOLLMSG: u32 = 1024;
2713 pub const EPOLLRDHUP: u32 = 8192;
2714 pub const EPOLLEXCLUSIVE: u32 = 268435456;
2715 pub const EPOLLWAKEUP: u32 = 536870912;
2716 pub const EPOLLONESHOT: u32 = 1073741824;
2717 pub const EPOLLET: u32 = 2147483648;
2718 pub const TFD_SHARED_FCNTL_FLAGS: u32 = 4210688;
2719 pub const TFD_CREATE_FLAGS: u32 = 4210688;
2720 pub const TFD_SETTIME_FLAGS: u32 = 1;
2721 pub const SCM_RIGHTS: u32 = 1;
2722 pub const SCM_CREDENTIALS: u32 = 2;
2723 pub const SCM_SECURITY: u32 = 3;
2724 pub const UFFD_API: u32 = 170;
2725 pub const UFFDIO_REGISTER_MODE_MISSING: u32 = 1;
2726 pub const UFFDIO_REGISTER_MODE_WP: u32 = 2;
2727 pub const UFFDIO_REGISTER_MODE_MINOR: u32 = 4;
2728 pub const UFFDIO_COPY_MODE_DONTWAKE: u32 = 1;
2729 pub const UFFDIO_COPY_MODE_WP: u32 = 2;
2730 pub const UFFDIO_ZEROPAGE_MODE_DONTWAKE: u32 = 1;
2731 pub const SPLICE_F_MOVE: u32 = 1;
2732 pub const SPLICE_F_NONBLOCK: u32 = 2;
2733 pub const SPLICE_F_MORE: u32 = 4;
2734 pub const SPLICE_F_GIFT: u32 = 8;
2735 pub type size_t = crate::ctypes::c_uint;
2736 pub type ssize_t = crate::ctypes::c_int;
2737 pub type __s8 = crate::ctypes::c_schar;
2738 pub type __u8 = crate::ctypes::c_uchar;
2739 pub type __s16 = crate::ctypes::c_short;
2740 pub type __u16 = crate::ctypes::c_ushort;
2741 pub type __s32 = crate::ctypes::c_int;
2742 pub type __u32 = crate::ctypes::c_uint;
2743 pub type __s64 = crate::ctypes::c_longlong;
2744 pub type __u64 = crate::ctypes::c_ulonglong;
2745 #[repr(C)]
2746 #[derive(Debug, Copy, Clone)]
2747 pub struct __kernel_fd_set {
2748 pub fds_bits: [crate::ctypes::c_ulong; 32usize],
2749 }
2750 pub type __kernel_sighandler_t = ::core::option::Option<unsafe extern "C" fn(arg1: crate::ctypes::c_int)>;
2751 pub type __kernel_key_t = crate::ctypes::c_int;
2752 pub type __kernel_mqd_t = crate::ctypes::c_int;
2753 pub type __kernel_size_t = crate::ctypes::c_uint;
2754 pub type __kernel_ssize_t = crate::ctypes::c_int;
2755 pub type __kernel_ptrdiff_t = crate::ctypes::c_long;
2756 pub type __kernel_ipc_pid_t = crate::ctypes::c_ushort;
2757 pub type __kernel_uid_t = crate::ctypes::c_ushort;
2758 pub type __kernel_gid_t = crate::ctypes::c_ushort;
2759 pub type __kernel_mode_t = crate::ctypes::c_ushort;
2760 pub type __kernel_daddr_t = crate::ctypes::c_long;
2761 pub type __kernel_old_dev_t = crate::ctypes::c_ushort;
2762 pub type __kernel_long_t = crate::ctypes::c_long;
2763 pub type __kernel_ulong_t = crate::ctypes::c_ulong;
2764 pub type __kernel_ino_t = __kernel_ulong_t;
2765 pub type __kernel_pid_t = crate::ctypes::c_int;
2766 pub type __kernel_suseconds_t = __kernel_long_t;
2767 pub type __kernel_uid32_t = crate::ctypes::c_uint;
2768 pub type __kernel_gid32_t = crate::ctypes::c_uint;
2769 pub type __kernel_old_uid_t = __kernel_uid_t;
2770 pub type __kernel_old_gid_t = __kernel_gid_t;
2771 #[repr(C)]
2772 #[derive(Debug, Copy, Clone)]
2773 pub struct __kernel_fsid_t {
2774 pub val: [crate::ctypes::c_int; 2usize],
2775 }
2776 pub type __kernel_off_t = __kernel_long_t;
2777 pub type __kernel_loff_t = crate::ctypes::c_longlong;
2778 pub type __kernel_old_time_t = __kernel_long_t;
2779 pub type __kernel_time_t = __kernel_long_t;
2780 pub type __kernel_time64_t = crate::ctypes::c_longlong;
2781 pub type __kernel_clock_t = __kernel_long_t;
2782 pub type __kernel_timer_t = crate::ctypes::c_int;
2783 pub type __kernel_clockid_t = crate::ctypes::c_int;
2784 pub type __kernel_caddr_t = *mut crate::ctypes::c_char;
2785 pub type __kernel_uid16_t = crate::ctypes::c_ushort;
2786 pub type __kernel_gid16_t = crate::ctypes::c_ushort;
2787 pub type __le16 = __u16;
2788 pub type __be16 = __u16;
2789 pub type __le32 = __u32;
2790 pub type __be32 = __u32;
2791 pub type __le64 = __u64;
2792 pub type __be64 = __u64;
2793 pub type __sum16 = __u16;
2794 pub type __wsum = __u32;
2795 pub type __poll_t = crate::ctypes::c_uint;
2796 #[repr(C)]
2797 #[derive(Debug, Copy, Clone)]
2798 pub struct f_owner_ex {
2799 pub type_: crate::ctypes::c_int,
2800 pub pid: __kernel_pid_t,
2801 }
2802 #[repr(C)]
2803 #[derive(Debug, Copy, Clone)]
2804 pub struct flock {
2805 pub l_type: crate::ctypes::c_short,
2806 pub l_whence: crate::ctypes::c_short,
2807 pub l_start: __kernel_off_t,
2808 pub l_len: __kernel_off_t,
2809 pub l_pid: __kernel_pid_t,
2810 pub __unused: crate::ctypes::c_short,
2811 }
2812 #[repr(C)]
2813 #[derive(Debug, Copy, Clone)]
2814 pub struct flock64 {
2815 pub l_type: crate::ctypes::c_short,
2816 pub l_whence: crate::ctypes::c_short,
2817 pub l_start: __kernel_loff_t,
2818 pub l_len: __kernel_loff_t,
2819 pub l_pid: __kernel_pid_t,
2820 pub __unused: crate::ctypes::c_short,
2821 }
2822 #[repr(C)]
2823 #[derive(Debug, Copy, Clone)]
2824 pub struct open_how {
2825 pub flags: __u64,
2826 pub mode: __u64,
2827 pub resolve: __u64,
2828 }
2829 #[repr(C)]
2830 #[derive(Debug, Copy, Clone)]
2831 pub struct epoll_event {
2832 pub events: __poll_t,
2833 pub data: __u64,
2834 }
2835 #[repr(C)]
2836 #[derive(Debug, Copy, Clone)]
2837 pub struct fscrypt_policy_v1 {
2838 pub version: __u8,
2839 pub contents_encryption_mode: __u8,
2840 pub filenames_encryption_mode: __u8,
2841 pub flags: __u8,
2842 pub master_key_descriptor: [__u8; 8usize],
2843 }
2844 #[repr(C)]
2845 #[derive(Debug, Copy, Clone)]
2846 pub struct fscrypt_key {
2847 pub mode: __u32,
2848 pub raw: [__u8; 64usize],
2849 pub size: __u32,
2850 }
2851 #[repr(C)]
2852 #[derive(Debug, Copy, Clone)]
2853 pub struct fscrypt_policy_v2 {
2854 pub version: __u8,
2855 pub contents_encryption_mode: __u8,
2856 pub filenames_encryption_mode: __u8,
2857 pub flags: __u8,
2858 pub __reserved: [__u8; 4usize],
2859 pub master_key_identifier: [__u8; 16usize],
2860 }
2861 #[repr(C)]
2862 #[derive(Copy, Clone)]
2863 pub struct fscrypt_get_policy_ex_arg {
2864 pub policy_size: __u64,
2865 pub policy: fscrypt_get_policy_ex_arg__bindgen_ty_1,
2866 }
2867 #[repr(C)]
2868 #[derive(Copy, Clone)]
2869 pub union fscrypt_get_policy_ex_arg__bindgen_ty_1 {
2870 pub version: __u8,
2871 pub v1: fscrypt_policy_v1,
2872 pub v2: fscrypt_policy_v2,
2873 }
2874 #[repr(C)]
2875 #[derive(Copy, Clone)]
2876 pub struct fscrypt_key_specifier {
2877 pub type_: __u32,
2878 pub __reserved: __u32,
2879 pub u: fscrypt_key_specifier__bindgen_ty_1,
2880 }
2881 #[repr(C)]
2882 #[derive(Copy, Clone)]
2883 pub union fscrypt_key_specifier__bindgen_ty_1 {
2884 pub __reserved: [__u8; 32usize],
2885 pub descriptor: [__u8; 8usize],
2886 pub identifier: [__u8; 16usize],
2887 }
2888 #[repr(C)]
2889 #[derive(Debug)]
2890 pub struct fscrypt_provisioning_key_payload {
2891 pub type_: __u32,
2892 pub __reserved: __u32,
2893 pub raw: __IncompleteArrayField<__u8>,
2894 }
2895 #[repr(C)]
2896 pub struct fscrypt_add_key_arg {
2897 pub key_spec: fscrypt_key_specifier,
2898 pub raw_size: __u32,
2899 pub key_id: __u32,
2900 pub __reserved: [__u32; 8usize],
2901 pub raw: __IncompleteArrayField<__u8>,
2902 }
2903 #[repr(C)]
2904 #[derive(Copy, Clone)]
2905 pub struct fscrypt_remove_key_arg {
2906 pub key_spec: fscrypt_key_specifier,
2907 pub removal_status_flags: __u32,
2908 pub __reserved: [__u32; 5usize],
2909 }
2910 #[repr(C)]
2911 #[derive(Copy, Clone)]
2912 pub struct fscrypt_get_key_status_arg {
2913 pub key_spec: fscrypt_key_specifier,
2914 pub __reserved: [__u32; 6usize],
2915 pub status: __u32,
2916 pub status_flags: __u32,
2917 pub user_count: __u32,
2918 pub __out_reserved: [__u32; 13usize],
2919 }
2920 #[repr(u32)]
2921 #[non_exhaustive]
2922 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
2923 pub enum fsconfig_command {
2924 FSCONFIG_SET_FLAG = 0,
2925 FSCONFIG_SET_STRING = 1,
2926 FSCONFIG_SET_BINARY = 2,
2927 FSCONFIG_SET_PATH = 3,
2928 FSCONFIG_SET_PATH_EMPTY = 4,
2929 FSCONFIG_SET_FD = 5,
2930 FSCONFIG_CMD_CREATE = 6,
2931 FSCONFIG_CMD_RECONFIGURE = 7,
2932 }
2933 #[repr(C)]
2934 #[derive(Debug, Copy, Clone)]
2935 pub struct mount_attr {
2936 pub attr_set: __u64,
2937 pub attr_clr: __u64,
2938 pub propagation: __u64,
2939 pub userns_fd: __u64,
2940 }
2941 #[repr(C)]
2942 #[derive(Debug, Copy, Clone)]
2943 pub struct file_clone_range {
2944 pub src_fd: __s64,
2945 pub src_offset: __u64,
2946 pub src_length: __u64,
2947 pub dest_offset: __u64,
2948 }
2949 #[repr(C)]
2950 #[derive(Debug, Copy, Clone)]
2951 pub struct fstrim_range {
2952 pub start: __u64,
2953 pub len: __u64,
2954 pub minlen: __u64,
2955 }
2956 #[repr(C)]
2957 #[derive(Debug, Copy, Clone)]
2958 pub struct file_dedupe_range_info {
2959 pub dest_fd: __s64,
2960 pub dest_offset: __u64,
2961 pub bytes_deduped: __u64,
2962 pub status: __s32,
2963 pub reserved: __u32,
2964 }
2965 #[repr(C)]
2966 #[derive(Debug)]
2967 pub struct file_dedupe_range {
2968 pub src_offset: __u64,
2969 pub src_length: __u64,
2970 pub dest_count: __u16,
2971 pub reserved1: __u16,
2972 pub reserved2: __u32,
2973 pub info: __IncompleteArrayField<file_dedupe_range_info>,
2974 }
2975 #[repr(C)]
2976 #[derive(Debug, Copy, Clone)]
2977 pub struct files_stat_struct {
2978 pub nr_files: crate::ctypes::c_ulong,
2979 pub nr_free_files: crate::ctypes::c_ulong,
2980 pub max_files: crate::ctypes::c_ulong,
2981 }
2982 #[repr(C)]
2983 #[derive(Debug, Copy, Clone)]
2984 pub struct inodes_stat_t {
2985 pub nr_inodes: crate::ctypes::c_long,
2986 pub nr_unused: crate::ctypes::c_long,
2987 pub dummy: [crate::ctypes::c_long; 5usize],
2988 }
2989 #[repr(C)]
2990 #[derive(Debug, Copy, Clone)]
2991 pub struct fsxattr {
2992 pub fsx_xflags: __u32,
2993 pub fsx_extsize: __u32,
2994 pub fsx_nextents: __u32,
2995 pub fsx_projid: __u32,
2996 pub fsx_cowextsize: __u32,
2997 pub fsx_pad: [crate::ctypes::c_uchar; 8usize],
2998 }
2999 pub type __kernel_rwf_t = crate::ctypes::c_int;
3000 #[repr(C)]
3001 #[derive(Debug, Copy, Clone)]
3002 pub struct futex_waitv {
3003 pub val: __u64,
3004 pub uaddr: __u64,
3005 pub flags: __u32,
3006 pub __reserved: __u32,
3007 }
3008 #[repr(C)]
3009 #[derive(Debug, Copy, Clone)]
3010 pub struct robust_list {
3011 pub next: *mut robust_list,
3012 }
3013 #[repr(C)]
3014 #[derive(Debug, Copy, Clone)]
3015 pub struct robust_list_head {
3016 pub list: robust_list,
3017 pub futex_offset: crate::ctypes::c_long,
3018 pub list_op_pending: *mut robust_list,
3019 }
3020 pub type __kernel_sa_family_t = crate::ctypes::c_ushort;
3021 #[repr(C)]
3022 #[derive(Copy, Clone)]
3023 pub struct __kernel_sockaddr_storage {
3024 pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1,
3025 }
3026 #[repr(C)]
3027 #[derive(Copy, Clone)]
3028 pub union __kernel_sockaddr_storage__bindgen_ty_1 {
3029 pub __bindgen_anon_1: __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1,
3030 pub __align: *mut crate::ctypes::c_void,
3031 }
3032 #[repr(C)]
3033 #[derive(Debug, Copy, Clone)]
3034 pub struct __kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1 {
3035 pub ss_family: __kernel_sa_family_t,
3036 pub __data: [crate::ctypes::c_char; 126usize],
3037 }
3038 pub const IPPROTO_IP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IP;
3039 pub const IPPROTO_ICMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ICMP;
3040 pub const IPPROTO_IGMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IGMP;
3041 pub const IPPROTO_IPIP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IPIP;
3042 pub const IPPROTO_TCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_TCP;
3043 pub const IPPROTO_EGP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_EGP;
3044 pub const IPPROTO_PUP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_PUP;
3045 pub const IPPROTO_UDP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDP;
3046 pub const IPPROTO_IDP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IDP;
3047 pub const IPPROTO_TP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_TP;
3048 pub const IPPROTO_DCCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_DCCP;
3049 pub const IPPROTO_IPV6: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_IPV6;
3050 pub const IPPROTO_RSVP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RSVP;
3051 pub const IPPROTO_GRE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_GRE;
3052 pub const IPPROTO_ESP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ESP;
3053 pub const IPPROTO_AH: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_AH;
3054 pub const IPPROTO_MTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MTP;
3055 pub const IPPROTO_BEETPH: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_BEETPH;
3056 pub const IPPROTO_ENCAP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ENCAP;
3057 pub const IPPROTO_PIM: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_PIM;
3058 pub const IPPROTO_COMP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_COMP;
3059 pub const IPPROTO_SCTP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_SCTP;
3060 pub const IPPROTO_UDPLITE: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_UDPLITE;
3061 pub const IPPROTO_MPLS: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPLS;
3062 pub const IPPROTO_ETHERNET: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_ETHERNET;
3063 pub const IPPROTO_RAW: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_RAW;
3064 pub const IPPROTO_MPTCP: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MPTCP;
3065 pub const IPPROTO_MAX: _bindgen_ty_1 = _bindgen_ty_1::IPPROTO_MAX;
3066 #[repr(u32)]
3067 #[non_exhaustive]
3068 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3069 pub enum _bindgen_ty_1 {
3070 IPPROTO_IP = 0,
3071 IPPROTO_ICMP = 1,
3072 IPPROTO_IGMP = 2,
3073 IPPROTO_IPIP = 4,
3074 IPPROTO_TCP = 6,
3075 IPPROTO_EGP = 8,
3076 IPPROTO_PUP = 12,
3077 IPPROTO_UDP = 17,
3078 IPPROTO_IDP = 22,
3079 IPPROTO_TP = 29,
3080 IPPROTO_DCCP = 33,
3081 IPPROTO_IPV6 = 41,
3082 IPPROTO_RSVP = 46,
3083 IPPROTO_GRE = 47,
3084 IPPROTO_ESP = 50,
3085 IPPROTO_AH = 51,
3086 IPPROTO_MTP = 92,
3087 IPPROTO_BEETPH = 94,
3088 IPPROTO_ENCAP = 98,
3089 IPPROTO_PIM = 103,
3090 IPPROTO_COMP = 108,
3091 IPPROTO_SCTP = 132,
3092 IPPROTO_UDPLITE = 136,
3093 IPPROTO_MPLS = 137,
3094 IPPROTO_ETHERNET = 143,
3095 IPPROTO_RAW = 255,
3096 IPPROTO_MPTCP = 262,
3097 IPPROTO_MAX = 263,
3098 }
3099 #[repr(C)]
3100 #[derive(Debug, Copy, Clone)]
3101 pub struct in_addr {
3102 pub s_addr: __be32,
3103 }
3104 #[repr(C)]
3105 #[derive(Debug, Copy, Clone)]
3106 pub struct ip_mreq {
3107 pub imr_multiaddr: in_addr,
3108 pub imr_interface: in_addr,
3109 }
3110 #[repr(C)]
3111 #[derive(Debug, Copy, Clone)]
3112 pub struct ip_mreqn {
3113 pub imr_multiaddr: in_addr,
3114 pub imr_address: in_addr,
3115 pub imr_ifindex: crate::ctypes::c_int,
3116 }
3117 #[repr(C)]
3118 #[derive(Debug, Copy, Clone)]
3119 pub struct ip_mreq_source {
3120 pub imr_multiaddr: __be32,
3121 pub imr_interface: __be32,
3122 pub imr_sourceaddr: __be32,
3123 }
3124 #[repr(C)]
3125 pub struct ip_msfilter {
3126 pub __bindgen_anon_1: ip_msfilter__bindgen_ty_1,
3127 }
3128 #[repr(C)]
3129 pub struct ip_msfilter__bindgen_ty_1 {
3130 pub __bindgen_anon_1: __BindgenUnionField<ip_msfilter__bindgen_ty_1__bindgen_ty_1>,
3131 pub __bindgen_anon_2: __BindgenUnionField<ip_msfilter__bindgen_ty_1__bindgen_ty_2>,
3132 pub bindgen_union_field: [u32; 5usize],
3133 }
3134 #[repr(C)]
3135 #[derive(Debug, Copy, Clone)]
3136 pub struct ip_msfilter__bindgen_ty_1__bindgen_ty_1 {
3137 pub imsf_multiaddr_aux: __be32,
3138 pub imsf_interface_aux: __be32,
3139 pub imsf_fmode_aux: __u32,
3140 pub imsf_numsrc_aux: __u32,
3141 pub imsf_slist: [__be32; 1usize],
3142 }
3143 #[repr(C)]
3144 #[derive(Debug)]
3145 pub struct ip_msfilter__bindgen_ty_1__bindgen_ty_2 {
3146 pub imsf_multiaddr: __be32,
3147 pub imsf_interface: __be32,
3148 pub imsf_fmode: __u32,
3149 pub imsf_numsrc: __u32,
3150 pub imsf_slist_flex: __IncompleteArrayField<__be32>,
3151 }
3152 #[repr(C)]
3153 #[derive(Copy, Clone)]
3154 pub struct group_req {
3155 pub gr_interface: __u32,
3156 pub gr_group: __kernel_sockaddr_storage,
3157 }
3158 #[repr(C)]
3159 #[derive(Copy, Clone)]
3160 pub struct group_source_req {
3161 pub gsr_interface: __u32,
3162 pub gsr_group: __kernel_sockaddr_storage,
3163 pub gsr_source: __kernel_sockaddr_storage,
3164 }
3165 #[repr(C)]
3166 pub struct group_filter {
3167 pub __bindgen_anon_1: group_filter__bindgen_ty_1,
3168 }
3169 #[repr(C)]
3170 pub struct group_filter__bindgen_ty_1 {
3171 pub __bindgen_anon_1: __BindgenUnionField<group_filter__bindgen_ty_1__bindgen_ty_1>,
3172 pub __bindgen_anon_2: __BindgenUnionField<group_filter__bindgen_ty_1__bindgen_ty_2>,
3173 pub bindgen_union_field: [u32; 67usize],
3174 }
3175 #[repr(C)]
3176 #[derive(Copy, Clone)]
3177 pub struct group_filter__bindgen_ty_1__bindgen_ty_1 {
3178 pub gf_interface_aux: __u32,
3179 pub gf_group_aux: __kernel_sockaddr_storage,
3180 pub gf_fmode_aux: __u32,
3181 pub gf_numsrc_aux: __u32,
3182 pub gf_slist: [__kernel_sockaddr_storage; 1usize],
3183 }
3184 #[repr(C)]
3185 pub struct group_filter__bindgen_ty_1__bindgen_ty_2 {
3186 pub gf_interface: __u32,
3187 pub gf_group: __kernel_sockaddr_storage,
3188 pub gf_fmode: __u32,
3189 pub gf_numsrc: __u32,
3190 pub gf_slist_flex: __IncompleteArrayField<__kernel_sockaddr_storage>,
3191 }
3192 #[repr(C)]
3193 #[derive(Debug, Copy, Clone)]
3194 pub struct in_pktinfo {
3195 pub ipi_ifindex: crate::ctypes::c_int,
3196 pub ipi_spec_dst: in_addr,
3197 pub ipi_addr: in_addr,
3198 }
3199 #[repr(C)]
3200 #[derive(Debug, Copy, Clone)]
3201 pub struct sockaddr_in {
3202 pub sin_family: __kernel_sa_family_t,
3203 pub sin_port: __be16,
3204 pub sin_addr: in_addr,
3205 pub __pad: [crate::ctypes::c_uchar; 8usize],
3206 }
3207 #[repr(C)]
3208 #[derive(Debug)]
3209 pub struct inotify_event {
3210 pub wd: __s32,
3211 pub mask: __u32,
3212 pub cookie: __u32,
3213 pub len: __u32,
3214 pub name: __IncompleteArrayField<crate::ctypes::c_char>,
3215 }
3216 #[repr(C)]
3217 #[derive(Debug, Copy, Clone)]
3218 pub struct iphdr {
3219 pub _bitfield_align_1: [u8; 0],
3220 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
3221 pub tos: __u8,
3222 pub tot_len: __be16,
3223 pub id: __be16,
3224 pub frag_off: __be16,
3225 pub ttl: __u8,
3226 pub protocol: __u8,
3227 pub check: __sum16,
3228 pub saddr: __be32,
3229 pub daddr: __be32,
3230 }
3231 impl iphdr {
3232 #[inline]
version(&self) -> __u83233 pub fn version(&self) -> __u8 {
3234 unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
3235 }
3236 #[inline]
set_version(&mut self, val: __u8)3237 pub fn set_version(&mut self, val: __u8) {
3238 unsafe {
3239 let val: u8 = ::core::mem::transmute(val);
3240 self._bitfield_1.set(0usize, 4u8, val as u64)
3241 }
3242 }
3243 #[inline]
ihl(&self) -> __u83244 pub fn ihl(&self) -> __u8 {
3245 unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
3246 }
3247 #[inline]
set_ihl(&mut self, val: __u8)3248 pub fn set_ihl(&mut self, val: __u8) {
3249 unsafe {
3250 let val: u8 = ::core::mem::transmute(val);
3251 self._bitfield_1.set(4usize, 4u8, val as u64)
3252 }
3253 }
3254 #[inline]
new_bitfield_1(version: __u8, ihl: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]>3255 pub fn new_bitfield_1(version: __u8, ihl: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
3256 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
3257 __bindgen_bitfield_unit.set(0usize, 4u8, {
3258 let version: u8 = unsafe { ::core::mem::transmute(version) };
3259 version as u64
3260 });
3261 __bindgen_bitfield_unit.set(4usize, 4u8, {
3262 let ihl: u8 = unsafe { ::core::mem::transmute(ihl) };
3263 ihl as u64
3264 });
3265 __bindgen_bitfield_unit
3266 }
3267 }
3268 #[repr(C)]
3269 #[derive(Debug)]
3270 pub struct ip_auth_hdr {
3271 pub nexthdr: __u8,
3272 pub hdrlen: __u8,
3273 pub reserved: __be16,
3274 pub spi: __be32,
3275 pub seq_no: __be32,
3276 pub auth_data: __IncompleteArrayField<__u8>,
3277 }
3278 #[repr(C)]
3279 #[derive(Debug)]
3280 pub struct ip_esp_hdr {
3281 pub spi: __be32,
3282 pub seq_no: __be32,
3283 pub enc_data: __IncompleteArrayField<__u8>,
3284 }
3285 #[repr(C)]
3286 #[derive(Debug, Copy, Clone)]
3287 pub struct ip_comp_hdr {
3288 pub nexthdr: __u8,
3289 pub flags: __u8,
3290 pub cpi: __be16,
3291 }
3292 #[repr(C)]
3293 #[derive(Debug, Copy, Clone)]
3294 pub struct ip_beet_phdr {
3295 pub nexthdr: __u8,
3296 pub hdrlen: __u8,
3297 pub padlen: __u8,
3298 pub reserved: __u8,
3299 }
3300 pub const IPV4_DEVCONF_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_FORWARDING;
3301 pub const IPV4_DEVCONF_MC_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_MC_FORWARDING;
3302 pub const IPV4_DEVCONF_PROXY_ARP: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROXY_ARP;
3303 pub const IPV4_DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_REDIRECTS;
3304 pub const IPV4_DEVCONF_SECURE_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SECURE_REDIRECTS;
3305 pub const IPV4_DEVCONF_SEND_REDIRECTS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SEND_REDIRECTS;
3306 pub const IPV4_DEVCONF_SHARED_MEDIA: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SHARED_MEDIA;
3307 pub const IPV4_DEVCONF_RP_FILTER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_RP_FILTER;
3308 pub const IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE;
3309 pub const IPV4_DEVCONF_BOOTP_RELAY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_BOOTP_RELAY;
3310 pub const IPV4_DEVCONF_LOG_MARTIANS: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_LOG_MARTIANS;
3311 pub const IPV4_DEVCONF_TAG: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_TAG;
3312 pub const IPV4_DEVCONF_ARPFILTER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARPFILTER;
3313 pub const IPV4_DEVCONF_MEDIUM_ID: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_MEDIUM_ID;
3314 pub const IPV4_DEVCONF_NOXFRM: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_NOXFRM;
3315 pub const IPV4_DEVCONF_NOPOLICY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_NOPOLICY;
3316 pub const IPV4_DEVCONF_FORCE_IGMP_VERSION: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_FORCE_IGMP_VERSION;
3317 pub const IPV4_DEVCONF_ARP_ANNOUNCE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_ANNOUNCE;
3318 pub const IPV4_DEVCONF_ARP_IGNORE: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_IGNORE;
3319 pub const IPV4_DEVCONF_PROMOTE_SECONDARIES: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROMOTE_SECONDARIES;
3320 pub const IPV4_DEVCONF_ARP_ACCEPT: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_ACCEPT;
3321 pub const IPV4_DEVCONF_ARP_NOTIFY: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_NOTIFY;
3322 pub const IPV4_DEVCONF_ACCEPT_LOCAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ACCEPT_LOCAL;
3323 pub const IPV4_DEVCONF_SRC_VMARK: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_SRC_VMARK;
3324 pub const IPV4_DEVCONF_PROXY_ARP_PVLAN: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_PROXY_ARP_PVLAN;
3325 pub const IPV4_DEVCONF_ROUTE_LOCALNET: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ROUTE_LOCALNET;
3326 pub const IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL;
3327 pub const IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL;
3328 pub const IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
3329 pub const IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
3330 pub const IPV4_DEVCONF_DROP_GRATUITOUS_ARP: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_DROP_GRATUITOUS_ARP;
3331 pub const IPV4_DEVCONF_BC_FORWARDING: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_BC_FORWARDING;
3332 pub const IPV4_DEVCONF_ARP_EVICT_NOCARRIER: _bindgen_ty_2 = _bindgen_ty_2::IPV4_DEVCONF_ARP_EVICT_NOCARRIER;
3333 pub const __IPV4_DEVCONF_MAX: _bindgen_ty_2 = _bindgen_ty_2::__IPV4_DEVCONF_MAX;
3334 #[repr(u32)]
3335 #[non_exhaustive]
3336 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3337 pub enum _bindgen_ty_2 {
3338 IPV4_DEVCONF_FORWARDING = 1,
3339 IPV4_DEVCONF_MC_FORWARDING = 2,
3340 IPV4_DEVCONF_PROXY_ARP = 3,
3341 IPV4_DEVCONF_ACCEPT_REDIRECTS = 4,
3342 IPV4_DEVCONF_SECURE_REDIRECTS = 5,
3343 IPV4_DEVCONF_SEND_REDIRECTS = 6,
3344 IPV4_DEVCONF_SHARED_MEDIA = 7,
3345 IPV4_DEVCONF_RP_FILTER = 8,
3346 IPV4_DEVCONF_ACCEPT_SOURCE_ROUTE = 9,
3347 IPV4_DEVCONF_BOOTP_RELAY = 10,
3348 IPV4_DEVCONF_LOG_MARTIANS = 11,
3349 IPV4_DEVCONF_TAG = 12,
3350 IPV4_DEVCONF_ARPFILTER = 13,
3351 IPV4_DEVCONF_MEDIUM_ID = 14,
3352 IPV4_DEVCONF_NOXFRM = 15,
3353 IPV4_DEVCONF_NOPOLICY = 16,
3354 IPV4_DEVCONF_FORCE_IGMP_VERSION = 17,
3355 IPV4_DEVCONF_ARP_ANNOUNCE = 18,
3356 IPV4_DEVCONF_ARP_IGNORE = 19,
3357 IPV4_DEVCONF_PROMOTE_SECONDARIES = 20,
3358 IPV4_DEVCONF_ARP_ACCEPT = 21,
3359 IPV4_DEVCONF_ARP_NOTIFY = 22,
3360 IPV4_DEVCONF_ACCEPT_LOCAL = 23,
3361 IPV4_DEVCONF_SRC_VMARK = 24,
3362 IPV4_DEVCONF_PROXY_ARP_PVLAN = 25,
3363 IPV4_DEVCONF_ROUTE_LOCALNET = 26,
3364 IPV4_DEVCONF_IGMPV2_UNSOLICITED_REPORT_INTERVAL = 27,
3365 IPV4_DEVCONF_IGMPV3_UNSOLICITED_REPORT_INTERVAL = 28,
3366 IPV4_DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 29,
3367 IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 30,
3368 IPV4_DEVCONF_DROP_GRATUITOUS_ARP = 31,
3369 IPV4_DEVCONF_BC_FORWARDING = 32,
3370 IPV4_DEVCONF_ARP_EVICT_NOCARRIER = 33,
3371 __IPV4_DEVCONF_MAX = 34,
3372 }
3373 #[repr(C)]
3374 #[derive(Copy, Clone)]
3375 pub struct in6_addr {
3376 pub in6_u: in6_addr__bindgen_ty_1,
3377 }
3378 #[repr(C)]
3379 #[derive(Copy, Clone)]
3380 pub union in6_addr__bindgen_ty_1 {
3381 pub u6_addr8: [__u8; 16usize],
3382 pub u6_addr16: [__be16; 8usize],
3383 pub u6_addr32: [__be32; 4usize],
3384 }
3385 #[repr(C)]
3386 #[derive(Copy, Clone)]
3387 pub struct sockaddr_in6 {
3388 pub sin6_family: crate::ctypes::c_ushort,
3389 pub sin6_port: __be16,
3390 pub sin6_flowinfo: __be32,
3391 pub sin6_addr: in6_addr,
3392 pub sin6_scope_id: __u32,
3393 }
3394 #[repr(C)]
3395 #[derive(Copy, Clone)]
3396 pub struct ipv6_mreq {
3397 pub ipv6mr_multiaddr: in6_addr,
3398 pub ipv6mr_ifindex: crate::ctypes::c_int,
3399 }
3400 #[repr(C)]
3401 #[derive(Copy, Clone)]
3402 pub struct in6_flowlabel_req {
3403 pub flr_dst: in6_addr,
3404 pub flr_label: __be32,
3405 pub flr_action: __u8,
3406 pub flr_share: __u8,
3407 pub flr_flags: __u16,
3408 pub flr_expires: __u16,
3409 pub flr_linger: __u16,
3410 pub __flr_pad: __u32,
3411 }
3412 #[repr(C)]
3413 #[derive(Copy, Clone)]
3414 pub struct in6_pktinfo {
3415 pub ipi6_addr: in6_addr,
3416 pub ipi6_ifindex: crate::ctypes::c_int,
3417 }
3418 #[repr(C)]
3419 #[derive(Copy, Clone)]
3420 pub struct ip6_mtuinfo {
3421 pub ip6m_addr: sockaddr_in6,
3422 pub ip6m_mtu: __u32,
3423 }
3424 #[repr(C)]
3425 #[derive(Copy, Clone)]
3426 pub struct in6_ifreq {
3427 pub ifr6_addr: in6_addr,
3428 pub ifr6_prefixlen: __u32,
3429 pub ifr6_ifindex: crate::ctypes::c_int,
3430 }
3431 #[repr(C)]
3432 #[derive(Debug, Copy, Clone)]
3433 pub struct ipv6_rt_hdr {
3434 pub nexthdr: __u8,
3435 pub hdrlen: __u8,
3436 pub type_: __u8,
3437 pub segments_left: __u8,
3438 }
3439 #[repr(C, packed)]
3440 #[derive(Debug, Copy, Clone)]
3441 pub struct ipv6_opt_hdr {
3442 pub nexthdr: __u8,
3443 pub hdrlen: __u8,
3444 }
3445 #[repr(C)]
3446 pub struct rt0_hdr {
3447 pub rt_hdr: ipv6_rt_hdr,
3448 pub reserved: __u32,
3449 pub addr: __IncompleteArrayField<in6_addr>,
3450 }
3451 #[repr(C)]
3452 #[derive(Copy, Clone)]
3453 pub struct rt2_hdr {
3454 pub rt_hdr: ipv6_rt_hdr,
3455 pub reserved: __u32,
3456 pub addr: in6_addr,
3457 }
3458 #[repr(C, packed)]
3459 #[derive(Copy, Clone)]
3460 pub struct ipv6_destopt_hao {
3461 pub type_: __u8,
3462 pub length: __u8,
3463 pub addr: in6_addr,
3464 }
3465 #[repr(C)]
3466 #[derive(Copy, Clone)]
3467 pub struct ipv6hdr {
3468 pub _bitfield_align_1: [u8; 0],
3469 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
3470 pub flow_lbl: [__u8; 3usize],
3471 pub payload_len: __be16,
3472 pub nexthdr: __u8,
3473 pub hop_limit: __u8,
3474 pub saddr: in6_addr,
3475 pub daddr: in6_addr,
3476 }
3477 impl ipv6hdr {
3478 #[inline]
version(&self) -> __u83479 pub fn version(&self) -> __u8 {
3480 unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
3481 }
3482 #[inline]
set_version(&mut self, val: __u8)3483 pub fn set_version(&mut self, val: __u8) {
3484 unsafe {
3485 let val: u8 = ::core::mem::transmute(val);
3486 self._bitfield_1.set(0usize, 4u8, val as u64)
3487 }
3488 }
3489 #[inline]
priority(&self) -> __u83490 pub fn priority(&self) -> __u8 {
3491 unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
3492 }
3493 #[inline]
set_priority(&mut self, val: __u8)3494 pub fn set_priority(&mut self, val: __u8) {
3495 unsafe {
3496 let val: u8 = ::core::mem::transmute(val);
3497 self._bitfield_1.set(4usize, 4u8, val as u64)
3498 }
3499 }
3500 #[inline]
new_bitfield_1(version: __u8, priority: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]>3501 pub fn new_bitfield_1(version: __u8, priority: __u8) -> __BindgenBitfieldUnit<[u8; 1usize]> {
3502 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
3503 __bindgen_bitfield_unit.set(0usize, 4u8, {
3504 let version: u8 = unsafe { ::core::mem::transmute(version) };
3505 version as u64
3506 });
3507 __bindgen_bitfield_unit.set(4usize, 4u8, {
3508 let priority: u8 = unsafe { ::core::mem::transmute(priority) };
3509 priority as u64
3510 });
3511 __bindgen_bitfield_unit
3512 }
3513 }
3514 pub const DEVCONF_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORWARDING;
3515 pub const DEVCONF_HOPLIMIT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_HOPLIMIT;
3516 pub const DEVCONF_MTU6: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MTU6;
3517 pub const DEVCONF_ACCEPT_RA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA;
3518 pub const DEVCONF_ACCEPT_REDIRECTS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_REDIRECTS;
3519 pub const DEVCONF_AUTOCONF: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_AUTOCONF;
3520 pub const DEVCONF_DAD_TRANSMITS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DAD_TRANSMITS;
3521 pub const DEVCONF_RTR_SOLICITS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICITS;
3522 pub const DEVCONF_RTR_SOLICIT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_INTERVAL;
3523 pub const DEVCONF_RTR_SOLICIT_DELAY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_DELAY;
3524 pub const DEVCONF_USE_TEMPADDR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_TEMPADDR;
3525 pub const DEVCONF_TEMP_VALID_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_TEMP_VALID_LFT;
3526 pub const DEVCONF_TEMP_PREFERED_LFT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_TEMP_PREFERED_LFT;
3527 pub const DEVCONF_REGEN_MAX_RETRY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_REGEN_MAX_RETRY;
3528 pub const DEVCONF_MAX_DESYNC_FACTOR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX_DESYNC_FACTOR;
3529 pub const DEVCONF_MAX_ADDRESSES: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX_ADDRESSES;
3530 pub const DEVCONF_FORCE_MLD_VERSION: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_MLD_VERSION;
3531 pub const DEVCONF_ACCEPT_RA_DEFRTR: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_DEFRTR;
3532 pub const DEVCONF_ACCEPT_RA_PINFO: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_PINFO;
3533 pub const DEVCONF_ACCEPT_RA_RTR_PREF: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RTR_PREF;
3534 pub const DEVCONF_RTR_PROBE_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_PROBE_INTERVAL;
3535 pub const DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN;
3536 pub const DEVCONF_PROXY_NDP: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_PROXY_NDP;
3537 pub const DEVCONF_OPTIMISTIC_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_OPTIMISTIC_DAD;
3538 pub const DEVCONF_ACCEPT_SOURCE_ROUTE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_SOURCE_ROUTE;
3539 pub const DEVCONF_MC_FORWARDING: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MC_FORWARDING;
3540 pub const DEVCONF_DISABLE_IPV6: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DISABLE_IPV6;
3541 pub const DEVCONF_ACCEPT_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_DAD;
3542 pub const DEVCONF_FORCE_TLLAO: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_FORCE_TLLAO;
3543 pub const DEVCONF_NDISC_NOTIFY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_NOTIFY;
3544 pub const DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL;
3545 pub const DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL;
3546 pub const DEVCONF_SUPPRESS_FRAG_NDISC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SUPPRESS_FRAG_NDISC;
3547 pub const DEVCONF_ACCEPT_RA_FROM_LOCAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_FROM_LOCAL;
3548 pub const DEVCONF_USE_OPTIMISTIC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_OPTIMISTIC;
3549 pub const DEVCONF_ACCEPT_RA_MTU: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MTU;
3550 pub const DEVCONF_STABLE_SECRET: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_STABLE_SECRET;
3551 pub const DEVCONF_USE_OIF_ADDRS_ONLY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_USE_OIF_ADDRS_ONLY;
3552 pub const DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT;
3553 pub const DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN;
3554 pub const DEVCONF_DROP_UNICAST_IN_L2_MULTICAST: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DROP_UNICAST_IN_L2_MULTICAST;
3555 pub const DEVCONF_DROP_UNSOLICITED_NA: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DROP_UNSOLICITED_NA;
3556 pub const DEVCONF_KEEP_ADDR_ON_DOWN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_KEEP_ADDR_ON_DOWN;
3557 pub const DEVCONF_RTR_SOLICIT_MAX_INTERVAL: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RTR_SOLICIT_MAX_INTERVAL;
3558 pub const DEVCONF_SEG6_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SEG6_ENABLED;
3559 pub const DEVCONF_SEG6_REQUIRE_HMAC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_SEG6_REQUIRE_HMAC;
3560 pub const DEVCONF_ENHANCED_DAD: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ENHANCED_DAD;
3561 pub const DEVCONF_ADDR_GEN_MODE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ADDR_GEN_MODE;
3562 pub const DEVCONF_DISABLE_POLICY: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_DISABLE_POLICY;
3563 pub const DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN;
3564 pub const DEVCONF_NDISC_TCLASS: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_TCLASS;
3565 pub const DEVCONF_RPL_SEG_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RPL_SEG_ENABLED;
3566 pub const DEVCONF_RA_DEFRTR_METRIC: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_RA_DEFRTR_METRIC;
3567 pub const DEVCONF_IOAM6_ENABLED: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ENABLED;
3568 pub const DEVCONF_IOAM6_ID: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ID;
3569 pub const DEVCONF_IOAM6_ID_WIDE: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_IOAM6_ID_WIDE;
3570 pub const DEVCONF_NDISC_EVICT_NOCARRIER: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_NDISC_EVICT_NOCARRIER;
3571 pub const DEVCONF_MAX: _bindgen_ty_3 = _bindgen_ty_3::DEVCONF_MAX;
3572 #[repr(u32)]
3573 #[non_exhaustive]
3574 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3575 pub enum _bindgen_ty_3 {
3576 DEVCONF_FORWARDING = 0,
3577 DEVCONF_HOPLIMIT = 1,
3578 DEVCONF_MTU6 = 2,
3579 DEVCONF_ACCEPT_RA = 3,
3580 DEVCONF_ACCEPT_REDIRECTS = 4,
3581 DEVCONF_AUTOCONF = 5,
3582 DEVCONF_DAD_TRANSMITS = 6,
3583 DEVCONF_RTR_SOLICITS = 7,
3584 DEVCONF_RTR_SOLICIT_INTERVAL = 8,
3585 DEVCONF_RTR_SOLICIT_DELAY = 9,
3586 DEVCONF_USE_TEMPADDR = 10,
3587 DEVCONF_TEMP_VALID_LFT = 11,
3588 DEVCONF_TEMP_PREFERED_LFT = 12,
3589 DEVCONF_REGEN_MAX_RETRY = 13,
3590 DEVCONF_MAX_DESYNC_FACTOR = 14,
3591 DEVCONF_MAX_ADDRESSES = 15,
3592 DEVCONF_FORCE_MLD_VERSION = 16,
3593 DEVCONF_ACCEPT_RA_DEFRTR = 17,
3594 DEVCONF_ACCEPT_RA_PINFO = 18,
3595 DEVCONF_ACCEPT_RA_RTR_PREF = 19,
3596 DEVCONF_RTR_PROBE_INTERVAL = 20,
3597 DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN = 21,
3598 DEVCONF_PROXY_NDP = 22,
3599 DEVCONF_OPTIMISTIC_DAD = 23,
3600 DEVCONF_ACCEPT_SOURCE_ROUTE = 24,
3601 DEVCONF_MC_FORWARDING = 25,
3602 DEVCONF_DISABLE_IPV6 = 26,
3603 DEVCONF_ACCEPT_DAD = 27,
3604 DEVCONF_FORCE_TLLAO = 28,
3605 DEVCONF_NDISC_NOTIFY = 29,
3606 DEVCONF_MLDV1_UNSOLICITED_REPORT_INTERVAL = 30,
3607 DEVCONF_MLDV2_UNSOLICITED_REPORT_INTERVAL = 31,
3608 DEVCONF_SUPPRESS_FRAG_NDISC = 32,
3609 DEVCONF_ACCEPT_RA_FROM_LOCAL = 33,
3610 DEVCONF_USE_OPTIMISTIC = 34,
3611 DEVCONF_ACCEPT_RA_MTU = 35,
3612 DEVCONF_STABLE_SECRET = 36,
3613 DEVCONF_USE_OIF_ADDRS_ONLY = 37,
3614 DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT = 38,
3615 DEVCONF_IGNORE_ROUTES_WITH_LINKDOWN = 39,
3616 DEVCONF_DROP_UNICAST_IN_L2_MULTICAST = 40,
3617 DEVCONF_DROP_UNSOLICITED_NA = 41,
3618 DEVCONF_KEEP_ADDR_ON_DOWN = 42,
3619 DEVCONF_RTR_SOLICIT_MAX_INTERVAL = 43,
3620 DEVCONF_SEG6_ENABLED = 44,
3621 DEVCONF_SEG6_REQUIRE_HMAC = 45,
3622 DEVCONF_ENHANCED_DAD = 46,
3623 DEVCONF_ADDR_GEN_MODE = 47,
3624 DEVCONF_DISABLE_POLICY = 48,
3625 DEVCONF_ACCEPT_RA_RT_INFO_MIN_PLEN = 49,
3626 DEVCONF_NDISC_TCLASS = 50,
3627 DEVCONF_RPL_SEG_ENABLED = 51,
3628 DEVCONF_RA_DEFRTR_METRIC = 52,
3629 DEVCONF_IOAM6_ENABLED = 53,
3630 DEVCONF_IOAM6_ID = 54,
3631 DEVCONF_IOAM6_ID_WIDE = 55,
3632 DEVCONF_NDISC_EVICT_NOCARRIER = 56,
3633 DEVCONF_MAX = 57,
3634 }
3635 #[repr(u32)]
3636 #[non_exhaustive]
3637 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
3638 pub enum socket_state {
3639 SS_FREE = 0,
3640 SS_UNCONNECTED = 1,
3641 SS_CONNECTING = 2,
3642 SS_CONNECTED = 3,
3643 SS_DISCONNECTING = 4,
3644 }
3645 #[repr(C)]
3646 #[derive(Debug, Copy, Clone)]
3647 pub struct pollfd {
3648 pub fd: crate::ctypes::c_int,
3649 pub events: crate::ctypes::c_short,
3650 pub revents: crate::ctypes::c_short,
3651 }
3652 #[repr(C)]
3653 #[derive(Debug, Copy, Clone)]
3654 pub struct prctl_mm_map {
3655 pub start_code: __u64,
3656 pub end_code: __u64,
3657 pub start_data: __u64,
3658 pub end_data: __u64,
3659 pub start_brk: __u64,
3660 pub brk: __u64,
3661 pub start_stack: __u64,
3662 pub arg_start: __u64,
3663 pub arg_end: __u64,
3664 pub env_start: __u64,
3665 pub env_end: __u64,
3666 pub auxv: *mut __u64,
3667 pub auxv_size: __u32,
3668 pub exe_fd: __u32,
3669 }
3670 #[repr(C)]
3671 #[derive(Debug)]
3672 pub struct rand_pool_info {
3673 pub entropy_count: crate::ctypes::c_int,
3674 pub buf_size: crate::ctypes::c_int,
3675 pub buf: __IncompleteArrayField<__u32>,
3676 }
3677 #[repr(C)]
3678 #[derive(Debug, Copy, Clone)]
3679 pub struct __kernel_timespec {
3680 pub tv_sec: __kernel_time64_t,
3681 pub tv_nsec: crate::ctypes::c_longlong,
3682 }
3683 #[repr(C)]
3684 #[derive(Debug, Copy, Clone)]
3685 pub struct __kernel_itimerspec {
3686 pub it_interval: __kernel_timespec,
3687 pub it_value: __kernel_timespec,
3688 }
3689 #[repr(C)]
3690 #[derive(Debug, Copy, Clone)]
3691 pub struct __kernel_old_timeval {
3692 pub tv_sec: __kernel_long_t,
3693 pub tv_usec: __kernel_long_t,
3694 }
3695 #[repr(C)]
3696 #[derive(Debug, Copy, Clone)]
3697 pub struct __kernel_old_timespec {
3698 pub tv_sec: __kernel_old_time_t,
3699 pub tv_nsec: crate::ctypes::c_long,
3700 }
3701 #[repr(C)]
3702 #[derive(Debug, Copy, Clone)]
3703 pub struct __kernel_old_itimerval {
3704 pub it_interval: __kernel_old_timeval,
3705 pub it_value: __kernel_old_timeval,
3706 }
3707 #[repr(C)]
3708 #[derive(Debug, Copy, Clone)]
3709 pub struct __kernel_sock_timeval {
3710 pub tv_sec: __s64,
3711 pub tv_usec: __s64,
3712 }
3713 #[repr(C)]
3714 #[derive(Debug, Copy, Clone)]
3715 pub struct timespec {
3716 pub tv_sec: __kernel_old_time_t,
3717 pub tv_nsec: crate::ctypes::c_long,
3718 }
3719 #[repr(C)]
3720 #[derive(Debug, Copy, Clone)]
3721 pub struct timeval {
3722 pub tv_sec: __kernel_old_time_t,
3723 pub tv_usec: __kernel_suseconds_t,
3724 }
3725 #[repr(C)]
3726 #[derive(Debug, Copy, Clone)]
3727 pub struct itimerspec {
3728 pub it_interval: timespec,
3729 pub it_value: timespec,
3730 }
3731 #[repr(C)]
3732 #[derive(Debug, Copy, Clone)]
3733 pub struct itimerval {
3734 pub it_interval: timeval,
3735 pub it_value: timeval,
3736 }
3737 #[repr(C)]
3738 #[derive(Debug, Copy, Clone)]
3739 pub struct timezone {
3740 pub tz_minuteswest: crate::ctypes::c_int,
3741 pub tz_dsttime: crate::ctypes::c_int,
3742 }
3743 #[repr(C)]
3744 #[derive(Debug, Copy, Clone)]
3745 pub struct rusage {
3746 pub ru_utime: __kernel_old_timeval,
3747 pub ru_stime: __kernel_old_timeval,
3748 pub ru_maxrss: __kernel_long_t,
3749 pub ru_ixrss: __kernel_long_t,
3750 pub ru_idrss: __kernel_long_t,
3751 pub ru_isrss: __kernel_long_t,
3752 pub ru_minflt: __kernel_long_t,
3753 pub ru_majflt: __kernel_long_t,
3754 pub ru_nswap: __kernel_long_t,
3755 pub ru_inblock: __kernel_long_t,
3756 pub ru_oublock: __kernel_long_t,
3757 pub ru_msgsnd: __kernel_long_t,
3758 pub ru_msgrcv: __kernel_long_t,
3759 pub ru_nsignals: __kernel_long_t,
3760 pub ru_nvcsw: __kernel_long_t,
3761 pub ru_nivcsw: __kernel_long_t,
3762 }
3763 #[repr(C)]
3764 #[derive(Debug, Copy, Clone)]
3765 pub struct rlimit {
3766 pub rlim_cur: __kernel_ulong_t,
3767 pub rlim_max: __kernel_ulong_t,
3768 }
3769 #[repr(C)]
3770 #[derive(Debug, Copy, Clone)]
3771 pub struct rlimit64 {
3772 pub rlim_cur: __u64,
3773 pub rlim_max: __u64,
3774 }
3775 #[repr(C)]
3776 #[derive(Debug, Copy, Clone)]
3777 pub struct clone_args {
3778 pub flags: __u64,
3779 pub pidfd: __u64,
3780 pub child_tid: __u64,
3781 pub parent_tid: __u64,
3782 pub exit_signal: __u64,
3783 pub stack: __u64,
3784 pub stack_size: __u64,
3785 pub tls: __u64,
3786 pub set_tid: __u64,
3787 pub set_tid_size: __u64,
3788 pub cgroup: __u64,
3789 }
3790 pub type sigset_t = crate::ctypes::c_ulong;
3791 #[repr(C)]
3792 #[derive(Debug, Copy, Clone)]
3793 pub struct __new_sigset_t {
3794 pub sig: [crate::ctypes::c_ulong; 2usize],
3795 }
3796 #[repr(C)]
3797 #[derive(Debug, Copy, Clone)]
3798 pub struct sigstack {
3799 pub the_stack: *mut crate::ctypes::c_char,
3800 pub cur_status: crate::ctypes::c_int,
3801 }
3802 pub type __signalfn_t = ::core::option::Option<unsafe extern "C" fn(arg1: crate::ctypes::c_int)>;
3803 pub type __sighandler_t = __signalfn_t;
3804 pub type __restorefn_t = ::core::option::Option<unsafe extern "C" fn()>;
3805 pub type __sigrestore_t = __restorefn_t;
3806 #[repr(C)]
3807 #[derive(Debug, Copy, Clone)]
3808 pub struct __new_sigaction {
3809 pub sa_handler: __sighandler_t,
3810 pub sa_flags: crate::ctypes::c_ulong,
3811 pub sa_restorer: __sigrestore_t,
3812 pub sa_mask: __new_sigset_t,
3813 }
3814 #[repr(C)]
3815 #[derive(Debug, Copy, Clone)]
3816 pub struct sigaction {
3817 pub sa_handler: __sighandler_t,
3818 pub sa_mask: sigset_t,
3819 pub sa_flags: crate::ctypes::c_ulong,
3820 pub sa_restorer: ::core::option::Option<unsafe extern "C" fn()>,
3821 }
3822 #[repr(C)]
3823 #[derive(Debug, Copy, Clone)]
3824 pub struct sigaltstack {
3825 pub ss_sp: *mut crate::ctypes::c_void,
3826 pub ss_flags: crate::ctypes::c_int,
3827 pub ss_size: size_t,
3828 }
3829 pub type stack_t = sigaltstack;
3830 #[repr(C)]
3831 #[derive(Copy, Clone)]
3832 pub union sigval {
3833 pub sival_int: crate::ctypes::c_int,
3834 pub sival_ptr: *mut crate::ctypes::c_void,
3835 }
3836 pub type sigval_t = sigval;
3837 #[repr(C)]
3838 #[derive(Copy, Clone)]
3839 pub union __sifields {
3840 pub _kill: __sifields__bindgen_ty_1,
3841 pub _timer: __sifields__bindgen_ty_2,
3842 pub _rt: __sifields__bindgen_ty_3,
3843 pub _sigchld: __sifields__bindgen_ty_4,
3844 pub _sigfault: __sifields__bindgen_ty_5,
3845 pub _sigpoll: __sifields__bindgen_ty_6,
3846 pub _sigsys: __sifields__bindgen_ty_7,
3847 }
3848 #[repr(C)]
3849 #[derive(Debug, Copy, Clone)]
3850 pub struct __sifields__bindgen_ty_1 {
3851 pub _pid: __kernel_pid_t,
3852 pub _uid: __kernel_uid32_t,
3853 }
3854 #[repr(C)]
3855 #[derive(Copy, Clone)]
3856 pub struct __sifields__bindgen_ty_2 {
3857 pub _tid: __kernel_timer_t,
3858 pub _overrun: crate::ctypes::c_int,
3859 pub _sigval: sigval_t,
3860 pub _sys_private: crate::ctypes::c_int,
3861 }
3862 #[repr(C)]
3863 #[derive(Copy, Clone)]
3864 pub struct __sifields__bindgen_ty_3 {
3865 pub _pid: __kernel_pid_t,
3866 pub _uid: __kernel_uid32_t,
3867 pub _sigval: sigval_t,
3868 }
3869 #[repr(C)]
3870 #[derive(Debug, Copy, Clone)]
3871 pub struct __sifields__bindgen_ty_4 {
3872 pub _pid: __kernel_pid_t,
3873 pub _uid: __kernel_uid32_t,
3874 pub _status: crate::ctypes::c_int,
3875 pub _utime: __kernel_clock_t,
3876 pub _stime: __kernel_clock_t,
3877 }
3878 #[repr(C)]
3879 #[derive(Copy, Clone)]
3880 pub struct __sifields__bindgen_ty_5 {
3881 pub _addr: *mut crate::ctypes::c_void,
3882 pub __bindgen_anon_1: __sifields__bindgen_ty_5__bindgen_ty_1,
3883 }
3884 #[repr(C)]
3885 #[derive(Copy, Clone)]
3886 pub union __sifields__bindgen_ty_5__bindgen_ty_1 {
3887 pub _trapno: crate::ctypes::c_int,
3888 pub _addr_lsb: crate::ctypes::c_short,
3889 pub _addr_bnd: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
3890 pub _addr_pkey: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2,
3891 pub _perf: __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3,
3892 }
3893 #[repr(C)]
3894 #[derive(Debug, Copy, Clone)]
3895 pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
3896 pub _dummy_bnd: [crate::ctypes::c_char; 4usize],
3897 pub _lower: *mut crate::ctypes::c_void,
3898 pub _upper: *mut crate::ctypes::c_void,
3899 }
3900 #[repr(C)]
3901 #[derive(Debug, Copy, Clone)]
3902 pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_2 {
3903 pub _dummy_pkey: [crate::ctypes::c_char; 4usize],
3904 pub _pkey: __u32,
3905 }
3906 #[repr(C)]
3907 #[derive(Debug, Copy, Clone)]
3908 pub struct __sifields__bindgen_ty_5__bindgen_ty_1__bindgen_ty_3 {
3909 pub _data: crate::ctypes::c_ulong,
3910 pub _type: __u32,
3911 }
3912 #[repr(C)]
3913 #[derive(Debug, Copy, Clone)]
3914 pub struct __sifields__bindgen_ty_6 {
3915 pub _band: crate::ctypes::c_long,
3916 pub _fd: crate::ctypes::c_int,
3917 }
3918 #[repr(C)]
3919 #[derive(Debug, Copy, Clone)]
3920 pub struct __sifields__bindgen_ty_7 {
3921 pub _call_addr: *mut crate::ctypes::c_void,
3922 pub _syscall: crate::ctypes::c_int,
3923 pub _arch: crate::ctypes::c_uint,
3924 }
3925 #[repr(C)]
3926 #[derive(Copy, Clone)]
3927 pub struct siginfo {
3928 pub __bindgen_anon_1: siginfo__bindgen_ty_1,
3929 }
3930 #[repr(C)]
3931 #[derive(Copy, Clone)]
3932 pub union siginfo__bindgen_ty_1 {
3933 pub __bindgen_anon_1: siginfo__bindgen_ty_1__bindgen_ty_1,
3934 pub _si_pad: [crate::ctypes::c_int; 32usize],
3935 }
3936 #[repr(C)]
3937 #[derive(Copy, Clone)]
3938 pub struct siginfo__bindgen_ty_1__bindgen_ty_1 {
3939 pub si_signo: crate::ctypes::c_int,
3940 pub si_errno: crate::ctypes::c_int,
3941 pub si_code: crate::ctypes::c_int,
3942 pub _sifields: __sifields,
3943 }
3944 pub type siginfo_t = siginfo;
3945 #[repr(C)]
3946 #[derive(Copy, Clone)]
3947 pub struct sigevent {
3948 pub sigev_value: sigval_t,
3949 pub sigev_signo: crate::ctypes::c_int,
3950 pub sigev_notify: crate::ctypes::c_int,
3951 pub _sigev_un: sigevent__bindgen_ty_1,
3952 }
3953 #[repr(C)]
3954 #[derive(Copy, Clone)]
3955 pub union sigevent__bindgen_ty_1 {
3956 pub _pad: [crate::ctypes::c_int; 13usize],
3957 pub _tid: crate::ctypes::c_int,
3958 pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1,
3959 }
3960 #[repr(C)]
3961 #[derive(Debug, Copy, Clone)]
3962 pub struct sigevent__bindgen_ty_1__bindgen_ty_1 {
3963 pub _function: ::core::option::Option<unsafe extern "C" fn(arg1: sigval_t)>,
3964 pub _attribute: *mut crate::ctypes::c_void,
3965 }
3966 pub type sigevent_t = sigevent;
3967 #[repr(C)]
3968 #[derive(Debug, Copy, Clone)]
3969 pub struct statx_timestamp {
3970 pub tv_sec: __s64,
3971 pub tv_nsec: __u32,
3972 pub __reserved: __s32,
3973 }
3974 #[repr(C)]
3975 #[derive(Debug, Copy, Clone)]
3976 pub struct statx {
3977 pub stx_mask: __u32,
3978 pub stx_blksize: __u32,
3979 pub stx_attributes: __u64,
3980 pub stx_nlink: __u32,
3981 pub stx_uid: __u32,
3982 pub stx_gid: __u32,
3983 pub stx_mode: __u16,
3984 pub __spare0: [__u16; 1usize],
3985 pub stx_ino: __u64,
3986 pub stx_size: __u64,
3987 pub stx_blocks: __u64,
3988 pub stx_attributes_mask: __u64,
3989 pub stx_atime: statx_timestamp,
3990 pub stx_btime: statx_timestamp,
3991 pub stx_ctime: statx_timestamp,
3992 pub stx_mtime: statx_timestamp,
3993 pub stx_rdev_major: __u32,
3994 pub stx_rdev_minor: __u32,
3995 pub stx_dev_major: __u32,
3996 pub stx_dev_minor: __u32,
3997 pub stx_mnt_id: __u64,
3998 pub __spare2: __u64,
3999 pub __spare3: [__u64; 12usize],
4000 }
4001 #[repr(C)]
4002 #[derive(Debug, Copy, Clone)]
4003 pub struct sysinfo {
4004 pub uptime: __kernel_long_t,
4005 pub loads: [__kernel_ulong_t; 3usize],
4006 pub totalram: __kernel_ulong_t,
4007 pub freeram: __kernel_ulong_t,
4008 pub sharedram: __kernel_ulong_t,
4009 pub bufferram: __kernel_ulong_t,
4010 pub totalswap: __kernel_ulong_t,
4011 pub freeswap: __kernel_ulong_t,
4012 pub procs: __u16,
4013 pub pad: __u16,
4014 pub totalhigh: __kernel_ulong_t,
4015 pub freehigh: __kernel_ulong_t,
4016 pub mem_unit: __u32,
4017 pub _f: [crate::ctypes::c_char; 8usize],
4018 }
4019 #[repr(C)]
4020 #[derive(Debug, Copy, Clone)]
4021 pub struct tcphdr {
4022 pub source: __be16,
4023 pub dest: __be16,
4024 pub seq: __be32,
4025 pub ack_seq: __be32,
4026 pub _bitfield_align_1: [u8; 0],
4027 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
4028 pub window: __be16,
4029 pub check: __sum16,
4030 pub urg_ptr: __be16,
4031 }
4032 impl tcphdr {
4033 #[inline]
doff(&self) -> __u164034 pub fn doff(&self) -> __u16 {
4035 unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u16) }
4036 }
4037 #[inline]
set_doff(&mut self, val: __u16)4038 pub fn set_doff(&mut self, val: __u16) {
4039 unsafe {
4040 let val: u16 = ::core::mem::transmute(val);
4041 self._bitfield_1.set(0usize, 4u8, val as u64)
4042 }
4043 }
4044 #[inline]
res1(&self) -> __u164045 pub fn res1(&self) -> __u16 {
4046 unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u16) }
4047 }
4048 #[inline]
set_res1(&mut self, val: __u16)4049 pub fn set_res1(&mut self, val: __u16) {
4050 unsafe {
4051 let val: u16 = ::core::mem::transmute(val);
4052 self._bitfield_1.set(4usize, 4u8, val as u64)
4053 }
4054 }
4055 #[inline]
cwr(&self) -> __u164056 pub fn cwr(&self) -> __u16 {
4057 unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u16) }
4058 }
4059 #[inline]
set_cwr(&mut self, val: __u16)4060 pub fn set_cwr(&mut self, val: __u16) {
4061 unsafe {
4062 let val: u16 = ::core::mem::transmute(val);
4063 self._bitfield_1.set(8usize, 1u8, val as u64)
4064 }
4065 }
4066 #[inline]
ece(&self) -> __u164067 pub fn ece(&self) -> __u16 {
4068 unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u16) }
4069 }
4070 #[inline]
set_ece(&mut self, val: __u16)4071 pub fn set_ece(&mut self, val: __u16) {
4072 unsafe {
4073 let val: u16 = ::core::mem::transmute(val);
4074 self._bitfield_1.set(9usize, 1u8, val as u64)
4075 }
4076 }
4077 #[inline]
urg(&self) -> __u164078 pub fn urg(&self) -> __u16 {
4079 unsafe { ::core::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u16) }
4080 }
4081 #[inline]
set_urg(&mut self, val: __u16)4082 pub fn set_urg(&mut self, val: __u16) {
4083 unsafe {
4084 let val: u16 = ::core::mem::transmute(val);
4085 self._bitfield_1.set(10usize, 1u8, val as u64)
4086 }
4087 }
4088 #[inline]
ack(&self) -> __u164089 pub fn ack(&self) -> __u16 {
4090 unsafe { ::core::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u16) }
4091 }
4092 #[inline]
set_ack(&mut self, val: __u16)4093 pub fn set_ack(&mut self, val: __u16) {
4094 unsafe {
4095 let val: u16 = ::core::mem::transmute(val);
4096 self._bitfield_1.set(11usize, 1u8, val as u64)
4097 }
4098 }
4099 #[inline]
psh(&self) -> __u164100 pub fn psh(&self) -> __u16 {
4101 unsafe { ::core::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u16) }
4102 }
4103 #[inline]
set_psh(&mut self, val: __u16)4104 pub fn set_psh(&mut self, val: __u16) {
4105 unsafe {
4106 let val: u16 = ::core::mem::transmute(val);
4107 self._bitfield_1.set(12usize, 1u8, val as u64)
4108 }
4109 }
4110 #[inline]
rst(&self) -> __u164111 pub fn rst(&self) -> __u16 {
4112 unsafe { ::core::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u16) }
4113 }
4114 #[inline]
set_rst(&mut self, val: __u16)4115 pub fn set_rst(&mut self, val: __u16) {
4116 unsafe {
4117 let val: u16 = ::core::mem::transmute(val);
4118 self._bitfield_1.set(13usize, 1u8, val as u64)
4119 }
4120 }
4121 #[inline]
syn(&self) -> __u164122 pub fn syn(&self) -> __u16 {
4123 unsafe { ::core::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u16) }
4124 }
4125 #[inline]
set_syn(&mut self, val: __u16)4126 pub fn set_syn(&mut self, val: __u16) {
4127 unsafe {
4128 let val: u16 = ::core::mem::transmute(val);
4129 self._bitfield_1.set(14usize, 1u8, val as u64)
4130 }
4131 }
4132 #[inline]
fin(&self) -> __u164133 pub fn fin(&self) -> __u16 {
4134 unsafe { ::core::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u16) }
4135 }
4136 #[inline]
set_fin(&mut self, val: __u16)4137 pub fn set_fin(&mut self, val: __u16) {
4138 unsafe {
4139 let val: u16 = ::core::mem::transmute(val);
4140 self._bitfield_1.set(15usize, 1u8, val as u64)
4141 }
4142 }
4143 #[inline]
new_bitfield_1(doff: __u16, res1: __u16, cwr: __u16, ece: __u16, urg: __u16, ack: __u16, psh: __u16, rst: __u16, syn: __u16, fin: __u16) -> __BindgenBitfieldUnit<[u8; 2usize]>4144 pub fn new_bitfield_1(doff: __u16, res1: __u16, cwr: __u16, ece: __u16, urg: __u16, ack: __u16, psh: __u16, rst: __u16, syn: __u16, fin: __u16) -> __BindgenBitfieldUnit<[u8; 2usize]> {
4145 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
4146 __bindgen_bitfield_unit.set(0usize, 4u8, {
4147 let doff: u16 = unsafe { ::core::mem::transmute(doff) };
4148 doff as u64
4149 });
4150 __bindgen_bitfield_unit.set(4usize, 4u8, {
4151 let res1: u16 = unsafe { ::core::mem::transmute(res1) };
4152 res1 as u64
4153 });
4154 __bindgen_bitfield_unit.set(8usize, 1u8, {
4155 let cwr: u16 = unsafe { ::core::mem::transmute(cwr) };
4156 cwr as u64
4157 });
4158 __bindgen_bitfield_unit.set(9usize, 1u8, {
4159 let ece: u16 = unsafe { ::core::mem::transmute(ece) };
4160 ece as u64
4161 });
4162 __bindgen_bitfield_unit.set(10usize, 1u8, {
4163 let urg: u16 = unsafe { ::core::mem::transmute(urg) };
4164 urg as u64
4165 });
4166 __bindgen_bitfield_unit.set(11usize, 1u8, {
4167 let ack: u16 = unsafe { ::core::mem::transmute(ack) };
4168 ack as u64
4169 });
4170 __bindgen_bitfield_unit.set(12usize, 1u8, {
4171 let psh: u16 = unsafe { ::core::mem::transmute(psh) };
4172 psh as u64
4173 });
4174 __bindgen_bitfield_unit.set(13usize, 1u8, {
4175 let rst: u16 = unsafe { ::core::mem::transmute(rst) };
4176 rst as u64
4177 });
4178 __bindgen_bitfield_unit.set(14usize, 1u8, {
4179 let syn: u16 = unsafe { ::core::mem::transmute(syn) };
4180 syn as u64
4181 });
4182 __bindgen_bitfield_unit.set(15usize, 1u8, {
4183 let fin: u16 = unsafe { ::core::mem::transmute(fin) };
4184 fin as u64
4185 });
4186 __bindgen_bitfield_unit
4187 }
4188 }
4189 #[repr(C)]
4190 #[derive(Copy, Clone)]
4191 pub union tcp_word_hdr {
4192 pub hdr: tcphdr,
4193 pub words: [__be32; 5usize],
4194 }
4195 pub const TCP_FLAG_CWR: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_CWR;
4196 pub const TCP_FLAG_ECE: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_ECE;
4197 pub const TCP_FLAG_URG: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_URG;
4198 pub const TCP_FLAG_ACK: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_ACK;
4199 pub const TCP_FLAG_PSH: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_PSH;
4200 pub const TCP_FLAG_RST: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_RST;
4201 pub const TCP_FLAG_SYN: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_SYN;
4202 pub const TCP_FLAG_FIN: _bindgen_ty_4 = _bindgen_ty_4::TCP_FLAG_FIN;
4203 pub const TCP_RESERVED_BITS: _bindgen_ty_4 = _bindgen_ty_4::TCP_RESERVED_BITS;
4204 pub const TCP_DATA_OFFSET: _bindgen_ty_4 = _bindgen_ty_4::TCP_DATA_OFFSET;
4205 #[repr(u32)]
4206 #[non_exhaustive]
4207 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4208 pub enum _bindgen_ty_4 {
4209 TCP_FLAG_CWR = 8388608,
4210 TCP_FLAG_ECE = 4194304,
4211 TCP_FLAG_URG = 2097152,
4212 TCP_FLAG_ACK = 1048576,
4213 TCP_FLAG_PSH = 524288,
4214 TCP_FLAG_RST = 262144,
4215 TCP_FLAG_SYN = 131072,
4216 TCP_FLAG_FIN = 65536,
4217 TCP_RESERVED_BITS = 251658240,
4218 TCP_DATA_OFFSET = 4026531840,
4219 }
4220 #[repr(C)]
4221 #[derive(Debug, Copy, Clone)]
4222 pub struct tcp_repair_opt {
4223 pub opt_code: __u32,
4224 pub opt_val: __u32,
4225 }
4226 #[repr(C)]
4227 #[derive(Debug, Copy, Clone)]
4228 pub struct tcp_repair_window {
4229 pub snd_wl1: __u32,
4230 pub snd_wnd: __u32,
4231 pub max_window: __u32,
4232 pub rcv_wnd: __u32,
4233 pub rcv_wup: __u32,
4234 }
4235 pub const TCP_NO_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_NO_QUEUE;
4236 pub const TCP_RECV_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_RECV_QUEUE;
4237 pub const TCP_SEND_QUEUE: _bindgen_ty_5 = _bindgen_ty_5::TCP_SEND_QUEUE;
4238 pub const TCP_QUEUES_NR: _bindgen_ty_5 = _bindgen_ty_5::TCP_QUEUES_NR;
4239 #[repr(u32)]
4240 #[non_exhaustive]
4241 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4242 pub enum _bindgen_ty_5 {
4243 TCP_NO_QUEUE = 0,
4244 TCP_RECV_QUEUE = 1,
4245 TCP_SEND_QUEUE = 2,
4246 TCP_QUEUES_NR = 3,
4247 }
4248 #[repr(u32)]
4249 #[non_exhaustive]
4250 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4251 pub enum tcp_fastopen_client_fail {
4252 TFO_STATUS_UNSPEC = 0,
4253 TFO_COOKIE_UNAVAILABLE = 1,
4254 TFO_DATA_NOT_ACKED = 2,
4255 TFO_SYN_RETRANSMITTED = 3,
4256 }
4257 #[repr(u32)]
4258 #[non_exhaustive]
4259 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4260 pub enum tcp_ca_state {
4261 TCP_CA_Open = 0,
4262 TCP_CA_Disorder = 1,
4263 TCP_CA_CWR = 2,
4264 TCP_CA_Recovery = 3,
4265 TCP_CA_Loss = 4,
4266 }
4267 #[repr(C)]
4268 #[derive(Debug, Copy, Clone)]
4269 pub struct tcp_info {
4270 pub tcpi_state: __u8,
4271 pub tcpi_ca_state: __u8,
4272 pub tcpi_retransmits: __u8,
4273 pub tcpi_probes: __u8,
4274 pub tcpi_backoff: __u8,
4275 pub tcpi_options: __u8,
4276 pub _bitfield_align_1: [u8; 0],
4277 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
4278 pub tcpi_rto: __u32,
4279 pub tcpi_ato: __u32,
4280 pub tcpi_snd_mss: __u32,
4281 pub tcpi_rcv_mss: __u32,
4282 pub tcpi_unacked: __u32,
4283 pub tcpi_sacked: __u32,
4284 pub tcpi_lost: __u32,
4285 pub tcpi_retrans: __u32,
4286 pub tcpi_fackets: __u32,
4287 pub tcpi_last_data_sent: __u32,
4288 pub tcpi_last_ack_sent: __u32,
4289 pub tcpi_last_data_recv: __u32,
4290 pub tcpi_last_ack_recv: __u32,
4291 pub tcpi_pmtu: __u32,
4292 pub tcpi_rcv_ssthresh: __u32,
4293 pub tcpi_rtt: __u32,
4294 pub tcpi_rttvar: __u32,
4295 pub tcpi_snd_ssthresh: __u32,
4296 pub tcpi_snd_cwnd: __u32,
4297 pub tcpi_advmss: __u32,
4298 pub tcpi_reordering: __u32,
4299 pub tcpi_rcv_rtt: __u32,
4300 pub tcpi_rcv_space: __u32,
4301 pub tcpi_total_retrans: __u32,
4302 pub tcpi_pacing_rate: __u64,
4303 pub tcpi_max_pacing_rate: __u64,
4304 pub tcpi_bytes_acked: __u64,
4305 pub tcpi_bytes_received: __u64,
4306 pub tcpi_segs_out: __u32,
4307 pub tcpi_segs_in: __u32,
4308 pub tcpi_notsent_bytes: __u32,
4309 pub tcpi_min_rtt: __u32,
4310 pub tcpi_data_segs_in: __u32,
4311 pub tcpi_data_segs_out: __u32,
4312 pub tcpi_delivery_rate: __u64,
4313 pub tcpi_busy_time: __u64,
4314 pub tcpi_rwnd_limited: __u64,
4315 pub tcpi_sndbuf_limited: __u64,
4316 pub tcpi_delivered: __u32,
4317 pub tcpi_delivered_ce: __u32,
4318 pub tcpi_bytes_sent: __u64,
4319 pub tcpi_bytes_retrans: __u64,
4320 pub tcpi_dsack_dups: __u32,
4321 pub tcpi_reord_seen: __u32,
4322 pub tcpi_rcv_ooopack: __u32,
4323 pub tcpi_snd_wnd: __u32,
4324 }
4325 impl tcp_info {
4326 #[inline]
tcpi_snd_wscale(&self) -> __u84327 pub fn tcpi_snd_wscale(&self) -> __u8 {
4328 unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
4329 }
4330 #[inline]
set_tcpi_snd_wscale(&mut self, val: __u8)4331 pub fn set_tcpi_snd_wscale(&mut self, val: __u8) {
4332 unsafe {
4333 let val: u8 = ::core::mem::transmute(val);
4334 self._bitfield_1.set(0usize, 4u8, val as u64)
4335 }
4336 }
4337 #[inline]
tcpi_rcv_wscale(&self) -> __u84338 pub fn tcpi_rcv_wscale(&self) -> __u8 {
4339 unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u8) }
4340 }
4341 #[inline]
set_tcpi_rcv_wscale(&mut self, val: __u8)4342 pub fn set_tcpi_rcv_wscale(&mut self, val: __u8) {
4343 unsafe {
4344 let val: u8 = ::core::mem::transmute(val);
4345 self._bitfield_1.set(4usize, 4u8, val as u64)
4346 }
4347 }
4348 #[inline]
tcpi_delivery_rate_app_limited(&self) -> __u84349 pub fn tcpi_delivery_rate_app_limited(&self) -> __u8 {
4350 unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) }
4351 }
4352 #[inline]
set_tcpi_delivery_rate_app_limited(&mut self, val: __u8)4353 pub fn set_tcpi_delivery_rate_app_limited(&mut self, val: __u8) {
4354 unsafe {
4355 let val: u8 = ::core::mem::transmute(val);
4356 self._bitfield_1.set(8usize, 1u8, val as u64)
4357 }
4358 }
4359 #[inline]
tcpi_fastopen_client_fail(&self) -> __u84360 pub fn tcpi_fastopen_client_fail(&self) -> __u8 {
4361 unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 2u8) as u8) }
4362 }
4363 #[inline]
set_tcpi_fastopen_client_fail(&mut self, val: __u8)4364 pub fn set_tcpi_fastopen_client_fail(&mut self, val: __u8) {
4365 unsafe {
4366 let val: u8 = ::core::mem::transmute(val);
4367 self._bitfield_1.set(9usize, 2u8, val as u64)
4368 }
4369 }
4370 #[inline]
new_bitfield_1(tcpi_snd_wscale: __u8, tcpi_rcv_wscale: __u8, tcpi_delivery_rate_app_limited: __u8, tcpi_fastopen_client_fail: __u8) -> __BindgenBitfieldUnit<[u8; 2usize]>4371 pub fn new_bitfield_1(tcpi_snd_wscale: __u8, tcpi_rcv_wscale: __u8, tcpi_delivery_rate_app_limited: __u8, tcpi_fastopen_client_fail: __u8) -> __BindgenBitfieldUnit<[u8; 2usize]> {
4372 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
4373 __bindgen_bitfield_unit.set(0usize, 4u8, {
4374 let tcpi_snd_wscale: u8 = unsafe { ::core::mem::transmute(tcpi_snd_wscale) };
4375 tcpi_snd_wscale as u64
4376 });
4377 __bindgen_bitfield_unit.set(4usize, 4u8, {
4378 let tcpi_rcv_wscale: u8 = unsafe { ::core::mem::transmute(tcpi_rcv_wscale) };
4379 tcpi_rcv_wscale as u64
4380 });
4381 __bindgen_bitfield_unit.set(8usize, 1u8, {
4382 let tcpi_delivery_rate_app_limited: u8 = unsafe { ::core::mem::transmute(tcpi_delivery_rate_app_limited) };
4383 tcpi_delivery_rate_app_limited as u64
4384 });
4385 __bindgen_bitfield_unit.set(9usize, 2u8, {
4386 let tcpi_fastopen_client_fail: u8 = unsafe { ::core::mem::transmute(tcpi_fastopen_client_fail) };
4387 tcpi_fastopen_client_fail as u64
4388 });
4389 __bindgen_bitfield_unit
4390 }
4391 }
4392 pub const TCP_NLA_PAD: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_PAD;
4393 pub const TCP_NLA_BUSY: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BUSY;
4394 pub const TCP_NLA_RWND_LIMITED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_RWND_LIMITED;
4395 pub const TCP_NLA_SNDBUF_LIMITED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SNDBUF_LIMITED;
4396 pub const TCP_NLA_DATA_SEGS_OUT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DATA_SEGS_OUT;
4397 pub const TCP_NLA_TOTAL_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TOTAL_RETRANS;
4398 pub const TCP_NLA_PACING_RATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_PACING_RATE;
4399 pub const TCP_NLA_DELIVERY_RATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERY_RATE;
4400 pub const TCP_NLA_SND_CWND: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SND_CWND;
4401 pub const TCP_NLA_REORDERING: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REORDERING;
4402 pub const TCP_NLA_MIN_RTT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_MIN_RTT;
4403 pub const TCP_NLA_RECUR_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_RECUR_RETRANS;
4404 pub const TCP_NLA_DELIVERY_RATE_APP_LMT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERY_RATE_APP_LMT;
4405 pub const TCP_NLA_SNDQ_SIZE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SNDQ_SIZE;
4406 pub const TCP_NLA_CA_STATE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_CA_STATE;
4407 pub const TCP_NLA_SND_SSTHRESH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SND_SSTHRESH;
4408 pub const TCP_NLA_DELIVERED: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERED;
4409 pub const TCP_NLA_DELIVERED_CE: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DELIVERED_CE;
4410 pub const TCP_NLA_BYTES_SENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_SENT;
4411 pub const TCP_NLA_BYTES_RETRANS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_RETRANS;
4412 pub const TCP_NLA_DSACK_DUPS: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_DSACK_DUPS;
4413 pub const TCP_NLA_REORD_SEEN: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_REORD_SEEN;
4414 pub const TCP_NLA_SRTT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_SRTT;
4415 pub const TCP_NLA_TIMEOUT_REHASH: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TIMEOUT_REHASH;
4416 pub const TCP_NLA_BYTES_NOTSENT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_BYTES_NOTSENT;
4417 pub const TCP_NLA_EDT: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_EDT;
4418 pub const TCP_NLA_TTL: _bindgen_ty_6 = _bindgen_ty_6::TCP_NLA_TTL;
4419 #[repr(u32)]
4420 #[non_exhaustive]
4421 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4422 pub enum _bindgen_ty_6 {
4423 TCP_NLA_PAD = 0,
4424 TCP_NLA_BUSY = 1,
4425 TCP_NLA_RWND_LIMITED = 2,
4426 TCP_NLA_SNDBUF_LIMITED = 3,
4427 TCP_NLA_DATA_SEGS_OUT = 4,
4428 TCP_NLA_TOTAL_RETRANS = 5,
4429 TCP_NLA_PACING_RATE = 6,
4430 TCP_NLA_DELIVERY_RATE = 7,
4431 TCP_NLA_SND_CWND = 8,
4432 TCP_NLA_REORDERING = 9,
4433 TCP_NLA_MIN_RTT = 10,
4434 TCP_NLA_RECUR_RETRANS = 11,
4435 TCP_NLA_DELIVERY_RATE_APP_LMT = 12,
4436 TCP_NLA_SNDQ_SIZE = 13,
4437 TCP_NLA_CA_STATE = 14,
4438 TCP_NLA_SND_SSTHRESH = 15,
4439 TCP_NLA_DELIVERED = 16,
4440 TCP_NLA_DELIVERED_CE = 17,
4441 TCP_NLA_BYTES_SENT = 18,
4442 TCP_NLA_BYTES_RETRANS = 19,
4443 TCP_NLA_DSACK_DUPS = 20,
4444 TCP_NLA_REORD_SEEN = 21,
4445 TCP_NLA_SRTT = 22,
4446 TCP_NLA_TIMEOUT_REHASH = 23,
4447 TCP_NLA_BYTES_NOTSENT = 24,
4448 TCP_NLA_EDT = 25,
4449 TCP_NLA_TTL = 26,
4450 }
4451 #[repr(C)]
4452 #[derive(Copy, Clone)]
4453 pub struct tcp_md5sig {
4454 pub tcpm_addr: __kernel_sockaddr_storage,
4455 pub tcpm_flags: __u8,
4456 pub tcpm_prefixlen: __u8,
4457 pub tcpm_keylen: __u16,
4458 pub tcpm_ifindex: crate::ctypes::c_int,
4459 pub tcpm_key: [__u8; 80usize],
4460 }
4461 #[repr(C)]
4462 #[derive(Debug, Copy, Clone)]
4463 pub struct tcp_diag_md5sig {
4464 pub tcpm_family: __u8,
4465 pub tcpm_prefixlen: __u8,
4466 pub tcpm_keylen: __u16,
4467 pub tcpm_addr: [__be32; 4usize],
4468 pub tcpm_key: [__u8; 80usize],
4469 }
4470 #[repr(C)]
4471 #[derive(Debug, Copy, Clone)]
4472 pub struct tcp_zerocopy_receive {
4473 pub address: __u64,
4474 pub length: __u32,
4475 pub recv_skip_hint: __u32,
4476 pub inq: __u32,
4477 pub err: __s32,
4478 pub copybuf_address: __u64,
4479 pub copybuf_len: __s32,
4480 pub flags: __u32,
4481 pub msg_control: __u64,
4482 pub msg_controllen: __u64,
4483 pub msg_flags: __u32,
4484 pub reserved: __u32,
4485 }
4486 pub type cc_t = crate::ctypes::c_uchar;
4487 pub type speed_t = crate::ctypes::c_uint;
4488 pub type tcflag_t = crate::ctypes::c_ulong;
4489 #[repr(C)]
4490 #[derive(Debug, Copy, Clone)]
4491 pub struct termio {
4492 pub c_iflag: crate::ctypes::c_ushort,
4493 pub c_oflag: crate::ctypes::c_ushort,
4494 pub c_cflag: crate::ctypes::c_ushort,
4495 pub c_lflag: crate::ctypes::c_ushort,
4496 pub c_line: crate::ctypes::c_uchar,
4497 pub c_cc: [crate::ctypes::c_uchar; 8usize],
4498 }
4499 #[repr(C)]
4500 #[derive(Debug, Copy, Clone)]
4501 pub struct termios {
4502 pub c_iflag: tcflag_t,
4503 pub c_oflag: tcflag_t,
4504 pub c_cflag: tcflag_t,
4505 pub c_lflag: tcflag_t,
4506 pub c_line: cc_t,
4507 pub c_cc: [cc_t; 17usize],
4508 }
4509 #[repr(C)]
4510 #[derive(Debug, Copy, Clone)]
4511 pub struct termios2 {
4512 pub c_iflag: tcflag_t,
4513 pub c_oflag: tcflag_t,
4514 pub c_cflag: tcflag_t,
4515 pub c_lflag: tcflag_t,
4516 pub c_line: cc_t,
4517 pub c_cc: [cc_t; 19usize],
4518 pub c_ispeed: speed_t,
4519 pub c_ospeed: speed_t,
4520 }
4521 #[repr(C)]
4522 #[derive(Debug, Copy, Clone)]
4523 pub struct ktermios {
4524 pub c_iflag: tcflag_t,
4525 pub c_oflag: tcflag_t,
4526 pub c_cflag: tcflag_t,
4527 pub c_lflag: tcflag_t,
4528 pub c_line: cc_t,
4529 pub c_cc: [cc_t; 19usize],
4530 pub c_ispeed: speed_t,
4531 pub c_ospeed: speed_t,
4532 }
4533 #[repr(C)]
4534 #[derive(Debug, Copy, Clone)]
4535 pub struct winsize {
4536 pub ws_row: crate::ctypes::c_ushort,
4537 pub ws_col: crate::ctypes::c_ushort,
4538 pub ws_xpixel: crate::ctypes::c_ushort,
4539 pub ws_ypixel: crate::ctypes::c_ushort,
4540 }
4541 #[repr(C)]
4542 #[derive(Debug, Copy, Clone)]
4543 pub struct iovec {
4544 pub iov_base: *mut crate::ctypes::c_void,
4545 pub iov_len: __kernel_size_t,
4546 }
4547 #[repr(C)]
4548 #[derive(Debug, Copy, Clone)]
4549 pub struct sockaddr_un {
4550 pub sun_family: __kernel_sa_family_t,
4551 pub sun_path: [crate::ctypes::c_char; 108usize],
4552 }
4553 #[repr(C)]
4554 #[derive(Debug, Copy, Clone)]
4555 pub struct oldold_utsname {
4556 pub sysname: [crate::ctypes::c_char; 9usize],
4557 pub nodename: [crate::ctypes::c_char; 9usize],
4558 pub release: [crate::ctypes::c_char; 9usize],
4559 pub version: [crate::ctypes::c_char; 9usize],
4560 pub machine: [crate::ctypes::c_char; 9usize],
4561 }
4562 #[repr(C)]
4563 #[derive(Debug, Copy, Clone)]
4564 pub struct old_utsname {
4565 pub sysname: [crate::ctypes::c_char; 65usize],
4566 pub nodename: [crate::ctypes::c_char; 65usize],
4567 pub release: [crate::ctypes::c_char; 65usize],
4568 pub version: [crate::ctypes::c_char; 65usize],
4569 pub machine: [crate::ctypes::c_char; 65usize],
4570 }
4571 #[repr(C)]
4572 #[derive(Debug, Copy, Clone)]
4573 pub struct new_utsname {
4574 pub sysname: [crate::ctypes::c_char; 65usize],
4575 pub nodename: [crate::ctypes::c_char; 65usize],
4576 pub release: [crate::ctypes::c_char; 65usize],
4577 pub version: [crate::ctypes::c_char; 65usize],
4578 pub machine: [crate::ctypes::c_char; 65usize],
4579 pub domainname: [crate::ctypes::c_char; 65usize],
4580 }
4581 impl membarrier_cmd {
4582 pub const MEMBARRIER_CMD_SHARED: membarrier_cmd = membarrier_cmd::MEMBARRIER_CMD_GLOBAL;
4583 }
4584 #[repr(u32)]
4585 #[non_exhaustive]
4586 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4587 pub enum membarrier_cmd {
4588 MEMBARRIER_CMD_QUERY = 0,
4589 MEMBARRIER_CMD_GLOBAL = 1,
4590 MEMBARRIER_CMD_GLOBAL_EXPEDITED = 2,
4591 MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED = 4,
4592 MEMBARRIER_CMD_PRIVATE_EXPEDITED = 8,
4593 MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = 16,
4594 MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE = 32,
4595 MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE = 64,
4596 MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ = 128,
4597 MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ = 256,
4598 }
4599 #[repr(u32)]
4600 #[non_exhaustive]
4601 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4602 pub enum membarrier_cmd_flag {
4603 MEMBARRIER_CMD_FLAG_CPU = 1,
4604 }
4605 #[repr(C, packed)]
4606 #[derive(Copy, Clone)]
4607 pub struct uffd_msg {
4608 pub event: __u8,
4609 pub reserved1: __u8,
4610 pub reserved2: __u16,
4611 pub reserved3: __u32,
4612 pub arg: uffd_msg__bindgen_ty_1,
4613 }
4614 #[repr(C)]
4615 #[derive(Copy, Clone)]
4616 pub union uffd_msg__bindgen_ty_1 {
4617 pub pagefault: uffd_msg__bindgen_ty_1__bindgen_ty_1,
4618 pub fork: uffd_msg__bindgen_ty_1__bindgen_ty_2,
4619 pub remap: uffd_msg__bindgen_ty_1__bindgen_ty_3,
4620 pub remove: uffd_msg__bindgen_ty_1__bindgen_ty_4,
4621 pub reserved: uffd_msg__bindgen_ty_1__bindgen_ty_5,
4622 }
4623 #[repr(C)]
4624 #[derive(Copy, Clone)]
4625 pub struct uffd_msg__bindgen_ty_1__bindgen_ty_1 {
4626 pub flags: __u64,
4627 pub address: __u64,
4628 pub feat: uffd_msg__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
4629 }
4630 #[repr(C)]
4631 #[derive(Copy, Clone)]
4632 pub union uffd_msg__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
4633 pub ptid: __u32,
4634 }
4635 #[repr(C)]
4636 #[derive(Debug, Copy, Clone)]
4637 pub struct uffd_msg__bindgen_ty_1__bindgen_ty_2 {
4638 pub ufd: __u32,
4639 }
4640 #[repr(C)]
4641 #[derive(Debug, Copy, Clone)]
4642 pub struct uffd_msg__bindgen_ty_1__bindgen_ty_3 {
4643 pub from: __u64,
4644 pub to: __u64,
4645 pub len: __u64,
4646 }
4647 #[repr(C)]
4648 #[derive(Debug, Copy, Clone)]
4649 pub struct uffd_msg__bindgen_ty_1__bindgen_ty_4 {
4650 pub start: __u64,
4651 pub end: __u64,
4652 }
4653 #[repr(C)]
4654 #[derive(Debug, Copy, Clone)]
4655 pub struct uffd_msg__bindgen_ty_1__bindgen_ty_5 {
4656 pub reserved1: __u64,
4657 pub reserved2: __u64,
4658 pub reserved3: __u64,
4659 }
4660 #[repr(C)]
4661 #[derive(Debug, Copy, Clone)]
4662 pub struct uffdio_api {
4663 pub api: __u64,
4664 pub features: __u64,
4665 pub ioctls: __u64,
4666 }
4667 #[repr(C)]
4668 #[derive(Debug, Copy, Clone)]
4669 pub struct uffdio_range {
4670 pub start: __u64,
4671 pub len: __u64,
4672 }
4673 #[repr(C)]
4674 #[derive(Debug, Copy, Clone)]
4675 pub struct uffdio_register {
4676 pub range: uffdio_range,
4677 pub mode: __u64,
4678 pub ioctls: __u64,
4679 }
4680 #[repr(C)]
4681 #[derive(Debug, Copy, Clone)]
4682 pub struct uffdio_copy {
4683 pub dst: __u64,
4684 pub src: __u64,
4685 pub len: __u64,
4686 pub mode: __u64,
4687 pub copy: __s64,
4688 }
4689 #[repr(C)]
4690 #[derive(Debug, Copy, Clone)]
4691 pub struct uffdio_zeropage {
4692 pub range: uffdio_range,
4693 pub mode: __u64,
4694 pub zeropage: __s64,
4695 }
4696 #[repr(C)]
4697 #[derive(Debug, Copy, Clone)]
4698 pub struct uffdio_writeprotect {
4699 pub range: uffdio_range,
4700 pub mode: __u64,
4701 }
4702 #[repr(C)]
4703 #[derive(Debug, Copy, Clone)]
4704 pub struct uffdio_continue {
4705 pub range: uffdio_range,
4706 pub mode: __u64,
4707 pub mapped: __s64,
4708 }
4709 #[repr(C)]
4710 #[derive(Copy, Clone)]
4711 pub struct io_uring_sqe {
4712 pub opcode: __u8,
4713 pub flags: __u8,
4714 pub ioprio: __u16,
4715 pub fd: __s32,
4716 pub __bindgen_anon_1: io_uring_sqe__bindgen_ty_1,
4717 pub __bindgen_anon_2: io_uring_sqe__bindgen_ty_2,
4718 pub len: __u32,
4719 pub __bindgen_anon_3: io_uring_sqe__bindgen_ty_3,
4720 pub user_data: __u64,
4721 pub __bindgen_anon_4: io_uring_sqe__bindgen_ty_4,
4722 pub personality: __u16,
4723 pub __bindgen_anon_5: io_uring_sqe__bindgen_ty_5,
4724 pub __pad2: [__u64; 2usize],
4725 }
4726 #[repr(C)]
4727 #[derive(Copy, Clone)]
4728 pub union io_uring_sqe__bindgen_ty_1 {
4729 pub off: __u64,
4730 pub addr2: __u64,
4731 }
4732 #[repr(C)]
4733 #[derive(Copy, Clone)]
4734 pub union io_uring_sqe__bindgen_ty_2 {
4735 pub addr: __u64,
4736 pub splice_off_in: __u64,
4737 }
4738 #[repr(C)]
4739 #[derive(Copy, Clone)]
4740 pub union io_uring_sqe__bindgen_ty_3 {
4741 pub rw_flags: __kernel_rwf_t,
4742 pub fsync_flags: __u32,
4743 pub poll_events: __u16,
4744 pub poll32_events: __u32,
4745 pub sync_range_flags: __u32,
4746 pub msg_flags: __u32,
4747 pub timeout_flags: __u32,
4748 pub accept_flags: __u32,
4749 pub cancel_flags: __u32,
4750 pub open_flags: __u32,
4751 pub statx_flags: __u32,
4752 pub fadvise_advice: __u32,
4753 pub splice_flags: __u32,
4754 pub rename_flags: __u32,
4755 pub unlink_flags: __u32,
4756 pub hardlink_flags: __u32,
4757 }
4758 #[repr(C, packed)]
4759 #[derive(Copy, Clone)]
4760 pub union io_uring_sqe__bindgen_ty_4 {
4761 pub buf_index: __u16,
4762 pub buf_group: __u16,
4763 }
4764 #[repr(C)]
4765 #[derive(Copy, Clone)]
4766 pub union io_uring_sqe__bindgen_ty_5 {
4767 pub splice_fd_in: __s32,
4768 pub file_index: __u32,
4769 }
4770 pub const IOSQE_FIXED_FILE_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_FIXED_FILE_BIT;
4771 pub const IOSQE_IO_DRAIN_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_IO_DRAIN_BIT;
4772 pub const IOSQE_IO_LINK_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_IO_LINK_BIT;
4773 pub const IOSQE_IO_HARDLINK_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_IO_HARDLINK_BIT;
4774 pub const IOSQE_ASYNC_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_ASYNC_BIT;
4775 pub const IOSQE_BUFFER_SELECT_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_BUFFER_SELECT_BIT;
4776 pub const IOSQE_CQE_SKIP_SUCCESS_BIT: _bindgen_ty_7 = _bindgen_ty_7::IOSQE_CQE_SKIP_SUCCESS_BIT;
4777 #[repr(u32)]
4778 #[non_exhaustive]
4779 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4780 pub enum _bindgen_ty_7 {
4781 IOSQE_FIXED_FILE_BIT = 0,
4782 IOSQE_IO_DRAIN_BIT = 1,
4783 IOSQE_IO_LINK_BIT = 2,
4784 IOSQE_IO_HARDLINK_BIT = 3,
4785 IOSQE_ASYNC_BIT = 4,
4786 IOSQE_BUFFER_SELECT_BIT = 5,
4787 IOSQE_CQE_SKIP_SUCCESS_BIT = 6,
4788 }
4789 pub const IORING_OP_NOP: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_NOP;
4790 pub const IORING_OP_READV: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_READV;
4791 pub const IORING_OP_WRITEV: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_WRITEV;
4792 pub const IORING_OP_FSYNC: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_FSYNC;
4793 pub const IORING_OP_READ_FIXED: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_READ_FIXED;
4794 pub const IORING_OP_WRITE_FIXED: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_WRITE_FIXED;
4795 pub const IORING_OP_POLL_ADD: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_POLL_ADD;
4796 pub const IORING_OP_POLL_REMOVE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_POLL_REMOVE;
4797 pub const IORING_OP_SYNC_FILE_RANGE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_SYNC_FILE_RANGE;
4798 pub const IORING_OP_SENDMSG: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_SENDMSG;
4799 pub const IORING_OP_RECVMSG: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_RECVMSG;
4800 pub const IORING_OP_TIMEOUT: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_TIMEOUT;
4801 pub const IORING_OP_TIMEOUT_REMOVE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_TIMEOUT_REMOVE;
4802 pub const IORING_OP_ACCEPT: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_ACCEPT;
4803 pub const IORING_OP_ASYNC_CANCEL: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_ASYNC_CANCEL;
4804 pub const IORING_OP_LINK_TIMEOUT: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_LINK_TIMEOUT;
4805 pub const IORING_OP_CONNECT: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_CONNECT;
4806 pub const IORING_OP_FALLOCATE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_FALLOCATE;
4807 pub const IORING_OP_OPENAT: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_OPENAT;
4808 pub const IORING_OP_CLOSE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_CLOSE;
4809 pub const IORING_OP_FILES_UPDATE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_FILES_UPDATE;
4810 pub const IORING_OP_STATX: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_STATX;
4811 pub const IORING_OP_READ: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_READ;
4812 pub const IORING_OP_WRITE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_WRITE;
4813 pub const IORING_OP_FADVISE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_FADVISE;
4814 pub const IORING_OP_MADVISE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_MADVISE;
4815 pub const IORING_OP_SEND: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_SEND;
4816 pub const IORING_OP_RECV: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_RECV;
4817 pub const IORING_OP_OPENAT2: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_OPENAT2;
4818 pub const IORING_OP_EPOLL_CTL: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_EPOLL_CTL;
4819 pub const IORING_OP_SPLICE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_SPLICE;
4820 pub const IORING_OP_PROVIDE_BUFFERS: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_PROVIDE_BUFFERS;
4821 pub const IORING_OP_REMOVE_BUFFERS: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_REMOVE_BUFFERS;
4822 pub const IORING_OP_TEE: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_TEE;
4823 pub const IORING_OP_SHUTDOWN: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_SHUTDOWN;
4824 pub const IORING_OP_RENAMEAT: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_RENAMEAT;
4825 pub const IORING_OP_UNLINKAT: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_UNLINKAT;
4826 pub const IORING_OP_MKDIRAT: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_MKDIRAT;
4827 pub const IORING_OP_SYMLINKAT: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_SYMLINKAT;
4828 pub const IORING_OP_LINKAT: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_LINKAT;
4829 pub const IORING_OP_LAST: _bindgen_ty_8 = _bindgen_ty_8::IORING_OP_LAST;
4830 #[repr(u32)]
4831 #[non_exhaustive]
4832 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4833 pub enum _bindgen_ty_8 {
4834 IORING_OP_NOP = 0,
4835 IORING_OP_READV = 1,
4836 IORING_OP_WRITEV = 2,
4837 IORING_OP_FSYNC = 3,
4838 IORING_OP_READ_FIXED = 4,
4839 IORING_OP_WRITE_FIXED = 5,
4840 IORING_OP_POLL_ADD = 6,
4841 IORING_OP_POLL_REMOVE = 7,
4842 IORING_OP_SYNC_FILE_RANGE = 8,
4843 IORING_OP_SENDMSG = 9,
4844 IORING_OP_RECVMSG = 10,
4845 IORING_OP_TIMEOUT = 11,
4846 IORING_OP_TIMEOUT_REMOVE = 12,
4847 IORING_OP_ACCEPT = 13,
4848 IORING_OP_ASYNC_CANCEL = 14,
4849 IORING_OP_LINK_TIMEOUT = 15,
4850 IORING_OP_CONNECT = 16,
4851 IORING_OP_FALLOCATE = 17,
4852 IORING_OP_OPENAT = 18,
4853 IORING_OP_CLOSE = 19,
4854 IORING_OP_FILES_UPDATE = 20,
4855 IORING_OP_STATX = 21,
4856 IORING_OP_READ = 22,
4857 IORING_OP_WRITE = 23,
4858 IORING_OP_FADVISE = 24,
4859 IORING_OP_MADVISE = 25,
4860 IORING_OP_SEND = 26,
4861 IORING_OP_RECV = 27,
4862 IORING_OP_OPENAT2 = 28,
4863 IORING_OP_EPOLL_CTL = 29,
4864 IORING_OP_SPLICE = 30,
4865 IORING_OP_PROVIDE_BUFFERS = 31,
4866 IORING_OP_REMOVE_BUFFERS = 32,
4867 IORING_OP_TEE = 33,
4868 IORING_OP_SHUTDOWN = 34,
4869 IORING_OP_RENAMEAT = 35,
4870 IORING_OP_UNLINKAT = 36,
4871 IORING_OP_MKDIRAT = 37,
4872 IORING_OP_SYMLINKAT = 38,
4873 IORING_OP_LINKAT = 39,
4874 IORING_OP_LAST = 40,
4875 }
4876 #[repr(C)]
4877 #[derive(Debug, Copy, Clone)]
4878 pub struct io_uring_cqe {
4879 pub user_data: __u64,
4880 pub res: __s32,
4881 pub flags: __u32,
4882 }
4883 pub const IORING_CQE_BUFFER_SHIFT: _bindgen_ty_9 = _bindgen_ty_9::IORING_CQE_BUFFER_SHIFT;
4884 #[repr(u32)]
4885 #[non_exhaustive]
4886 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4887 pub enum _bindgen_ty_9 {
4888 IORING_CQE_BUFFER_SHIFT = 16,
4889 }
4890 #[repr(C)]
4891 #[derive(Debug, Copy, Clone)]
4892 pub struct io_sqring_offsets {
4893 pub head: __u32,
4894 pub tail: __u32,
4895 pub ring_mask: __u32,
4896 pub ring_entries: __u32,
4897 pub flags: __u32,
4898 pub dropped: __u32,
4899 pub array: __u32,
4900 pub resv1: __u32,
4901 pub resv2: __u64,
4902 }
4903 #[repr(C)]
4904 #[derive(Debug, Copy, Clone)]
4905 pub struct io_cqring_offsets {
4906 pub head: __u32,
4907 pub tail: __u32,
4908 pub ring_mask: __u32,
4909 pub ring_entries: __u32,
4910 pub overflow: __u32,
4911 pub cqes: __u32,
4912 pub flags: __u32,
4913 pub resv1: __u32,
4914 pub resv2: __u64,
4915 }
4916 #[repr(C)]
4917 #[derive(Debug, Copy, Clone)]
4918 pub struct io_uring_params {
4919 pub sq_entries: __u32,
4920 pub cq_entries: __u32,
4921 pub flags: __u32,
4922 pub sq_thread_cpu: __u32,
4923 pub sq_thread_idle: __u32,
4924 pub features: __u32,
4925 pub wq_fd: __u32,
4926 pub resv: [__u32; 3usize],
4927 pub sq_off: io_sqring_offsets,
4928 pub cq_off: io_cqring_offsets,
4929 }
4930 pub const IORING_REGISTER_BUFFERS: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_BUFFERS;
4931 pub const IORING_UNREGISTER_BUFFERS: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_BUFFERS;
4932 pub const IORING_REGISTER_FILES: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_FILES;
4933 pub const IORING_UNREGISTER_FILES: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_FILES;
4934 pub const IORING_REGISTER_EVENTFD: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_EVENTFD;
4935 pub const IORING_UNREGISTER_EVENTFD: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_EVENTFD;
4936 pub const IORING_REGISTER_FILES_UPDATE: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_FILES_UPDATE;
4937 pub const IORING_REGISTER_EVENTFD_ASYNC: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_EVENTFD_ASYNC;
4938 pub const IORING_REGISTER_PROBE: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_PROBE;
4939 pub const IORING_REGISTER_PERSONALITY: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_PERSONALITY;
4940 pub const IORING_UNREGISTER_PERSONALITY: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_PERSONALITY;
4941 pub const IORING_REGISTER_RESTRICTIONS: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_RESTRICTIONS;
4942 pub const IORING_REGISTER_ENABLE_RINGS: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_ENABLE_RINGS;
4943 pub const IORING_REGISTER_FILES2: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_FILES2;
4944 pub const IORING_REGISTER_FILES_UPDATE2: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_FILES_UPDATE2;
4945 pub const IORING_REGISTER_BUFFERS2: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_BUFFERS2;
4946 pub const IORING_REGISTER_BUFFERS_UPDATE: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_BUFFERS_UPDATE;
4947 pub const IORING_REGISTER_IOWQ_AFF: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_IOWQ_AFF;
4948 pub const IORING_UNREGISTER_IOWQ_AFF: _bindgen_ty_10 = _bindgen_ty_10::IORING_UNREGISTER_IOWQ_AFF;
4949 pub const IORING_REGISTER_IOWQ_MAX_WORKERS: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_IOWQ_MAX_WORKERS;
4950 pub const IORING_REGISTER_LAST: _bindgen_ty_10 = _bindgen_ty_10::IORING_REGISTER_LAST;
4951 #[repr(u32)]
4952 #[non_exhaustive]
4953 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4954 pub enum _bindgen_ty_10 {
4955 IORING_REGISTER_BUFFERS = 0,
4956 IORING_UNREGISTER_BUFFERS = 1,
4957 IORING_REGISTER_FILES = 2,
4958 IORING_UNREGISTER_FILES = 3,
4959 IORING_REGISTER_EVENTFD = 4,
4960 IORING_UNREGISTER_EVENTFD = 5,
4961 IORING_REGISTER_FILES_UPDATE = 6,
4962 IORING_REGISTER_EVENTFD_ASYNC = 7,
4963 IORING_REGISTER_PROBE = 8,
4964 IORING_REGISTER_PERSONALITY = 9,
4965 IORING_UNREGISTER_PERSONALITY = 10,
4966 IORING_REGISTER_RESTRICTIONS = 11,
4967 IORING_REGISTER_ENABLE_RINGS = 12,
4968 IORING_REGISTER_FILES2 = 13,
4969 IORING_REGISTER_FILES_UPDATE2 = 14,
4970 IORING_REGISTER_BUFFERS2 = 15,
4971 IORING_REGISTER_BUFFERS_UPDATE = 16,
4972 IORING_REGISTER_IOWQ_AFF = 17,
4973 IORING_UNREGISTER_IOWQ_AFF = 18,
4974 IORING_REGISTER_IOWQ_MAX_WORKERS = 19,
4975 IORING_REGISTER_LAST = 20,
4976 }
4977 pub const IO_WQ_BOUND: _bindgen_ty_11 = _bindgen_ty_11::IO_WQ_BOUND;
4978 pub const IO_WQ_UNBOUND: _bindgen_ty_11 = _bindgen_ty_11::IO_WQ_UNBOUND;
4979 #[repr(u32)]
4980 #[non_exhaustive]
4981 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
4982 pub enum _bindgen_ty_11 {
4983 IO_WQ_BOUND = 0,
4984 IO_WQ_UNBOUND = 1,
4985 }
4986 #[repr(C)]
4987 #[derive(Debug, Copy, Clone)]
4988 pub struct io_uring_files_update {
4989 pub offset: __u32,
4990 pub resv: __u32,
4991 pub fds: __u64,
4992 }
4993 #[repr(C)]
4994 #[derive(Debug, Copy, Clone)]
4995 pub struct io_uring_rsrc_register {
4996 pub nr: __u32,
4997 pub resv: __u32,
4998 pub resv2: __u64,
4999 pub data: __u64,
5000 pub tags: __u64,
5001 }
5002 #[repr(C)]
5003 #[derive(Debug, Copy, Clone)]
5004 pub struct io_uring_rsrc_update {
5005 pub offset: __u32,
5006 pub resv: __u32,
5007 pub data: __u64,
5008 }
5009 #[repr(C)]
5010 #[derive(Debug, Copy, Clone)]
5011 pub struct io_uring_rsrc_update2 {
5012 pub offset: __u32,
5013 pub resv: __u32,
5014 pub data: __u64,
5015 pub tags: __u64,
5016 pub nr: __u32,
5017 pub resv2: __u32,
5018 }
5019 #[repr(C)]
5020 #[derive(Debug, Copy, Clone)]
5021 pub struct io_uring_probe_op {
5022 pub op: __u8,
5023 pub resv: __u8,
5024 pub flags: __u16,
5025 pub resv2: __u32,
5026 }
5027 #[repr(C)]
5028 #[derive(Debug)]
5029 pub struct io_uring_probe {
5030 pub last_op: __u8,
5031 pub ops_len: __u8,
5032 pub resv: __u16,
5033 pub resv2: [__u32; 3usize],
5034 pub ops: __IncompleteArrayField<io_uring_probe_op>,
5035 }
5036 #[repr(C)]
5037 #[derive(Copy, Clone)]
5038 pub struct io_uring_restriction {
5039 pub opcode: __u16,
5040 pub __bindgen_anon_1: io_uring_restriction__bindgen_ty_1,
5041 pub resv: __u8,
5042 pub resv2: [__u32; 3usize],
5043 }
5044 #[repr(C)]
5045 #[derive(Copy, Clone)]
5046 pub union io_uring_restriction__bindgen_ty_1 {
5047 pub register_op: __u8,
5048 pub sqe_op: __u8,
5049 pub sqe_flags: __u8,
5050 }
5051 pub const IORING_RESTRICTION_REGISTER_OP: _bindgen_ty_12 = _bindgen_ty_12::IORING_RESTRICTION_REGISTER_OP;
5052 pub const IORING_RESTRICTION_SQE_OP: _bindgen_ty_12 = _bindgen_ty_12::IORING_RESTRICTION_SQE_OP;
5053 pub const IORING_RESTRICTION_SQE_FLAGS_ALLOWED: _bindgen_ty_12 = _bindgen_ty_12::IORING_RESTRICTION_SQE_FLAGS_ALLOWED;
5054 pub const IORING_RESTRICTION_SQE_FLAGS_REQUIRED: _bindgen_ty_12 = _bindgen_ty_12::IORING_RESTRICTION_SQE_FLAGS_REQUIRED;
5055 pub const IORING_RESTRICTION_LAST: _bindgen_ty_12 = _bindgen_ty_12::IORING_RESTRICTION_LAST;
5056 #[repr(u32)]
5057 #[non_exhaustive]
5058 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
5059 pub enum _bindgen_ty_12 {
5060 IORING_RESTRICTION_REGISTER_OP = 0,
5061 IORING_RESTRICTION_SQE_OP = 1,
5062 IORING_RESTRICTION_SQE_FLAGS_ALLOWED = 2,
5063 IORING_RESTRICTION_SQE_FLAGS_REQUIRED = 3,
5064 IORING_RESTRICTION_LAST = 4,
5065 }
5066 #[repr(C)]
5067 #[derive(Debug, Copy, Clone)]
5068 pub struct io_uring_getevents_arg {
5069 pub sigmask: __u64,
5070 pub sigmask_sz: __u32,
5071 pub pad: __u32,
5072 pub ts: __u64,
5073 }
5074 #[repr(C)]
5075 #[derive(Copy, Clone)]
5076 pub struct sockaddr {
5077 pub __storage: __kernel_sockaddr_storage,
5078 }
5079 #[repr(C)]
5080 #[derive(Debug, Copy, Clone)]
5081 pub struct linger {
5082 pub l_onoff: crate::ctypes::c_int,
5083 pub l_linger: crate::ctypes::c_int,
5084 }
5085 #[repr(C)]
5086 #[derive(Debug)]
5087 pub struct linux_dirent64 {
5088 pub d_ino: crate::ctypes::c_ulonglong,
5089 pub d_off: crate::ctypes::c_longlong,
5090 pub d_reclen: __u16,
5091 pub d_type: __u8,
5092 pub d_name: __IncompleteArrayField<crate::ctypes::c_char>,
5093 }
5094 pub type socklen_t = crate::ctypes::c_uint;
5095 #[repr(C)]
5096 #[derive(Debug, Copy, Clone)]
5097 pub struct stat {
5098 pub st_dev: crate::ctypes::c_ushort,
5099 pub st_ino: __kernel_ino_t,
5100 pub st_mode: __kernel_mode_t,
5101 pub st_nlink: crate::ctypes::c_short,
5102 pub st_uid: crate::ctypes::c_ushort,
5103 pub st_gid: crate::ctypes::c_ushort,
5104 pub st_rdev: crate::ctypes::c_ushort,
5105 pub st_size: crate::ctypes::c_long,
5106 pub st_atime: crate::ctypes::c_long,
5107 pub st_atime_nsec: crate::ctypes::c_ulong,
5108 pub st_mtime: crate::ctypes::c_long,
5109 pub st_mtime_nsec: crate::ctypes::c_ulong,
5110 pub st_ctime: crate::ctypes::c_long,
5111 pub st_ctime_nsec: crate::ctypes::c_ulong,
5112 pub st_blksize: crate::ctypes::c_long,
5113 pub st_blocks: crate::ctypes::c_long,
5114 pub __unused4: [crate::ctypes::c_ulong; 2usize],
5115 }
5116 #[repr(C)]
5117 #[derive(Debug, Copy, Clone)]
5118 pub struct stat64 {
5119 pub st_dev: crate::ctypes::c_ulonglong,
5120 pub st_ino: crate::ctypes::c_ulonglong,
5121 pub st_mode: crate::ctypes::c_uint,
5122 pub st_nlink: crate::ctypes::c_uint,
5123 pub st_uid: crate::ctypes::c_uint,
5124 pub st_gid: crate::ctypes::c_uint,
5125 pub st_rdev: crate::ctypes::c_ulonglong,
5126 pub __pad3: [crate::ctypes::c_uchar; 8usize],
5127 pub st_size: crate::ctypes::c_longlong,
5128 pub st_blksize: crate::ctypes::c_uint,
5129 pub __pad4: [crate::ctypes::c_uchar; 8usize],
5130 pub st_blocks: crate::ctypes::c_uint,
5131 pub st_atime: crate::ctypes::c_uint,
5132 pub st_atime_nsec: crate::ctypes::c_uint,
5133 pub st_mtime: crate::ctypes::c_uint,
5134 pub st_mtime_nsec: crate::ctypes::c_uint,
5135 pub st_ctime: crate::ctypes::c_uint,
5136 pub st_ctime_nsec: crate::ctypes::c_uint,
5137 pub __unused4: crate::ctypes::c_uint,
5138 pub __unused5: crate::ctypes::c_uint,
5139 }
5140 #[repr(C)]
5141 #[derive(Debug, Copy, Clone)]
5142 pub struct statfs {
5143 pub f_type: __u32,
5144 pub f_bsize: __u32,
5145 pub f_blocks: __u32,
5146 pub f_bfree: __u32,
5147 pub f_bavail: __u32,
5148 pub f_files: __u32,
5149 pub f_ffree: __u32,
5150 pub f_fsid: __kernel_fsid_t,
5151 pub f_namelen: __u32,
5152 pub f_frsize: __u32,
5153 pub f_flags: __u32,
5154 pub f_spare: [__u32; 4usize],
5155 }
5156 #[repr(C)]
5157 #[derive(Debug, Copy, Clone)]
5158 pub struct statfs64 {
5159 pub f_type: __u32,
5160 pub f_bsize: __u32,
5161 pub f_blocks: __u64,
5162 pub f_bfree: __u64,
5163 pub f_bavail: __u64,
5164 pub f_files: __u64,
5165 pub f_ffree: __u64,
5166 pub f_fsid: __kernel_fsid_t,
5167 pub f_namelen: __u32,
5168 pub f_frsize: __u32,
5169 pub f_flags: __u32,
5170 pub f_spare: [__u32; 4usize],
5171 }
5172 #[repr(C)]
5173 #[derive(Debug, Copy, Clone)]
5174 pub struct compat_statfs64 {
5175 pub f_type: __u32,
5176 pub f_bsize: __u32,
5177 pub f_blocks: __u64,
5178 pub f_bfree: __u64,
5179 pub f_bavail: __u64,
5180 pub f_files: __u64,
5181 pub f_ffree: __u64,
5182 pub f_fsid: __kernel_fsid_t,
5183 pub f_namelen: __u32,
5184 pub f_frsize: __u32,
5185 pub f_flags: __u32,
5186 pub f_spare: [__u32; 4usize],
5187 }
5188 pub type __fsword_t = __u32;
5189 #[repr(C)]
5190 #[derive(Debug, Copy, Clone)]
5191 pub struct user_desc {
5192 pub entry_number: crate::ctypes::c_uint,
5193 pub base_addr: crate::ctypes::c_uint,
5194 pub limit: crate::ctypes::c_uint,
5195 pub _bitfield_align_1: [u8; 0],
5196 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
5197 pub __bindgen_padding_0: [u8; 3usize],
5198 }
5199 impl user_desc {
5200 #[inline]
seg_32bit(&self) -> crate::ctypes::c_uint5201 pub fn seg_32bit(&self) -> crate::ctypes::c_uint {
5202 unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
5203 }
5204 #[inline]
set_seg_32bit(&mut self, val: crate::ctypes::c_uint)5205 pub fn set_seg_32bit(&mut self, val: crate::ctypes::c_uint) {
5206 unsafe {
5207 let val: u32 = ::core::mem::transmute(val);
5208 self._bitfield_1.set(0usize, 1u8, val as u64)
5209 }
5210 }
5211 #[inline]
contents(&self) -> crate::ctypes::c_uint5212 pub fn contents(&self) -> crate::ctypes::c_uint {
5213 unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 2u8) as u32) }
5214 }
5215 #[inline]
set_contents(&mut self, val: crate::ctypes::c_uint)5216 pub fn set_contents(&mut self, val: crate::ctypes::c_uint) {
5217 unsafe {
5218 let val: u32 = ::core::mem::transmute(val);
5219 self._bitfield_1.set(1usize, 2u8, val as u64)
5220 }
5221 }
5222 #[inline]
read_exec_only(&self) -> crate::ctypes::c_uint5223 pub fn read_exec_only(&self) -> crate::ctypes::c_uint {
5224 unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
5225 }
5226 #[inline]
set_read_exec_only(&mut self, val: crate::ctypes::c_uint)5227 pub fn set_read_exec_only(&mut self, val: crate::ctypes::c_uint) {
5228 unsafe {
5229 let val: u32 = ::core::mem::transmute(val);
5230 self._bitfield_1.set(3usize, 1u8, val as u64)
5231 }
5232 }
5233 #[inline]
limit_in_pages(&self) -> crate::ctypes::c_uint5234 pub fn limit_in_pages(&self) -> crate::ctypes::c_uint {
5235 unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
5236 }
5237 #[inline]
set_limit_in_pages(&mut self, val: crate::ctypes::c_uint)5238 pub fn set_limit_in_pages(&mut self, val: crate::ctypes::c_uint) {
5239 unsafe {
5240 let val: u32 = ::core::mem::transmute(val);
5241 self._bitfield_1.set(4usize, 1u8, val as u64)
5242 }
5243 }
5244 #[inline]
seg_not_present(&self) -> crate::ctypes::c_uint5245 pub fn seg_not_present(&self) -> crate::ctypes::c_uint {
5246 unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
5247 }
5248 #[inline]
set_seg_not_present(&mut self, val: crate::ctypes::c_uint)5249 pub fn set_seg_not_present(&mut self, val: crate::ctypes::c_uint) {
5250 unsafe {
5251 let val: u32 = ::core::mem::transmute(val);
5252 self._bitfield_1.set(5usize, 1u8, val as u64)
5253 }
5254 }
5255 #[inline]
useable(&self) -> crate::ctypes::c_uint5256 pub fn useable(&self) -> crate::ctypes::c_uint {
5257 unsafe { ::core::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) }
5258 }
5259 #[inline]
set_useable(&mut self, val: crate::ctypes::c_uint)5260 pub fn set_useable(&mut self, val: crate::ctypes::c_uint) {
5261 unsafe {
5262 let val: u32 = ::core::mem::transmute(val);
5263 self._bitfield_1.set(6usize, 1u8, val as u64)
5264 }
5265 }
5266 #[inline]
new_bitfield_1(seg_32bit: crate::ctypes::c_uint, contents: crate::ctypes::c_uint, read_exec_only: crate::ctypes::c_uint, limit_in_pages: crate::ctypes::c_uint, seg_not_present: crate::ctypes::c_uint, useable: crate::ctypes::c_uint) -> __BindgenBitfieldUnit<[u8; 1usize]>5267 pub fn new_bitfield_1(seg_32bit: crate::ctypes::c_uint, contents: crate::ctypes::c_uint, read_exec_only: crate::ctypes::c_uint, limit_in_pages: crate::ctypes::c_uint, seg_not_present: crate::ctypes::c_uint, useable: crate::ctypes::c_uint) -> __BindgenBitfieldUnit<[u8; 1usize]> {
5268 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
5269 __bindgen_bitfield_unit.set(0usize, 1u8, {
5270 let seg_32bit: u32 = unsafe { ::core::mem::transmute(seg_32bit) };
5271 seg_32bit as u64
5272 });
5273 __bindgen_bitfield_unit.set(1usize, 2u8, {
5274 let contents: u32 = unsafe { ::core::mem::transmute(contents) };
5275 contents as u64
5276 });
5277 __bindgen_bitfield_unit.set(3usize, 1u8, {
5278 let read_exec_only: u32 = unsafe { ::core::mem::transmute(read_exec_only) };
5279 read_exec_only as u64
5280 });
5281 __bindgen_bitfield_unit.set(4usize, 1u8, {
5282 let limit_in_pages: u32 = unsafe { ::core::mem::transmute(limit_in_pages) };
5283 limit_in_pages as u64
5284 });
5285 __bindgen_bitfield_unit.set(5usize, 1u8, {
5286 let seg_not_present: u32 = unsafe { ::core::mem::transmute(seg_not_present) };
5287 seg_not_present as u64
5288 });
5289 __bindgen_bitfield_unit.set(6usize, 1u8, {
5290 let useable: u32 = unsafe { ::core::mem::transmute(useable) };
5291 useable as u64
5292 });
5293 __bindgen_bitfield_unit
5294 }
5295 }
5296 #[repr(C)]
5297 #[derive(Debug, Copy, Clone)]
5298 pub struct msghdr {
5299 pub msg_name: *mut crate::ctypes::c_void,
5300 pub msg_namelen: crate::ctypes::c_int,
5301 pub msg_iov: *mut iovec,
5302 pub msg_iovlen: size_t,
5303 pub msg_control: *mut crate::ctypes::c_void,
5304 pub msg_controllen: size_t,
5305 pub msg_flags: crate::ctypes::c_uint,
5306 }
5307 #[repr(C)]
5308 #[derive(Debug, Copy, Clone)]
5309 pub struct cmsghdr {
5310 pub cmsg_len: size_t,
5311 pub cmsg_level: crate::ctypes::c_int,
5312 pub cmsg_type: crate::ctypes::c_int,
5313 }
5314 #[repr(C)]
5315 #[derive(Debug, Copy, Clone)]
5316 pub struct ucred {
5317 pub pid: __u32,
5318 pub uid: __u32,
5319 pub gid: __u32,
5320 }
5321 #[repr(C)]
5322 #[derive(Debug, Copy, Clone)]
5323 pub struct mmsghdr {
5324 pub msg_hdr: msghdr,
5325 pub msg_len: crate::ctypes::c_uint,
5326 }
5327