/rust/registry/src/index.crates.io-1949cf8c6b5b557f/linux-raw-sys-0.12.1/src/lib.rs
Line | Count | Source |
1 | | #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] |
2 | | #![cfg_attr(not(feature = "std"), no_std)] |
3 | | /* |
4 | | Unsafe functions no longer implicitly create unsafe blocks (RFC 2585). |
5 | | While newer bindgen versions follow this convention, we support Rust 1.63 which warns about |
6 | | this behavior. We can simply silence these warnings. |
7 | | */ |
8 | | #![allow(unused_unsafe)] |
9 | | |
10 | | #[cfg(feature = "std")] |
11 | | pub use std::os::raw as ctypes; |
12 | | |
13 | | #[cfg(all(not(feature = "std"), feature = "no_std"))] |
14 | | pub mod ctypes { |
15 | | // The signedness of `char` is platform-specific, and we have to match |
16 | | // what Rust's `CStr` uses. |
17 | | #[cfg(any( |
18 | | target_arch = "aarch64", |
19 | | target_arch = "arm", |
20 | | target_arch = "msp430", |
21 | | target_arch = "powerpc", |
22 | | target_arch = "powerpc64", |
23 | | target_arch = "riscv32", |
24 | | target_arch = "riscv64", |
25 | | target_arch = "s390x", |
26 | | ))] |
27 | | pub type c_char = c_uchar; |
28 | | #[cfg(any( |
29 | | target_arch = "loongarch64", |
30 | | target_arch = "m68k", |
31 | | target_arch = "mips", |
32 | | target_arch = "mips64", |
33 | | target_arch = "mips32r6", |
34 | | target_arch = "mips64r6", |
35 | | target_arch = "sparc", |
36 | | target_arch = "sparc64", |
37 | | target_arch = "x86", |
38 | | target_arch = "x86_64", |
39 | | target_arch = "xtensa", |
40 | | ))] |
41 | | pub type c_char = c_schar; |
42 | | |
43 | | // The following assumes that Linux is always either ILP32 or LP64, |
44 | | // and char is always 8-bit. |
45 | | // |
46 | | // In theory, `c_long` and `c_ulong` could be `isize` and `usize` |
47 | | // respectively, however in practice Linux doesn't use them in that way |
48 | | // consistently. So stick with the convention followed by `libc` and |
49 | | // others and use the fixed-width types. |
50 | | pub type c_schar = i8; |
51 | | pub type c_uchar = u8; |
52 | | pub type c_short = i16; |
53 | | pub type c_ushort = u16; |
54 | | pub type c_int = i32; |
55 | | pub type c_uint = u32; |
56 | | #[cfg(target_pointer_width = "32")] |
57 | | pub type c_long = i32; |
58 | | #[cfg(target_pointer_width = "32")] |
59 | | pub type c_ulong = u32; |
60 | | #[cfg(target_pointer_width = "64")] |
61 | | pub type c_long = i64; |
62 | | #[cfg(target_pointer_width = "64")] |
63 | | pub type c_ulong = u64; |
64 | | pub type c_longlong = i64; |
65 | | pub type c_ulonglong = u64; |
66 | | pub type c_float = f32; |
67 | | pub type c_double = f64; |
68 | | |
69 | | pub use core::ffi::c_void; |
70 | | } |
71 | | |
72 | | // Confirm that our type definitions above match the actual type definitions. |
73 | | #[cfg(test)] |
74 | | mod assertions { |
75 | | use super::ctypes; |
76 | | static_assertions::assert_eq_size!(ctypes::c_char, libc::c_char); |
77 | | static_assertions::assert_type_eq_all!(ctypes::c_schar, libc::c_schar); |
78 | | static_assertions::assert_type_eq_all!(ctypes::c_uchar, libc::c_uchar); |
79 | | static_assertions::assert_type_eq_all!(ctypes::c_short, libc::c_short); |
80 | | static_assertions::assert_type_eq_all!(ctypes::c_ushort, libc::c_ushort); |
81 | | static_assertions::assert_type_eq_all!(ctypes::c_int, libc::c_int); |
82 | | static_assertions::assert_type_eq_all!(ctypes::c_uint, libc::c_uint); |
83 | | static_assertions::assert_type_eq_all!(ctypes::c_long, libc::c_long); |
84 | | static_assertions::assert_type_eq_all!(ctypes::c_ulong, libc::c_ulong); |
85 | | static_assertions::assert_type_eq_all!(ctypes::c_longlong, libc::c_longlong); |
86 | | static_assertions::assert_type_eq_all!(ctypes::c_ulonglong, libc::c_ulonglong); |
87 | | static_assertions::assert_type_eq_all!(ctypes::c_float, libc::c_float); |
88 | | static_assertions::assert_type_eq_all!(ctypes::c_double, libc::c_double); |
89 | | } |
90 | | |
91 | | // We don't enable `derive_eq` in bindgen because adding `PartialEq`/`Eq` to |
92 | | // *all* structs noticeably increases compile times. But we can add a few |
93 | | // manual impls where they're especially useful. |
94 | | #[cfg(feature = "general")] |
95 | | impl PartialEq for general::__kernel_timespec { |
96 | 0 | fn eq(&self, other: &Self) -> bool { |
97 | 0 | ({ |
98 | 0 | let Self { tv_sec, tv_nsec } = self; |
99 | 0 | (tv_sec, tv_nsec) |
100 | 0 | }) == ({ |
101 | 0 | let Self { tv_sec, tv_nsec } = other; |
102 | 0 | (tv_sec, tv_nsec) |
103 | 0 | }) |
104 | 0 | } |
105 | | } |
106 | | #[cfg(feature = "general")] |
107 | | impl Eq for general::__kernel_timespec {} |
108 | | |
109 | | #[cfg(feature = "net")] |
110 | | pub mod cmsg_macros { |
111 | | use crate::ctypes::{c_long, c_uchar, c_uint}; |
112 | | use crate::net::{cmsghdr, msghdr}; |
113 | | use core::mem::size_of; |
114 | | use core::ptr; |
115 | | |
116 | | pub const unsafe fn CMSG_ALIGN(len: c_uint) -> c_uint { |
117 | | let c_long_size = size_of::<c_long>() as c_uint; |
118 | | (len + c_long_size - 1) & !(c_long_size - 1) |
119 | | } |
120 | | |
121 | | pub const unsafe fn CMSG_DATA(cmsg: *const cmsghdr) -> *mut c_uchar { |
122 | | (cmsg as *mut c_uchar).add(size_of::<cmsghdr>()) |
123 | | } |
124 | | |
125 | | pub const unsafe fn CMSG_SPACE(len: c_uint) -> c_uint { |
126 | | size_of::<cmsghdr>() as c_uint + CMSG_ALIGN(len) |
127 | | } |
128 | | |
129 | | pub const unsafe fn CMSG_LEN(len: c_uint) -> c_uint { |
130 | | size_of::<cmsghdr>() as c_uint + len |
131 | | } |
132 | | |
133 | | pub const unsafe fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { |
134 | | if (*mhdr).msg_controllen < size_of::<cmsghdr>() as _ { |
135 | | return ptr::null_mut(); |
136 | | } |
137 | | |
138 | | (*mhdr).msg_control as *mut cmsghdr |
139 | | } |
140 | | |
141 | | pub unsafe fn CMSG_NXTHDR(mhdr: *const msghdr, cmsg: *const cmsghdr) -> *mut cmsghdr { |
142 | | // We convert from raw pointers to usize here, which may not be sound in a |
143 | | // future version of Rust. Once the provenance rules are set in stone, |
144 | | // it will be a good idea to give this function a once-over. |
145 | | |
146 | | let cmsg_len = (*cmsg).cmsg_len; |
147 | | let next_cmsg = (cmsg as *mut u8).add(CMSG_ALIGN(cmsg_len as _) as usize) as *mut cmsghdr; |
148 | | let max = ((*mhdr).msg_control as usize) + ((*mhdr).msg_controllen as usize); |
149 | | |
150 | | if cmsg_len < size_of::<cmsghdr>() as _ { |
151 | | return ptr::null_mut(); |
152 | | } |
153 | | |
154 | | if next_cmsg.add(1) as usize > max |
155 | | || next_cmsg as usize + CMSG_ALIGN((*next_cmsg).cmsg_len as _) as usize > max |
156 | | { |
157 | | return ptr::null_mut(); |
158 | | } |
159 | | |
160 | | next_cmsg |
161 | | } |
162 | | } |
163 | | |
164 | | #[cfg(feature = "general")] |
165 | | pub mod select_macros { |
166 | | use crate::ctypes::c_int; |
167 | | use crate::general::__kernel_fd_set; |
168 | | use core::mem::size_of; |
169 | | |
170 | 0 | pub unsafe fn FD_CLR(fd: c_int, set: *mut __kernel_fd_set) { |
171 | 0 | let bytes = set as *mut u8; |
172 | 0 | if fd >= 0 { |
173 | 0 | *bytes.add((fd / 8) as usize) &= !(1 << (fd % 8)); |
174 | 0 | } |
175 | 0 | } |
176 | | |
177 | 0 | pub unsafe fn FD_SET(fd: c_int, set: *mut __kernel_fd_set) { |
178 | 0 | let bytes = set as *mut u8; |
179 | 0 | if fd >= 0 { |
180 | 0 | *bytes.add((fd / 8) as usize) |= 1 << (fd % 8); |
181 | 0 | } |
182 | 0 | } |
183 | | |
184 | 0 | pub unsafe fn FD_ISSET(fd: c_int, set: *const __kernel_fd_set) -> bool { |
185 | 0 | let bytes = set as *const u8; |
186 | 0 | if fd >= 0 { |
187 | 0 | *bytes.add((fd / 8) as usize) & (1 << (fd % 8)) != 0 |
188 | | } else { |
189 | 0 | false |
190 | | } |
191 | 0 | } |
192 | | |
193 | 0 | pub unsafe fn FD_ZERO(set: *mut __kernel_fd_set) { |
194 | 0 | let bytes = set as *mut u8; |
195 | 0 | core::ptr::write_bytes(bytes, 0, size_of::<__kernel_fd_set>()); |
196 | 0 | } |
197 | | } |
198 | | |
199 | | #[cfg(feature = "general")] |
200 | | pub mod signal_macros { |
201 | | pub const SIG_DFL: super::general::__kernel_sighandler_t = None; |
202 | | |
203 | | /// Rust doesn't currently permit us to use `transmute` to convert the |
204 | | /// `SIG_IGN` value into a function pointer in a `const` initializer, so |
205 | | /// we make it a function instead. |
206 | | /// |
207 | | #[inline] |
208 | 0 | pub const fn sig_ign() -> super::general::__kernel_sighandler_t { |
209 | | // Safety: This creates an invalid pointer, but the pointer type |
210 | | // includes `unsafe`, which covers the safety of calling it. |
211 | 0 | Some(unsafe { |
212 | 0 | core::mem::transmute::<usize, unsafe extern "C" fn(crate::ctypes::c_int)>(1) |
213 | 0 | }) |
214 | 0 | } |
215 | | } |
216 | | |
217 | | #[cfg(feature = "elf")] |
218 | | pub mod elf; |
219 | | |
220 | | // The rest of this file is auto-generated! |
221 | | #[cfg(feature = "auxvec")] |
222 | | #[cfg(target_arch = "arm")] |
223 | | #[path = "arm/auxvec.rs"] |
224 | | pub mod auxvec; |
225 | | #[cfg(feature = "bootparam")] |
226 | | #[cfg(target_arch = "arm")] |
227 | | #[path = "arm/bootparam.rs"] |
228 | | pub mod bootparam; |
229 | | #[cfg(feature = "btrfs")] |
230 | | #[cfg(target_arch = "arm")] |
231 | | #[path = "arm/btrfs.rs"] |
232 | | pub mod btrfs; |
233 | | #[cfg(feature = "elf_uapi")] |
234 | | #[cfg(target_arch = "arm")] |
235 | | #[path = "arm/elf_uapi.rs"] |
236 | | pub mod elf_uapi; |
237 | | #[cfg(feature = "errno")] |
238 | | #[cfg(target_arch = "arm")] |
239 | | #[path = "arm/errno.rs"] |
240 | | pub mod errno; |
241 | | #[cfg(feature = "general")] |
242 | | #[cfg(target_arch = "arm")] |
243 | | #[path = "arm/general.rs"] |
244 | | pub mod general; |
245 | | #[cfg(feature = "if_arp")] |
246 | | #[cfg(target_arch = "arm")] |
247 | | #[path = "arm/if_arp.rs"] |
248 | | pub mod if_arp; |
249 | | #[cfg(feature = "if_ether")] |
250 | | #[cfg(target_arch = "arm")] |
251 | | #[path = "arm/if_ether.rs"] |
252 | | pub mod if_ether; |
253 | | #[cfg(feature = "if_packet")] |
254 | | #[cfg(target_arch = "arm")] |
255 | | #[path = "arm/if_packet.rs"] |
256 | | pub mod if_packet; |
257 | | #[cfg(feature = "if_tun")] |
258 | | #[cfg(target_arch = "arm")] |
259 | | #[path = "arm/if_tun.rs"] |
260 | | pub mod if_tun; |
261 | | #[cfg(feature = "image")] |
262 | | #[cfg(target_arch = "arm")] |
263 | | #[path = "arm/image.rs"] |
264 | | pub mod image; |
265 | | #[cfg(feature = "io_uring")] |
266 | | #[cfg(target_arch = "arm")] |
267 | | #[path = "arm/io_uring.rs"] |
268 | | pub mod io_uring; |
269 | | #[cfg(feature = "ioctl")] |
270 | | #[cfg(target_arch = "arm")] |
271 | | #[path = "arm/ioctl.rs"] |
272 | | pub mod ioctl; |
273 | | #[cfg(feature = "landlock")] |
274 | | #[cfg(target_arch = "arm")] |
275 | | #[path = "arm/landlock.rs"] |
276 | | pub mod landlock; |
277 | | #[cfg(feature = "loop_device")] |
278 | | #[cfg(target_arch = "arm")] |
279 | | #[path = "arm/loop_device.rs"] |
280 | | pub mod loop_device; |
281 | | #[cfg(feature = "mempolicy")] |
282 | | #[cfg(target_arch = "arm")] |
283 | | #[path = "arm/mempolicy.rs"] |
284 | | pub mod mempolicy; |
285 | | #[cfg(feature = "net")] |
286 | | #[cfg(target_arch = "arm")] |
287 | | #[path = "arm/net.rs"] |
288 | | pub mod net; |
289 | | #[cfg(feature = "netlink")] |
290 | | #[cfg(target_arch = "arm")] |
291 | | #[path = "arm/netlink.rs"] |
292 | | pub mod netlink; |
293 | | #[cfg(feature = "prctl")] |
294 | | #[cfg(target_arch = "arm")] |
295 | | #[path = "arm/prctl.rs"] |
296 | | pub mod prctl; |
297 | | #[cfg(feature = "ptrace")] |
298 | | #[cfg(target_arch = "arm")] |
299 | | #[path = "arm/ptrace.rs"] |
300 | | pub mod ptrace; |
301 | | #[cfg(feature = "system")] |
302 | | #[cfg(target_arch = "arm")] |
303 | | #[path = "arm/system.rs"] |
304 | | pub mod system; |
305 | | #[cfg(feature = "vm_sockets")] |
306 | | #[cfg(target_arch = "arm")] |
307 | | #[path = "arm/vm_sockets.rs"] |
308 | | pub mod vm_sockets; |
309 | | #[cfg(feature = "xdp")] |
310 | | #[cfg(target_arch = "arm")] |
311 | | #[path = "arm/xdp.rs"] |
312 | | pub mod xdp; |
313 | | #[cfg(feature = "auxvec")] |
314 | | #[cfg(target_arch = "aarch64")] |
315 | | #[path = "aarch64/auxvec.rs"] |
316 | | pub mod auxvec; |
317 | | #[cfg(feature = "bootparam")] |
318 | | #[cfg(target_arch = "aarch64")] |
319 | | #[path = "aarch64/bootparam.rs"] |
320 | | pub mod bootparam; |
321 | | #[cfg(feature = "btrfs")] |
322 | | #[cfg(target_arch = "aarch64")] |
323 | | #[path = "aarch64/btrfs.rs"] |
324 | | pub mod btrfs; |
325 | | #[cfg(feature = "elf_uapi")] |
326 | | #[cfg(target_arch = "aarch64")] |
327 | | #[path = "aarch64/elf_uapi.rs"] |
328 | | pub mod elf_uapi; |
329 | | #[cfg(feature = "errno")] |
330 | | #[cfg(target_arch = "aarch64")] |
331 | | #[path = "aarch64/errno.rs"] |
332 | | pub mod errno; |
333 | | #[cfg(feature = "general")] |
334 | | #[cfg(target_arch = "aarch64")] |
335 | | #[path = "aarch64/general.rs"] |
336 | | pub mod general; |
337 | | #[cfg(feature = "if_arp")] |
338 | | #[cfg(target_arch = "aarch64")] |
339 | | #[path = "aarch64/if_arp.rs"] |
340 | | pub mod if_arp; |
341 | | #[cfg(feature = "if_ether")] |
342 | | #[cfg(target_arch = "aarch64")] |
343 | | #[path = "aarch64/if_ether.rs"] |
344 | | pub mod if_ether; |
345 | | #[cfg(feature = "if_packet")] |
346 | | #[cfg(target_arch = "aarch64")] |
347 | | #[path = "aarch64/if_packet.rs"] |
348 | | pub mod if_packet; |
349 | | #[cfg(feature = "if_tun")] |
350 | | #[cfg(target_arch = "aarch64")] |
351 | | #[path = "aarch64/if_tun.rs"] |
352 | | pub mod if_tun; |
353 | | #[cfg(feature = "image")] |
354 | | #[cfg(target_arch = "aarch64")] |
355 | | #[path = "aarch64/image.rs"] |
356 | | pub mod image; |
357 | | #[cfg(feature = "io_uring")] |
358 | | #[cfg(target_arch = "aarch64")] |
359 | | #[path = "aarch64/io_uring.rs"] |
360 | | pub mod io_uring; |
361 | | #[cfg(feature = "ioctl")] |
362 | | #[cfg(target_arch = "aarch64")] |
363 | | #[path = "aarch64/ioctl.rs"] |
364 | | pub mod ioctl; |
365 | | #[cfg(feature = "landlock")] |
366 | | #[cfg(target_arch = "aarch64")] |
367 | | #[path = "aarch64/landlock.rs"] |
368 | | pub mod landlock; |
369 | | #[cfg(feature = "loop_device")] |
370 | | #[cfg(target_arch = "aarch64")] |
371 | | #[path = "aarch64/loop_device.rs"] |
372 | | pub mod loop_device; |
373 | | #[cfg(feature = "mempolicy")] |
374 | | #[cfg(target_arch = "aarch64")] |
375 | | #[path = "aarch64/mempolicy.rs"] |
376 | | pub mod mempolicy; |
377 | | #[cfg(feature = "net")] |
378 | | #[cfg(target_arch = "aarch64")] |
379 | | #[path = "aarch64/net.rs"] |
380 | | pub mod net; |
381 | | #[cfg(feature = "netlink")] |
382 | | #[cfg(target_arch = "aarch64")] |
383 | | #[path = "aarch64/netlink.rs"] |
384 | | pub mod netlink; |
385 | | #[cfg(feature = "prctl")] |
386 | | #[cfg(target_arch = "aarch64")] |
387 | | #[path = "aarch64/prctl.rs"] |
388 | | pub mod prctl; |
389 | | #[cfg(feature = "ptrace")] |
390 | | #[cfg(target_arch = "aarch64")] |
391 | | #[path = "aarch64/ptrace.rs"] |
392 | | pub mod ptrace; |
393 | | #[cfg(feature = "system")] |
394 | | #[cfg(target_arch = "aarch64")] |
395 | | #[path = "aarch64/system.rs"] |
396 | | pub mod system; |
397 | | #[cfg(feature = "vm_sockets")] |
398 | | #[cfg(target_arch = "aarch64")] |
399 | | #[path = "aarch64/vm_sockets.rs"] |
400 | | pub mod vm_sockets; |
401 | | #[cfg(feature = "xdp")] |
402 | | #[cfg(target_arch = "aarch64")] |
403 | | #[path = "aarch64/xdp.rs"] |
404 | | pub mod xdp; |
405 | | #[cfg(feature = "auxvec")] |
406 | | #[cfg(target_arch = "csky")] |
407 | | #[path = "csky/auxvec.rs"] |
408 | | pub mod auxvec; |
409 | | #[cfg(feature = "bootparam")] |
410 | | #[cfg(target_arch = "csky")] |
411 | | #[path = "csky/bootparam.rs"] |
412 | | pub mod bootparam; |
413 | | #[cfg(feature = "btrfs")] |
414 | | #[cfg(target_arch = "csky")] |
415 | | #[path = "csky/btrfs.rs"] |
416 | | pub mod btrfs; |
417 | | #[cfg(feature = "elf_uapi")] |
418 | | #[cfg(target_arch = "csky")] |
419 | | #[path = "csky/elf_uapi.rs"] |
420 | | pub mod elf_uapi; |
421 | | #[cfg(feature = "errno")] |
422 | | #[cfg(target_arch = "csky")] |
423 | | #[path = "csky/errno.rs"] |
424 | | pub mod errno; |
425 | | #[cfg(feature = "general")] |
426 | | #[cfg(target_arch = "csky")] |
427 | | #[path = "csky/general.rs"] |
428 | | pub mod general; |
429 | | #[cfg(feature = "if_arp")] |
430 | | #[cfg(target_arch = "csky")] |
431 | | #[path = "csky/if_arp.rs"] |
432 | | pub mod if_arp; |
433 | | #[cfg(feature = "if_ether")] |
434 | | #[cfg(target_arch = "csky")] |
435 | | #[path = "csky/if_ether.rs"] |
436 | | pub mod if_ether; |
437 | | #[cfg(feature = "if_packet")] |
438 | | #[cfg(target_arch = "csky")] |
439 | | #[path = "csky/if_packet.rs"] |
440 | | pub mod if_packet; |
441 | | #[cfg(feature = "if_tun")] |
442 | | #[cfg(target_arch = "csky")] |
443 | | #[path = "csky/if_tun.rs"] |
444 | | pub mod if_tun; |
445 | | #[cfg(feature = "image")] |
446 | | #[cfg(target_arch = "csky")] |
447 | | #[path = "csky/image.rs"] |
448 | | pub mod image; |
449 | | #[cfg(feature = "io_uring")] |
450 | | #[cfg(target_arch = "csky")] |
451 | | #[path = "csky/io_uring.rs"] |
452 | | pub mod io_uring; |
453 | | #[cfg(feature = "ioctl")] |
454 | | #[cfg(target_arch = "csky")] |
455 | | #[path = "csky/ioctl.rs"] |
456 | | pub mod ioctl; |
457 | | #[cfg(feature = "landlock")] |
458 | | #[cfg(target_arch = "csky")] |
459 | | #[path = "csky/landlock.rs"] |
460 | | pub mod landlock; |
461 | | #[cfg(feature = "loop_device")] |
462 | | #[cfg(target_arch = "csky")] |
463 | | #[path = "csky/loop_device.rs"] |
464 | | pub mod loop_device; |
465 | | #[cfg(feature = "mempolicy")] |
466 | | #[cfg(target_arch = "csky")] |
467 | | #[path = "csky/mempolicy.rs"] |
468 | | pub mod mempolicy; |
469 | | #[cfg(feature = "net")] |
470 | | #[cfg(target_arch = "csky")] |
471 | | #[path = "csky/net.rs"] |
472 | | pub mod net; |
473 | | #[cfg(feature = "netlink")] |
474 | | #[cfg(target_arch = "csky")] |
475 | | #[path = "csky/netlink.rs"] |
476 | | pub mod netlink; |
477 | | #[cfg(feature = "prctl")] |
478 | | #[cfg(target_arch = "csky")] |
479 | | #[path = "csky/prctl.rs"] |
480 | | pub mod prctl; |
481 | | #[cfg(feature = "ptrace")] |
482 | | #[cfg(target_arch = "csky")] |
483 | | #[path = "csky/ptrace.rs"] |
484 | | pub mod ptrace; |
485 | | #[cfg(feature = "system")] |
486 | | #[cfg(target_arch = "csky")] |
487 | | #[path = "csky/system.rs"] |
488 | | pub mod system; |
489 | | #[cfg(feature = "vm_sockets")] |
490 | | #[cfg(target_arch = "csky")] |
491 | | #[path = "csky/vm_sockets.rs"] |
492 | | pub mod vm_sockets; |
493 | | #[cfg(feature = "xdp")] |
494 | | #[cfg(target_arch = "csky")] |
495 | | #[path = "csky/xdp.rs"] |
496 | | pub mod xdp; |
497 | | #[cfg(feature = "auxvec")] |
498 | | #[cfg(target_arch = "hexagon")] |
499 | | #[path = "hexagon/auxvec.rs"] |
500 | | pub mod auxvec; |
501 | | #[cfg(feature = "bootparam")] |
502 | | #[cfg(target_arch = "hexagon")] |
503 | | #[path = "hexagon/bootparam.rs"] |
504 | | pub mod bootparam; |
505 | | #[cfg(feature = "btrfs")] |
506 | | #[cfg(target_arch = "hexagon")] |
507 | | #[path = "hexagon/btrfs.rs"] |
508 | | pub mod btrfs; |
509 | | #[cfg(feature = "elf_uapi")] |
510 | | #[cfg(target_arch = "hexagon")] |
511 | | #[path = "hexagon/elf_uapi.rs"] |
512 | | pub mod elf_uapi; |
513 | | #[cfg(feature = "errno")] |
514 | | #[cfg(target_arch = "hexagon")] |
515 | | #[path = "hexagon/errno.rs"] |
516 | | pub mod errno; |
517 | | #[cfg(feature = "general")] |
518 | | #[cfg(target_arch = "hexagon")] |
519 | | #[path = "hexagon/general.rs"] |
520 | | pub mod general; |
521 | | #[cfg(feature = "if_arp")] |
522 | | #[cfg(target_arch = "hexagon")] |
523 | | #[path = "hexagon/if_arp.rs"] |
524 | | pub mod if_arp; |
525 | | #[cfg(feature = "if_ether")] |
526 | | #[cfg(target_arch = "hexagon")] |
527 | | #[path = "hexagon/if_ether.rs"] |
528 | | pub mod if_ether; |
529 | | #[cfg(feature = "if_packet")] |
530 | | #[cfg(target_arch = "hexagon")] |
531 | | #[path = "hexagon/if_packet.rs"] |
532 | | pub mod if_packet; |
533 | | #[cfg(feature = "if_tun")] |
534 | | #[cfg(target_arch = "hexagon")] |
535 | | #[path = "hexagon/if_tun.rs"] |
536 | | pub mod if_tun; |
537 | | #[cfg(feature = "image")] |
538 | | #[cfg(target_arch = "hexagon")] |
539 | | #[path = "hexagon/image.rs"] |
540 | | pub mod image; |
541 | | #[cfg(feature = "io_uring")] |
542 | | #[cfg(target_arch = "hexagon")] |
543 | | #[path = "hexagon/io_uring.rs"] |
544 | | pub mod io_uring; |
545 | | #[cfg(feature = "ioctl")] |
546 | | #[cfg(target_arch = "hexagon")] |
547 | | #[path = "hexagon/ioctl.rs"] |
548 | | pub mod ioctl; |
549 | | #[cfg(feature = "landlock")] |
550 | | #[cfg(target_arch = "hexagon")] |
551 | | #[path = "hexagon/landlock.rs"] |
552 | | pub mod landlock; |
553 | | #[cfg(feature = "loop_device")] |
554 | | #[cfg(target_arch = "hexagon")] |
555 | | #[path = "hexagon/loop_device.rs"] |
556 | | pub mod loop_device; |
557 | | #[cfg(feature = "mempolicy")] |
558 | | #[cfg(target_arch = "hexagon")] |
559 | | #[path = "hexagon/mempolicy.rs"] |
560 | | pub mod mempolicy; |
561 | | #[cfg(feature = "net")] |
562 | | #[cfg(target_arch = "hexagon")] |
563 | | #[path = "hexagon/net.rs"] |
564 | | pub mod net; |
565 | | #[cfg(feature = "netlink")] |
566 | | #[cfg(target_arch = "hexagon")] |
567 | | #[path = "hexagon/netlink.rs"] |
568 | | pub mod netlink; |
569 | | #[cfg(feature = "prctl")] |
570 | | #[cfg(target_arch = "hexagon")] |
571 | | #[path = "hexagon/prctl.rs"] |
572 | | pub mod prctl; |
573 | | #[cfg(feature = "ptrace")] |
574 | | #[cfg(target_arch = "hexagon")] |
575 | | #[path = "hexagon/ptrace.rs"] |
576 | | pub mod ptrace; |
577 | | #[cfg(feature = "system")] |
578 | | #[cfg(target_arch = "hexagon")] |
579 | | #[path = "hexagon/system.rs"] |
580 | | pub mod system; |
581 | | #[cfg(feature = "vm_sockets")] |
582 | | #[cfg(target_arch = "hexagon")] |
583 | | #[path = "hexagon/vm_sockets.rs"] |
584 | | pub mod vm_sockets; |
585 | | #[cfg(feature = "xdp")] |
586 | | #[cfg(target_arch = "hexagon")] |
587 | | #[path = "hexagon/xdp.rs"] |
588 | | pub mod xdp; |
589 | | #[cfg(feature = "auxvec")] |
590 | | #[cfg(target_arch = "loongarch64")] |
591 | | #[path = "loongarch64/auxvec.rs"] |
592 | | pub mod auxvec; |
593 | | #[cfg(feature = "bootparam")] |
594 | | #[cfg(target_arch = "loongarch64")] |
595 | | #[path = "loongarch64/bootparam.rs"] |
596 | | pub mod bootparam; |
597 | | #[cfg(feature = "btrfs")] |
598 | | #[cfg(target_arch = "loongarch64")] |
599 | | #[path = "loongarch64/btrfs.rs"] |
600 | | pub mod btrfs; |
601 | | #[cfg(feature = "elf_uapi")] |
602 | | #[cfg(target_arch = "loongarch64")] |
603 | | #[path = "loongarch64/elf_uapi.rs"] |
604 | | pub mod elf_uapi; |
605 | | #[cfg(feature = "errno")] |
606 | | #[cfg(target_arch = "loongarch64")] |
607 | | #[path = "loongarch64/errno.rs"] |
608 | | pub mod errno; |
609 | | #[cfg(feature = "general")] |
610 | | #[cfg(target_arch = "loongarch64")] |
611 | | #[path = "loongarch64/general.rs"] |
612 | | pub mod general; |
613 | | #[cfg(feature = "if_arp")] |
614 | | #[cfg(target_arch = "loongarch64")] |
615 | | #[path = "loongarch64/if_arp.rs"] |
616 | | pub mod if_arp; |
617 | | #[cfg(feature = "if_ether")] |
618 | | #[cfg(target_arch = "loongarch64")] |
619 | | #[path = "loongarch64/if_ether.rs"] |
620 | | pub mod if_ether; |
621 | | #[cfg(feature = "if_packet")] |
622 | | #[cfg(target_arch = "loongarch64")] |
623 | | #[path = "loongarch64/if_packet.rs"] |
624 | | pub mod if_packet; |
625 | | #[cfg(feature = "if_tun")] |
626 | | #[cfg(target_arch = "loongarch64")] |
627 | | #[path = "loongarch64/if_tun.rs"] |
628 | | pub mod if_tun; |
629 | | #[cfg(feature = "image")] |
630 | | #[cfg(target_arch = "loongarch64")] |
631 | | #[path = "loongarch64/image.rs"] |
632 | | pub mod image; |
633 | | #[cfg(feature = "io_uring")] |
634 | | #[cfg(target_arch = "loongarch64")] |
635 | | #[path = "loongarch64/io_uring.rs"] |
636 | | pub mod io_uring; |
637 | | #[cfg(feature = "ioctl")] |
638 | | #[cfg(target_arch = "loongarch64")] |
639 | | #[path = "loongarch64/ioctl.rs"] |
640 | | pub mod ioctl; |
641 | | #[cfg(feature = "landlock")] |
642 | | #[cfg(target_arch = "loongarch64")] |
643 | | #[path = "loongarch64/landlock.rs"] |
644 | | pub mod landlock; |
645 | | #[cfg(feature = "loop_device")] |
646 | | #[cfg(target_arch = "loongarch64")] |
647 | | #[path = "loongarch64/loop_device.rs"] |
648 | | pub mod loop_device; |
649 | | #[cfg(feature = "mempolicy")] |
650 | | #[cfg(target_arch = "loongarch64")] |
651 | | #[path = "loongarch64/mempolicy.rs"] |
652 | | pub mod mempolicy; |
653 | | #[cfg(feature = "net")] |
654 | | #[cfg(target_arch = "loongarch64")] |
655 | | #[path = "loongarch64/net.rs"] |
656 | | pub mod net; |
657 | | #[cfg(feature = "netlink")] |
658 | | #[cfg(target_arch = "loongarch64")] |
659 | | #[path = "loongarch64/netlink.rs"] |
660 | | pub mod netlink; |
661 | | #[cfg(feature = "prctl")] |
662 | | #[cfg(target_arch = "loongarch64")] |
663 | | #[path = "loongarch64/prctl.rs"] |
664 | | pub mod prctl; |
665 | | #[cfg(feature = "ptrace")] |
666 | | #[cfg(target_arch = "loongarch64")] |
667 | | #[path = "loongarch64/ptrace.rs"] |
668 | | pub mod ptrace; |
669 | | #[cfg(feature = "system")] |
670 | | #[cfg(target_arch = "loongarch64")] |
671 | | #[path = "loongarch64/system.rs"] |
672 | | pub mod system; |
673 | | #[cfg(feature = "vm_sockets")] |
674 | | #[cfg(target_arch = "loongarch64")] |
675 | | #[path = "loongarch64/vm_sockets.rs"] |
676 | | pub mod vm_sockets; |
677 | | #[cfg(feature = "xdp")] |
678 | | #[cfg(target_arch = "loongarch64")] |
679 | | #[path = "loongarch64/xdp.rs"] |
680 | | pub mod xdp; |
681 | | #[cfg(feature = "auxvec")] |
682 | | #[cfg(target_arch = "m68k")] |
683 | | #[path = "m68k/auxvec.rs"] |
684 | | pub mod auxvec; |
685 | | #[cfg(feature = "bootparam")] |
686 | | #[cfg(target_arch = "m68k")] |
687 | | #[path = "m68k/bootparam.rs"] |
688 | | pub mod bootparam; |
689 | | #[cfg(feature = "btrfs")] |
690 | | #[cfg(target_arch = "m68k")] |
691 | | #[path = "m68k/btrfs.rs"] |
692 | | pub mod btrfs; |
693 | | #[cfg(feature = "elf_uapi")] |
694 | | #[cfg(target_arch = "m68k")] |
695 | | #[path = "m68k/elf_uapi.rs"] |
696 | | pub mod elf_uapi; |
697 | | #[cfg(feature = "errno")] |
698 | | #[cfg(target_arch = "m68k")] |
699 | | #[path = "m68k/errno.rs"] |
700 | | pub mod errno; |
701 | | #[cfg(feature = "general")] |
702 | | #[cfg(target_arch = "m68k")] |
703 | | #[path = "m68k/general.rs"] |
704 | | pub mod general; |
705 | | #[cfg(feature = "if_arp")] |
706 | | #[cfg(target_arch = "m68k")] |
707 | | #[path = "m68k/if_arp.rs"] |
708 | | pub mod if_arp; |
709 | | #[cfg(feature = "if_ether")] |
710 | | #[cfg(target_arch = "m68k")] |
711 | | #[path = "m68k/if_ether.rs"] |
712 | | pub mod if_ether; |
713 | | #[cfg(feature = "if_packet")] |
714 | | #[cfg(target_arch = "m68k")] |
715 | | #[path = "m68k/if_packet.rs"] |
716 | | pub mod if_packet; |
717 | | #[cfg(feature = "if_tun")] |
718 | | #[cfg(target_arch = "m68k")] |
719 | | #[path = "m68k/if_tun.rs"] |
720 | | pub mod if_tun; |
721 | | #[cfg(feature = "image")] |
722 | | #[cfg(target_arch = "m68k")] |
723 | | #[path = "m68k/image.rs"] |
724 | | pub mod image; |
725 | | #[cfg(feature = "io_uring")] |
726 | | #[cfg(target_arch = "m68k")] |
727 | | #[path = "m68k/io_uring.rs"] |
728 | | pub mod io_uring; |
729 | | #[cfg(feature = "ioctl")] |
730 | | #[cfg(target_arch = "m68k")] |
731 | | #[path = "m68k/ioctl.rs"] |
732 | | pub mod ioctl; |
733 | | #[cfg(feature = "landlock")] |
734 | | #[cfg(target_arch = "m68k")] |
735 | | #[path = "m68k/landlock.rs"] |
736 | | pub mod landlock; |
737 | | #[cfg(feature = "loop_device")] |
738 | | #[cfg(target_arch = "m68k")] |
739 | | #[path = "m68k/loop_device.rs"] |
740 | | pub mod loop_device; |
741 | | #[cfg(feature = "mempolicy")] |
742 | | #[cfg(target_arch = "m68k")] |
743 | | #[path = "m68k/mempolicy.rs"] |
744 | | pub mod mempolicy; |
745 | | #[cfg(feature = "net")] |
746 | | #[cfg(target_arch = "m68k")] |
747 | | #[path = "m68k/net.rs"] |
748 | | pub mod net; |
749 | | #[cfg(feature = "netlink")] |
750 | | #[cfg(target_arch = "m68k")] |
751 | | #[path = "m68k/netlink.rs"] |
752 | | pub mod netlink; |
753 | | #[cfg(feature = "prctl")] |
754 | | #[cfg(target_arch = "m68k")] |
755 | | #[path = "m68k/prctl.rs"] |
756 | | pub mod prctl; |
757 | | #[cfg(feature = "ptrace")] |
758 | | #[cfg(target_arch = "m68k")] |
759 | | #[path = "m68k/ptrace.rs"] |
760 | | pub mod ptrace; |
761 | | #[cfg(feature = "system")] |
762 | | #[cfg(target_arch = "m68k")] |
763 | | #[path = "m68k/system.rs"] |
764 | | pub mod system; |
765 | | #[cfg(feature = "vm_sockets")] |
766 | | #[cfg(target_arch = "m68k")] |
767 | | #[path = "m68k/vm_sockets.rs"] |
768 | | pub mod vm_sockets; |
769 | | #[cfg(feature = "xdp")] |
770 | | #[cfg(target_arch = "m68k")] |
771 | | #[path = "m68k/xdp.rs"] |
772 | | pub mod xdp; |
773 | | #[cfg(feature = "auxvec")] |
774 | | #[cfg(target_arch = "mips")] |
775 | | #[path = "mips/auxvec.rs"] |
776 | | pub mod auxvec; |
777 | | #[cfg(feature = "bootparam")] |
778 | | #[cfg(target_arch = "mips")] |
779 | | #[path = "mips/bootparam.rs"] |
780 | | pub mod bootparam; |
781 | | #[cfg(feature = "btrfs")] |
782 | | #[cfg(target_arch = "mips")] |
783 | | #[path = "mips/btrfs.rs"] |
784 | | pub mod btrfs; |
785 | | #[cfg(feature = "elf_uapi")] |
786 | | #[cfg(target_arch = "mips")] |
787 | | #[path = "mips/elf_uapi.rs"] |
788 | | pub mod elf_uapi; |
789 | | #[cfg(feature = "errno")] |
790 | | #[cfg(target_arch = "mips")] |
791 | | #[path = "mips/errno.rs"] |
792 | | pub mod errno; |
793 | | #[cfg(feature = "general")] |
794 | | #[cfg(target_arch = "mips")] |
795 | | #[path = "mips/general.rs"] |
796 | | pub mod general; |
797 | | #[cfg(feature = "if_arp")] |
798 | | #[cfg(target_arch = "mips")] |
799 | | #[path = "mips/if_arp.rs"] |
800 | | pub mod if_arp; |
801 | | #[cfg(feature = "if_ether")] |
802 | | #[cfg(target_arch = "mips")] |
803 | | #[path = "mips/if_ether.rs"] |
804 | | pub mod if_ether; |
805 | | #[cfg(feature = "if_packet")] |
806 | | #[cfg(target_arch = "mips")] |
807 | | #[path = "mips/if_packet.rs"] |
808 | | pub mod if_packet; |
809 | | #[cfg(feature = "if_tun")] |
810 | | #[cfg(target_arch = "mips")] |
811 | | #[path = "mips/if_tun.rs"] |
812 | | pub mod if_tun; |
813 | | #[cfg(feature = "image")] |
814 | | #[cfg(target_arch = "mips")] |
815 | | #[path = "mips/image.rs"] |
816 | | pub mod image; |
817 | | #[cfg(feature = "io_uring")] |
818 | | #[cfg(target_arch = "mips")] |
819 | | #[path = "mips/io_uring.rs"] |
820 | | pub mod io_uring; |
821 | | #[cfg(feature = "ioctl")] |
822 | | #[cfg(target_arch = "mips")] |
823 | | #[path = "mips/ioctl.rs"] |
824 | | pub mod ioctl; |
825 | | #[cfg(feature = "landlock")] |
826 | | #[cfg(target_arch = "mips")] |
827 | | #[path = "mips/landlock.rs"] |
828 | | pub mod landlock; |
829 | | #[cfg(feature = "loop_device")] |
830 | | #[cfg(target_arch = "mips")] |
831 | | #[path = "mips/loop_device.rs"] |
832 | | pub mod loop_device; |
833 | | #[cfg(feature = "mempolicy")] |
834 | | #[cfg(target_arch = "mips")] |
835 | | #[path = "mips/mempolicy.rs"] |
836 | | pub mod mempolicy; |
837 | | #[cfg(feature = "net")] |
838 | | #[cfg(target_arch = "mips")] |
839 | | #[path = "mips/net.rs"] |
840 | | pub mod net; |
841 | | #[cfg(feature = "netlink")] |
842 | | #[cfg(target_arch = "mips")] |
843 | | #[path = "mips/netlink.rs"] |
844 | | pub mod netlink; |
845 | | #[cfg(feature = "prctl")] |
846 | | #[cfg(target_arch = "mips")] |
847 | | #[path = "mips/prctl.rs"] |
848 | | pub mod prctl; |
849 | | #[cfg(feature = "ptrace")] |
850 | | #[cfg(target_arch = "mips")] |
851 | | #[path = "mips/ptrace.rs"] |
852 | | pub mod ptrace; |
853 | | #[cfg(feature = "system")] |
854 | | #[cfg(target_arch = "mips")] |
855 | | #[path = "mips/system.rs"] |
856 | | pub mod system; |
857 | | #[cfg(feature = "vm_sockets")] |
858 | | #[cfg(target_arch = "mips")] |
859 | | #[path = "mips/vm_sockets.rs"] |
860 | | pub mod vm_sockets; |
861 | | #[cfg(feature = "xdp")] |
862 | | #[cfg(target_arch = "mips")] |
863 | | #[path = "mips/xdp.rs"] |
864 | | pub mod xdp; |
865 | | #[cfg(feature = "auxvec")] |
866 | | #[cfg(target_arch = "mips64")] |
867 | | #[path = "mips64/auxvec.rs"] |
868 | | pub mod auxvec; |
869 | | #[cfg(feature = "bootparam")] |
870 | | #[cfg(target_arch = "mips64")] |
871 | | #[path = "mips64/bootparam.rs"] |
872 | | pub mod bootparam; |
873 | | #[cfg(feature = "btrfs")] |
874 | | #[cfg(target_arch = "mips64")] |
875 | | #[path = "mips64/btrfs.rs"] |
876 | | pub mod btrfs; |
877 | | #[cfg(feature = "elf_uapi")] |
878 | | #[cfg(target_arch = "mips64")] |
879 | | #[path = "mips64/elf_uapi.rs"] |
880 | | pub mod elf_uapi; |
881 | | #[cfg(feature = "errno")] |
882 | | #[cfg(target_arch = "mips64")] |
883 | | #[path = "mips64/errno.rs"] |
884 | | pub mod errno; |
885 | | #[cfg(feature = "general")] |
886 | | #[cfg(target_arch = "mips64")] |
887 | | #[path = "mips64/general.rs"] |
888 | | pub mod general; |
889 | | #[cfg(feature = "if_arp")] |
890 | | #[cfg(target_arch = "mips64")] |
891 | | #[path = "mips64/if_arp.rs"] |
892 | | pub mod if_arp; |
893 | | #[cfg(feature = "if_ether")] |
894 | | #[cfg(target_arch = "mips64")] |
895 | | #[path = "mips64/if_ether.rs"] |
896 | | pub mod if_ether; |
897 | | #[cfg(feature = "if_packet")] |
898 | | #[cfg(target_arch = "mips64")] |
899 | | #[path = "mips64/if_packet.rs"] |
900 | | pub mod if_packet; |
901 | | #[cfg(feature = "if_tun")] |
902 | | #[cfg(target_arch = "mips64")] |
903 | | #[path = "mips64/if_tun.rs"] |
904 | | pub mod if_tun; |
905 | | #[cfg(feature = "image")] |
906 | | #[cfg(target_arch = "mips64")] |
907 | | #[path = "mips64/image.rs"] |
908 | | pub mod image; |
909 | | #[cfg(feature = "io_uring")] |
910 | | #[cfg(target_arch = "mips64")] |
911 | | #[path = "mips64/io_uring.rs"] |
912 | | pub mod io_uring; |
913 | | #[cfg(feature = "ioctl")] |
914 | | #[cfg(target_arch = "mips64")] |
915 | | #[path = "mips64/ioctl.rs"] |
916 | | pub mod ioctl; |
917 | | #[cfg(feature = "landlock")] |
918 | | #[cfg(target_arch = "mips64")] |
919 | | #[path = "mips64/landlock.rs"] |
920 | | pub mod landlock; |
921 | | #[cfg(feature = "loop_device")] |
922 | | #[cfg(target_arch = "mips64")] |
923 | | #[path = "mips64/loop_device.rs"] |
924 | | pub mod loop_device; |
925 | | #[cfg(feature = "mempolicy")] |
926 | | #[cfg(target_arch = "mips64")] |
927 | | #[path = "mips64/mempolicy.rs"] |
928 | | pub mod mempolicy; |
929 | | #[cfg(feature = "net")] |
930 | | #[cfg(target_arch = "mips64")] |
931 | | #[path = "mips64/net.rs"] |
932 | | pub mod net; |
933 | | #[cfg(feature = "netlink")] |
934 | | #[cfg(target_arch = "mips64")] |
935 | | #[path = "mips64/netlink.rs"] |
936 | | pub mod netlink; |
937 | | #[cfg(feature = "prctl")] |
938 | | #[cfg(target_arch = "mips64")] |
939 | | #[path = "mips64/prctl.rs"] |
940 | | pub mod prctl; |
941 | | #[cfg(feature = "ptrace")] |
942 | | #[cfg(target_arch = "mips64")] |
943 | | #[path = "mips64/ptrace.rs"] |
944 | | pub mod ptrace; |
945 | | #[cfg(feature = "system")] |
946 | | #[cfg(target_arch = "mips64")] |
947 | | #[path = "mips64/system.rs"] |
948 | | pub mod system; |
949 | | #[cfg(feature = "vm_sockets")] |
950 | | #[cfg(target_arch = "mips64")] |
951 | | #[path = "mips64/vm_sockets.rs"] |
952 | | pub mod vm_sockets; |
953 | | #[cfg(feature = "xdp")] |
954 | | #[cfg(target_arch = "mips64")] |
955 | | #[path = "mips64/xdp.rs"] |
956 | | pub mod xdp; |
957 | | #[cfg(feature = "auxvec")] |
958 | | #[cfg(target_arch = "mips32r6")] |
959 | | #[path = "mips32r6/auxvec.rs"] |
960 | | pub mod auxvec; |
961 | | #[cfg(feature = "bootparam")] |
962 | | #[cfg(target_arch = "mips32r6")] |
963 | | #[path = "mips32r6/bootparam.rs"] |
964 | | pub mod bootparam; |
965 | | #[cfg(feature = "btrfs")] |
966 | | #[cfg(target_arch = "mips32r6")] |
967 | | #[path = "mips32r6/btrfs.rs"] |
968 | | pub mod btrfs; |
969 | | #[cfg(feature = "elf_uapi")] |
970 | | #[cfg(target_arch = "mips32r6")] |
971 | | #[path = "mips32r6/elf_uapi.rs"] |
972 | | pub mod elf_uapi; |
973 | | #[cfg(feature = "errno")] |
974 | | #[cfg(target_arch = "mips32r6")] |
975 | | #[path = "mips32r6/errno.rs"] |
976 | | pub mod errno; |
977 | | #[cfg(feature = "general")] |
978 | | #[cfg(target_arch = "mips32r6")] |
979 | | #[path = "mips32r6/general.rs"] |
980 | | pub mod general; |
981 | | #[cfg(feature = "if_arp")] |
982 | | #[cfg(target_arch = "mips32r6")] |
983 | | #[path = "mips32r6/if_arp.rs"] |
984 | | pub mod if_arp; |
985 | | #[cfg(feature = "if_ether")] |
986 | | #[cfg(target_arch = "mips32r6")] |
987 | | #[path = "mips32r6/if_ether.rs"] |
988 | | pub mod if_ether; |
989 | | #[cfg(feature = "if_packet")] |
990 | | #[cfg(target_arch = "mips32r6")] |
991 | | #[path = "mips32r6/if_packet.rs"] |
992 | | pub mod if_packet; |
993 | | #[cfg(feature = "if_tun")] |
994 | | #[cfg(target_arch = "mips32r6")] |
995 | | #[path = "mips32r6/if_tun.rs"] |
996 | | pub mod if_tun; |
997 | | #[cfg(feature = "image")] |
998 | | #[cfg(target_arch = "mips32r6")] |
999 | | #[path = "mips32r6/image.rs"] |
1000 | | pub mod image; |
1001 | | #[cfg(feature = "io_uring")] |
1002 | | #[cfg(target_arch = "mips32r6")] |
1003 | | #[path = "mips32r6/io_uring.rs"] |
1004 | | pub mod io_uring; |
1005 | | #[cfg(feature = "ioctl")] |
1006 | | #[cfg(target_arch = "mips32r6")] |
1007 | | #[path = "mips32r6/ioctl.rs"] |
1008 | | pub mod ioctl; |
1009 | | #[cfg(feature = "landlock")] |
1010 | | #[cfg(target_arch = "mips32r6")] |
1011 | | #[path = "mips32r6/landlock.rs"] |
1012 | | pub mod landlock; |
1013 | | #[cfg(feature = "loop_device")] |
1014 | | #[cfg(target_arch = "mips32r6")] |
1015 | | #[path = "mips32r6/loop_device.rs"] |
1016 | | pub mod loop_device; |
1017 | | #[cfg(feature = "mempolicy")] |
1018 | | #[cfg(target_arch = "mips32r6")] |
1019 | | #[path = "mips32r6/mempolicy.rs"] |
1020 | | pub mod mempolicy; |
1021 | | #[cfg(feature = "net")] |
1022 | | #[cfg(target_arch = "mips32r6")] |
1023 | | #[path = "mips32r6/net.rs"] |
1024 | | pub mod net; |
1025 | | #[cfg(feature = "netlink")] |
1026 | | #[cfg(target_arch = "mips32r6")] |
1027 | | #[path = "mips32r6/netlink.rs"] |
1028 | | pub mod netlink; |
1029 | | #[cfg(feature = "prctl")] |
1030 | | #[cfg(target_arch = "mips32r6")] |
1031 | | #[path = "mips32r6/prctl.rs"] |
1032 | | pub mod prctl; |
1033 | | #[cfg(feature = "ptrace")] |
1034 | | #[cfg(target_arch = "mips32r6")] |
1035 | | #[path = "mips32r6/ptrace.rs"] |
1036 | | pub mod ptrace; |
1037 | | #[cfg(feature = "system")] |
1038 | | #[cfg(target_arch = "mips32r6")] |
1039 | | #[path = "mips32r6/system.rs"] |
1040 | | pub mod system; |
1041 | | #[cfg(feature = "vm_sockets")] |
1042 | | #[cfg(target_arch = "mips32r6")] |
1043 | | #[path = "mips32r6/vm_sockets.rs"] |
1044 | | pub mod vm_sockets; |
1045 | | #[cfg(feature = "xdp")] |
1046 | | #[cfg(target_arch = "mips32r6")] |
1047 | | #[path = "mips32r6/xdp.rs"] |
1048 | | pub mod xdp; |
1049 | | #[cfg(feature = "auxvec")] |
1050 | | #[cfg(target_arch = "mips64r6")] |
1051 | | #[path = "mips64r6/auxvec.rs"] |
1052 | | pub mod auxvec; |
1053 | | #[cfg(feature = "bootparam")] |
1054 | | #[cfg(target_arch = "mips64r6")] |
1055 | | #[path = "mips64r6/bootparam.rs"] |
1056 | | pub mod bootparam; |
1057 | | #[cfg(feature = "btrfs")] |
1058 | | #[cfg(target_arch = "mips64r6")] |
1059 | | #[path = "mips64r6/btrfs.rs"] |
1060 | | pub mod btrfs; |
1061 | | #[cfg(feature = "elf_uapi")] |
1062 | | #[cfg(target_arch = "mips64r6")] |
1063 | | #[path = "mips64r6/elf_uapi.rs"] |
1064 | | pub mod elf_uapi; |
1065 | | #[cfg(feature = "errno")] |
1066 | | #[cfg(target_arch = "mips64r6")] |
1067 | | #[path = "mips64r6/errno.rs"] |
1068 | | pub mod errno; |
1069 | | #[cfg(feature = "general")] |
1070 | | #[cfg(target_arch = "mips64r6")] |
1071 | | #[path = "mips64r6/general.rs"] |
1072 | | pub mod general; |
1073 | | #[cfg(feature = "if_arp")] |
1074 | | #[cfg(target_arch = "mips64r6")] |
1075 | | #[path = "mips64r6/if_arp.rs"] |
1076 | | pub mod if_arp; |
1077 | | #[cfg(feature = "if_ether")] |
1078 | | #[cfg(target_arch = "mips64r6")] |
1079 | | #[path = "mips64r6/if_ether.rs"] |
1080 | | pub mod if_ether; |
1081 | | #[cfg(feature = "if_packet")] |
1082 | | #[cfg(target_arch = "mips64r6")] |
1083 | | #[path = "mips64r6/if_packet.rs"] |
1084 | | pub mod if_packet; |
1085 | | #[cfg(feature = "if_tun")] |
1086 | | #[cfg(target_arch = "mips64r6")] |
1087 | | #[path = "mips64r6/if_tun.rs"] |
1088 | | pub mod if_tun; |
1089 | | #[cfg(feature = "image")] |
1090 | | #[cfg(target_arch = "mips64r6")] |
1091 | | #[path = "mips64r6/image.rs"] |
1092 | | pub mod image; |
1093 | | #[cfg(feature = "io_uring")] |
1094 | | #[cfg(target_arch = "mips64r6")] |
1095 | | #[path = "mips64r6/io_uring.rs"] |
1096 | | pub mod io_uring; |
1097 | | #[cfg(feature = "ioctl")] |
1098 | | #[cfg(target_arch = "mips64r6")] |
1099 | | #[path = "mips64r6/ioctl.rs"] |
1100 | | pub mod ioctl; |
1101 | | #[cfg(feature = "landlock")] |
1102 | | #[cfg(target_arch = "mips64r6")] |
1103 | | #[path = "mips64r6/landlock.rs"] |
1104 | | pub mod landlock; |
1105 | | #[cfg(feature = "loop_device")] |
1106 | | #[cfg(target_arch = "mips64r6")] |
1107 | | #[path = "mips64r6/loop_device.rs"] |
1108 | | pub mod loop_device; |
1109 | | #[cfg(feature = "mempolicy")] |
1110 | | #[cfg(target_arch = "mips64r6")] |
1111 | | #[path = "mips64r6/mempolicy.rs"] |
1112 | | pub mod mempolicy; |
1113 | | #[cfg(feature = "net")] |
1114 | | #[cfg(target_arch = "mips64r6")] |
1115 | | #[path = "mips64r6/net.rs"] |
1116 | | pub mod net; |
1117 | | #[cfg(feature = "netlink")] |
1118 | | #[cfg(target_arch = "mips64r6")] |
1119 | | #[path = "mips64r6/netlink.rs"] |
1120 | | pub mod netlink; |
1121 | | #[cfg(feature = "prctl")] |
1122 | | #[cfg(target_arch = "mips64r6")] |
1123 | | #[path = "mips64r6/prctl.rs"] |
1124 | | pub mod prctl; |
1125 | | #[cfg(feature = "ptrace")] |
1126 | | #[cfg(target_arch = "mips64r6")] |
1127 | | #[path = "mips64r6/ptrace.rs"] |
1128 | | pub mod ptrace; |
1129 | | #[cfg(feature = "system")] |
1130 | | #[cfg(target_arch = "mips64r6")] |
1131 | | #[path = "mips64r6/system.rs"] |
1132 | | pub mod system; |
1133 | | #[cfg(feature = "vm_sockets")] |
1134 | | #[cfg(target_arch = "mips64r6")] |
1135 | | #[path = "mips64r6/vm_sockets.rs"] |
1136 | | pub mod vm_sockets; |
1137 | | #[cfg(feature = "xdp")] |
1138 | | #[cfg(target_arch = "mips64r6")] |
1139 | | #[path = "mips64r6/xdp.rs"] |
1140 | | pub mod xdp; |
1141 | | #[cfg(feature = "auxvec")] |
1142 | | #[cfg(target_arch = "powerpc")] |
1143 | | #[path = "powerpc/auxvec.rs"] |
1144 | | pub mod auxvec; |
1145 | | #[cfg(feature = "bootparam")] |
1146 | | #[cfg(target_arch = "powerpc")] |
1147 | | #[path = "powerpc/bootparam.rs"] |
1148 | | pub mod bootparam; |
1149 | | #[cfg(feature = "btrfs")] |
1150 | | #[cfg(target_arch = "powerpc")] |
1151 | | #[path = "powerpc/btrfs.rs"] |
1152 | | pub mod btrfs; |
1153 | | #[cfg(feature = "elf_uapi")] |
1154 | | #[cfg(target_arch = "powerpc")] |
1155 | | #[path = "powerpc/elf_uapi.rs"] |
1156 | | pub mod elf_uapi; |
1157 | | #[cfg(feature = "errno")] |
1158 | | #[cfg(target_arch = "powerpc")] |
1159 | | #[path = "powerpc/errno.rs"] |
1160 | | pub mod errno; |
1161 | | #[cfg(feature = "general")] |
1162 | | #[cfg(target_arch = "powerpc")] |
1163 | | #[path = "powerpc/general.rs"] |
1164 | | pub mod general; |
1165 | | #[cfg(feature = "if_arp")] |
1166 | | #[cfg(target_arch = "powerpc")] |
1167 | | #[path = "powerpc/if_arp.rs"] |
1168 | | pub mod if_arp; |
1169 | | #[cfg(feature = "if_ether")] |
1170 | | #[cfg(target_arch = "powerpc")] |
1171 | | #[path = "powerpc/if_ether.rs"] |
1172 | | pub mod if_ether; |
1173 | | #[cfg(feature = "if_packet")] |
1174 | | #[cfg(target_arch = "powerpc")] |
1175 | | #[path = "powerpc/if_packet.rs"] |
1176 | | pub mod if_packet; |
1177 | | #[cfg(feature = "if_tun")] |
1178 | | #[cfg(target_arch = "powerpc")] |
1179 | | #[path = "powerpc/if_tun.rs"] |
1180 | | pub mod if_tun; |
1181 | | #[cfg(feature = "image")] |
1182 | | #[cfg(target_arch = "powerpc")] |
1183 | | #[path = "powerpc/image.rs"] |
1184 | | pub mod image; |
1185 | | #[cfg(feature = "io_uring")] |
1186 | | #[cfg(target_arch = "powerpc")] |
1187 | | #[path = "powerpc/io_uring.rs"] |
1188 | | pub mod io_uring; |
1189 | | #[cfg(feature = "ioctl")] |
1190 | | #[cfg(target_arch = "powerpc")] |
1191 | | #[path = "powerpc/ioctl.rs"] |
1192 | | pub mod ioctl; |
1193 | | #[cfg(feature = "landlock")] |
1194 | | #[cfg(target_arch = "powerpc")] |
1195 | | #[path = "powerpc/landlock.rs"] |
1196 | | pub mod landlock; |
1197 | | #[cfg(feature = "loop_device")] |
1198 | | #[cfg(target_arch = "powerpc")] |
1199 | | #[path = "powerpc/loop_device.rs"] |
1200 | | pub mod loop_device; |
1201 | | #[cfg(feature = "mempolicy")] |
1202 | | #[cfg(target_arch = "powerpc")] |
1203 | | #[path = "powerpc/mempolicy.rs"] |
1204 | | pub mod mempolicy; |
1205 | | #[cfg(feature = "net")] |
1206 | | #[cfg(target_arch = "powerpc")] |
1207 | | #[path = "powerpc/net.rs"] |
1208 | | pub mod net; |
1209 | | #[cfg(feature = "netlink")] |
1210 | | #[cfg(target_arch = "powerpc")] |
1211 | | #[path = "powerpc/netlink.rs"] |
1212 | | pub mod netlink; |
1213 | | #[cfg(feature = "prctl")] |
1214 | | #[cfg(target_arch = "powerpc")] |
1215 | | #[path = "powerpc/prctl.rs"] |
1216 | | pub mod prctl; |
1217 | | #[cfg(feature = "ptrace")] |
1218 | | #[cfg(target_arch = "powerpc")] |
1219 | | #[path = "powerpc/ptrace.rs"] |
1220 | | pub mod ptrace; |
1221 | | #[cfg(feature = "system")] |
1222 | | #[cfg(target_arch = "powerpc")] |
1223 | | #[path = "powerpc/system.rs"] |
1224 | | pub mod system; |
1225 | | #[cfg(feature = "vm_sockets")] |
1226 | | #[cfg(target_arch = "powerpc")] |
1227 | | #[path = "powerpc/vm_sockets.rs"] |
1228 | | pub mod vm_sockets; |
1229 | | #[cfg(feature = "xdp")] |
1230 | | #[cfg(target_arch = "powerpc")] |
1231 | | #[path = "powerpc/xdp.rs"] |
1232 | | pub mod xdp; |
1233 | | #[cfg(feature = "auxvec")] |
1234 | | #[cfg(target_arch = "powerpc64")] |
1235 | | #[path = "powerpc64/auxvec.rs"] |
1236 | | pub mod auxvec; |
1237 | | #[cfg(feature = "bootparam")] |
1238 | | #[cfg(target_arch = "powerpc64")] |
1239 | | #[path = "powerpc64/bootparam.rs"] |
1240 | | pub mod bootparam; |
1241 | | #[cfg(feature = "btrfs")] |
1242 | | #[cfg(target_arch = "powerpc64")] |
1243 | | #[path = "powerpc64/btrfs.rs"] |
1244 | | pub mod btrfs; |
1245 | | #[cfg(feature = "elf_uapi")] |
1246 | | #[cfg(target_arch = "powerpc64")] |
1247 | | #[path = "powerpc64/elf_uapi.rs"] |
1248 | | pub mod elf_uapi; |
1249 | | #[cfg(feature = "errno")] |
1250 | | #[cfg(target_arch = "powerpc64")] |
1251 | | #[path = "powerpc64/errno.rs"] |
1252 | | pub mod errno; |
1253 | | #[cfg(feature = "general")] |
1254 | | #[cfg(target_arch = "powerpc64")] |
1255 | | #[path = "powerpc64/general.rs"] |
1256 | | pub mod general; |
1257 | | #[cfg(feature = "if_arp")] |
1258 | | #[cfg(target_arch = "powerpc64")] |
1259 | | #[path = "powerpc64/if_arp.rs"] |
1260 | | pub mod if_arp; |
1261 | | #[cfg(feature = "if_ether")] |
1262 | | #[cfg(target_arch = "powerpc64")] |
1263 | | #[path = "powerpc64/if_ether.rs"] |
1264 | | pub mod if_ether; |
1265 | | #[cfg(feature = "if_packet")] |
1266 | | #[cfg(target_arch = "powerpc64")] |
1267 | | #[path = "powerpc64/if_packet.rs"] |
1268 | | pub mod if_packet; |
1269 | | #[cfg(feature = "if_tun")] |
1270 | | #[cfg(target_arch = "powerpc64")] |
1271 | | #[path = "powerpc64/if_tun.rs"] |
1272 | | pub mod if_tun; |
1273 | | #[cfg(feature = "image")] |
1274 | | #[cfg(target_arch = "powerpc64")] |
1275 | | #[path = "powerpc64/image.rs"] |
1276 | | pub mod image; |
1277 | | #[cfg(feature = "io_uring")] |
1278 | | #[cfg(target_arch = "powerpc64")] |
1279 | | #[path = "powerpc64/io_uring.rs"] |
1280 | | pub mod io_uring; |
1281 | | #[cfg(feature = "ioctl")] |
1282 | | #[cfg(target_arch = "powerpc64")] |
1283 | | #[path = "powerpc64/ioctl.rs"] |
1284 | | pub mod ioctl; |
1285 | | #[cfg(feature = "landlock")] |
1286 | | #[cfg(target_arch = "powerpc64")] |
1287 | | #[path = "powerpc64/landlock.rs"] |
1288 | | pub mod landlock; |
1289 | | #[cfg(feature = "loop_device")] |
1290 | | #[cfg(target_arch = "powerpc64")] |
1291 | | #[path = "powerpc64/loop_device.rs"] |
1292 | | pub mod loop_device; |
1293 | | #[cfg(feature = "mempolicy")] |
1294 | | #[cfg(target_arch = "powerpc64")] |
1295 | | #[path = "powerpc64/mempolicy.rs"] |
1296 | | pub mod mempolicy; |
1297 | | #[cfg(feature = "net")] |
1298 | | #[cfg(target_arch = "powerpc64")] |
1299 | | #[path = "powerpc64/net.rs"] |
1300 | | pub mod net; |
1301 | | #[cfg(feature = "netlink")] |
1302 | | #[cfg(target_arch = "powerpc64")] |
1303 | | #[path = "powerpc64/netlink.rs"] |
1304 | | pub mod netlink; |
1305 | | #[cfg(feature = "prctl")] |
1306 | | #[cfg(target_arch = "powerpc64")] |
1307 | | #[path = "powerpc64/prctl.rs"] |
1308 | | pub mod prctl; |
1309 | | #[cfg(feature = "ptrace")] |
1310 | | #[cfg(target_arch = "powerpc64")] |
1311 | | #[path = "powerpc64/ptrace.rs"] |
1312 | | pub mod ptrace; |
1313 | | #[cfg(feature = "system")] |
1314 | | #[cfg(target_arch = "powerpc64")] |
1315 | | #[path = "powerpc64/system.rs"] |
1316 | | pub mod system; |
1317 | | #[cfg(feature = "vm_sockets")] |
1318 | | #[cfg(target_arch = "powerpc64")] |
1319 | | #[path = "powerpc64/vm_sockets.rs"] |
1320 | | pub mod vm_sockets; |
1321 | | #[cfg(feature = "xdp")] |
1322 | | #[cfg(target_arch = "powerpc64")] |
1323 | | #[path = "powerpc64/xdp.rs"] |
1324 | | pub mod xdp; |
1325 | | #[cfg(feature = "auxvec")] |
1326 | | #[cfg(target_arch = "riscv32")] |
1327 | | #[path = "riscv32/auxvec.rs"] |
1328 | | pub mod auxvec; |
1329 | | #[cfg(feature = "bootparam")] |
1330 | | #[cfg(target_arch = "riscv32")] |
1331 | | #[path = "riscv32/bootparam.rs"] |
1332 | | pub mod bootparam; |
1333 | | #[cfg(feature = "btrfs")] |
1334 | | #[cfg(target_arch = "riscv32")] |
1335 | | #[path = "riscv32/btrfs.rs"] |
1336 | | pub mod btrfs; |
1337 | | #[cfg(feature = "elf_uapi")] |
1338 | | #[cfg(target_arch = "riscv32")] |
1339 | | #[path = "riscv32/elf_uapi.rs"] |
1340 | | pub mod elf_uapi; |
1341 | | #[cfg(feature = "errno")] |
1342 | | #[cfg(target_arch = "riscv32")] |
1343 | | #[path = "riscv32/errno.rs"] |
1344 | | pub mod errno; |
1345 | | #[cfg(feature = "general")] |
1346 | | #[cfg(target_arch = "riscv32")] |
1347 | | #[path = "riscv32/general.rs"] |
1348 | | pub mod general; |
1349 | | #[cfg(feature = "if_arp")] |
1350 | | #[cfg(target_arch = "riscv32")] |
1351 | | #[path = "riscv32/if_arp.rs"] |
1352 | | pub mod if_arp; |
1353 | | #[cfg(feature = "if_ether")] |
1354 | | #[cfg(target_arch = "riscv32")] |
1355 | | #[path = "riscv32/if_ether.rs"] |
1356 | | pub mod if_ether; |
1357 | | #[cfg(feature = "if_packet")] |
1358 | | #[cfg(target_arch = "riscv32")] |
1359 | | #[path = "riscv32/if_packet.rs"] |
1360 | | pub mod if_packet; |
1361 | | #[cfg(feature = "if_tun")] |
1362 | | #[cfg(target_arch = "riscv32")] |
1363 | | #[path = "riscv32/if_tun.rs"] |
1364 | | pub mod if_tun; |
1365 | | #[cfg(feature = "image")] |
1366 | | #[cfg(target_arch = "riscv32")] |
1367 | | #[path = "riscv32/image.rs"] |
1368 | | pub mod image; |
1369 | | #[cfg(feature = "io_uring")] |
1370 | | #[cfg(target_arch = "riscv32")] |
1371 | | #[path = "riscv32/io_uring.rs"] |
1372 | | pub mod io_uring; |
1373 | | #[cfg(feature = "ioctl")] |
1374 | | #[cfg(target_arch = "riscv32")] |
1375 | | #[path = "riscv32/ioctl.rs"] |
1376 | | pub mod ioctl; |
1377 | | #[cfg(feature = "landlock")] |
1378 | | #[cfg(target_arch = "riscv32")] |
1379 | | #[path = "riscv32/landlock.rs"] |
1380 | | pub mod landlock; |
1381 | | #[cfg(feature = "loop_device")] |
1382 | | #[cfg(target_arch = "riscv32")] |
1383 | | #[path = "riscv32/loop_device.rs"] |
1384 | | pub mod loop_device; |
1385 | | #[cfg(feature = "mempolicy")] |
1386 | | #[cfg(target_arch = "riscv32")] |
1387 | | #[path = "riscv32/mempolicy.rs"] |
1388 | | pub mod mempolicy; |
1389 | | #[cfg(feature = "net")] |
1390 | | #[cfg(target_arch = "riscv32")] |
1391 | | #[path = "riscv32/net.rs"] |
1392 | | pub mod net; |
1393 | | #[cfg(feature = "netlink")] |
1394 | | #[cfg(target_arch = "riscv32")] |
1395 | | #[path = "riscv32/netlink.rs"] |
1396 | | pub mod netlink; |
1397 | | #[cfg(feature = "prctl")] |
1398 | | #[cfg(target_arch = "riscv32")] |
1399 | | #[path = "riscv32/prctl.rs"] |
1400 | | pub mod prctl; |
1401 | | #[cfg(feature = "ptrace")] |
1402 | | #[cfg(target_arch = "riscv32")] |
1403 | | #[path = "riscv32/ptrace.rs"] |
1404 | | pub mod ptrace; |
1405 | | #[cfg(feature = "system")] |
1406 | | #[cfg(target_arch = "riscv32")] |
1407 | | #[path = "riscv32/system.rs"] |
1408 | | pub mod system; |
1409 | | #[cfg(feature = "vm_sockets")] |
1410 | | #[cfg(target_arch = "riscv32")] |
1411 | | #[path = "riscv32/vm_sockets.rs"] |
1412 | | pub mod vm_sockets; |
1413 | | #[cfg(feature = "xdp")] |
1414 | | #[cfg(target_arch = "riscv32")] |
1415 | | #[path = "riscv32/xdp.rs"] |
1416 | | pub mod xdp; |
1417 | | #[cfg(feature = "auxvec")] |
1418 | | #[cfg(target_arch = "riscv64")] |
1419 | | #[path = "riscv64/auxvec.rs"] |
1420 | | pub mod auxvec; |
1421 | | #[cfg(feature = "bootparam")] |
1422 | | #[cfg(target_arch = "riscv64")] |
1423 | | #[path = "riscv64/bootparam.rs"] |
1424 | | pub mod bootparam; |
1425 | | #[cfg(feature = "btrfs")] |
1426 | | #[cfg(target_arch = "riscv64")] |
1427 | | #[path = "riscv64/btrfs.rs"] |
1428 | | pub mod btrfs; |
1429 | | #[cfg(feature = "elf_uapi")] |
1430 | | #[cfg(target_arch = "riscv64")] |
1431 | | #[path = "riscv64/elf_uapi.rs"] |
1432 | | pub mod elf_uapi; |
1433 | | #[cfg(feature = "errno")] |
1434 | | #[cfg(target_arch = "riscv64")] |
1435 | | #[path = "riscv64/errno.rs"] |
1436 | | pub mod errno; |
1437 | | #[cfg(feature = "general")] |
1438 | | #[cfg(target_arch = "riscv64")] |
1439 | | #[path = "riscv64/general.rs"] |
1440 | | pub mod general; |
1441 | | #[cfg(feature = "if_arp")] |
1442 | | #[cfg(target_arch = "riscv64")] |
1443 | | #[path = "riscv64/if_arp.rs"] |
1444 | | pub mod if_arp; |
1445 | | #[cfg(feature = "if_ether")] |
1446 | | #[cfg(target_arch = "riscv64")] |
1447 | | #[path = "riscv64/if_ether.rs"] |
1448 | | pub mod if_ether; |
1449 | | #[cfg(feature = "if_packet")] |
1450 | | #[cfg(target_arch = "riscv64")] |
1451 | | #[path = "riscv64/if_packet.rs"] |
1452 | | pub mod if_packet; |
1453 | | #[cfg(feature = "if_tun")] |
1454 | | #[cfg(target_arch = "riscv64")] |
1455 | | #[path = "riscv64/if_tun.rs"] |
1456 | | pub mod if_tun; |
1457 | | #[cfg(feature = "image")] |
1458 | | #[cfg(target_arch = "riscv64")] |
1459 | | #[path = "riscv64/image.rs"] |
1460 | | pub mod image; |
1461 | | #[cfg(feature = "io_uring")] |
1462 | | #[cfg(target_arch = "riscv64")] |
1463 | | #[path = "riscv64/io_uring.rs"] |
1464 | | pub mod io_uring; |
1465 | | #[cfg(feature = "ioctl")] |
1466 | | #[cfg(target_arch = "riscv64")] |
1467 | | #[path = "riscv64/ioctl.rs"] |
1468 | | pub mod ioctl; |
1469 | | #[cfg(feature = "landlock")] |
1470 | | #[cfg(target_arch = "riscv64")] |
1471 | | #[path = "riscv64/landlock.rs"] |
1472 | | pub mod landlock; |
1473 | | #[cfg(feature = "loop_device")] |
1474 | | #[cfg(target_arch = "riscv64")] |
1475 | | #[path = "riscv64/loop_device.rs"] |
1476 | | pub mod loop_device; |
1477 | | #[cfg(feature = "mempolicy")] |
1478 | | #[cfg(target_arch = "riscv64")] |
1479 | | #[path = "riscv64/mempolicy.rs"] |
1480 | | pub mod mempolicy; |
1481 | | #[cfg(feature = "net")] |
1482 | | #[cfg(target_arch = "riscv64")] |
1483 | | #[path = "riscv64/net.rs"] |
1484 | | pub mod net; |
1485 | | #[cfg(feature = "netlink")] |
1486 | | #[cfg(target_arch = "riscv64")] |
1487 | | #[path = "riscv64/netlink.rs"] |
1488 | | pub mod netlink; |
1489 | | #[cfg(feature = "prctl")] |
1490 | | #[cfg(target_arch = "riscv64")] |
1491 | | #[path = "riscv64/prctl.rs"] |
1492 | | pub mod prctl; |
1493 | | #[cfg(feature = "ptrace")] |
1494 | | #[cfg(target_arch = "riscv64")] |
1495 | | #[path = "riscv64/ptrace.rs"] |
1496 | | pub mod ptrace; |
1497 | | #[cfg(feature = "system")] |
1498 | | #[cfg(target_arch = "riscv64")] |
1499 | | #[path = "riscv64/system.rs"] |
1500 | | pub mod system; |
1501 | | #[cfg(feature = "vm_sockets")] |
1502 | | #[cfg(target_arch = "riscv64")] |
1503 | | #[path = "riscv64/vm_sockets.rs"] |
1504 | | pub mod vm_sockets; |
1505 | | #[cfg(feature = "xdp")] |
1506 | | #[cfg(target_arch = "riscv64")] |
1507 | | #[path = "riscv64/xdp.rs"] |
1508 | | pub mod xdp; |
1509 | | #[cfg(feature = "auxvec")] |
1510 | | #[cfg(target_arch = "s390x")] |
1511 | | #[path = "s390x/auxvec.rs"] |
1512 | | pub mod auxvec; |
1513 | | #[cfg(feature = "bootparam")] |
1514 | | #[cfg(target_arch = "s390x")] |
1515 | | #[path = "s390x/bootparam.rs"] |
1516 | | pub mod bootparam; |
1517 | | #[cfg(feature = "btrfs")] |
1518 | | #[cfg(target_arch = "s390x")] |
1519 | | #[path = "s390x/btrfs.rs"] |
1520 | | pub mod btrfs; |
1521 | | #[cfg(feature = "elf_uapi")] |
1522 | | #[cfg(target_arch = "s390x")] |
1523 | | #[path = "s390x/elf_uapi.rs"] |
1524 | | pub mod elf_uapi; |
1525 | | #[cfg(feature = "errno")] |
1526 | | #[cfg(target_arch = "s390x")] |
1527 | | #[path = "s390x/errno.rs"] |
1528 | | pub mod errno; |
1529 | | #[cfg(feature = "general")] |
1530 | | #[cfg(target_arch = "s390x")] |
1531 | | #[path = "s390x/general.rs"] |
1532 | | pub mod general; |
1533 | | #[cfg(feature = "if_arp")] |
1534 | | #[cfg(target_arch = "s390x")] |
1535 | | #[path = "s390x/if_arp.rs"] |
1536 | | pub mod if_arp; |
1537 | | #[cfg(feature = "if_ether")] |
1538 | | #[cfg(target_arch = "s390x")] |
1539 | | #[path = "s390x/if_ether.rs"] |
1540 | | pub mod if_ether; |
1541 | | #[cfg(feature = "if_packet")] |
1542 | | #[cfg(target_arch = "s390x")] |
1543 | | #[path = "s390x/if_packet.rs"] |
1544 | | pub mod if_packet; |
1545 | | #[cfg(feature = "if_tun")] |
1546 | | #[cfg(target_arch = "s390x")] |
1547 | | #[path = "s390x/if_tun.rs"] |
1548 | | pub mod if_tun; |
1549 | | #[cfg(feature = "image")] |
1550 | | #[cfg(target_arch = "s390x")] |
1551 | | #[path = "s390x/image.rs"] |
1552 | | pub mod image; |
1553 | | #[cfg(feature = "io_uring")] |
1554 | | #[cfg(target_arch = "s390x")] |
1555 | | #[path = "s390x/io_uring.rs"] |
1556 | | pub mod io_uring; |
1557 | | #[cfg(feature = "ioctl")] |
1558 | | #[cfg(target_arch = "s390x")] |
1559 | | #[path = "s390x/ioctl.rs"] |
1560 | | pub mod ioctl; |
1561 | | #[cfg(feature = "landlock")] |
1562 | | #[cfg(target_arch = "s390x")] |
1563 | | #[path = "s390x/landlock.rs"] |
1564 | | pub mod landlock; |
1565 | | #[cfg(feature = "loop_device")] |
1566 | | #[cfg(target_arch = "s390x")] |
1567 | | #[path = "s390x/loop_device.rs"] |
1568 | | pub mod loop_device; |
1569 | | #[cfg(feature = "mempolicy")] |
1570 | | #[cfg(target_arch = "s390x")] |
1571 | | #[path = "s390x/mempolicy.rs"] |
1572 | | pub mod mempolicy; |
1573 | | #[cfg(feature = "net")] |
1574 | | #[cfg(target_arch = "s390x")] |
1575 | | #[path = "s390x/net.rs"] |
1576 | | pub mod net; |
1577 | | #[cfg(feature = "netlink")] |
1578 | | #[cfg(target_arch = "s390x")] |
1579 | | #[path = "s390x/netlink.rs"] |
1580 | | pub mod netlink; |
1581 | | #[cfg(feature = "prctl")] |
1582 | | #[cfg(target_arch = "s390x")] |
1583 | | #[path = "s390x/prctl.rs"] |
1584 | | pub mod prctl; |
1585 | | #[cfg(feature = "ptrace")] |
1586 | | #[cfg(target_arch = "s390x")] |
1587 | | #[path = "s390x/ptrace.rs"] |
1588 | | pub mod ptrace; |
1589 | | #[cfg(feature = "system")] |
1590 | | #[cfg(target_arch = "s390x")] |
1591 | | #[path = "s390x/system.rs"] |
1592 | | pub mod system; |
1593 | | #[cfg(feature = "vm_sockets")] |
1594 | | #[cfg(target_arch = "s390x")] |
1595 | | #[path = "s390x/vm_sockets.rs"] |
1596 | | pub mod vm_sockets; |
1597 | | #[cfg(feature = "xdp")] |
1598 | | #[cfg(target_arch = "s390x")] |
1599 | | #[path = "s390x/xdp.rs"] |
1600 | | pub mod xdp; |
1601 | | #[cfg(feature = "auxvec")] |
1602 | | #[cfg(target_arch = "sparc")] |
1603 | | #[path = "sparc/auxvec.rs"] |
1604 | | pub mod auxvec; |
1605 | | #[cfg(feature = "bootparam")] |
1606 | | #[cfg(target_arch = "sparc")] |
1607 | | #[path = "sparc/bootparam.rs"] |
1608 | | pub mod bootparam; |
1609 | | #[cfg(feature = "btrfs")] |
1610 | | #[cfg(target_arch = "sparc")] |
1611 | | #[path = "sparc/btrfs.rs"] |
1612 | | pub mod btrfs; |
1613 | | #[cfg(feature = "elf_uapi")] |
1614 | | #[cfg(target_arch = "sparc")] |
1615 | | #[path = "sparc/elf_uapi.rs"] |
1616 | | pub mod elf_uapi; |
1617 | | #[cfg(feature = "errno")] |
1618 | | #[cfg(target_arch = "sparc")] |
1619 | | #[path = "sparc/errno.rs"] |
1620 | | pub mod errno; |
1621 | | #[cfg(feature = "general")] |
1622 | | #[cfg(target_arch = "sparc")] |
1623 | | #[path = "sparc/general.rs"] |
1624 | | pub mod general; |
1625 | | #[cfg(feature = "if_arp")] |
1626 | | #[cfg(target_arch = "sparc")] |
1627 | | #[path = "sparc/if_arp.rs"] |
1628 | | pub mod if_arp; |
1629 | | #[cfg(feature = "if_ether")] |
1630 | | #[cfg(target_arch = "sparc")] |
1631 | | #[path = "sparc/if_ether.rs"] |
1632 | | pub mod if_ether; |
1633 | | #[cfg(feature = "if_packet")] |
1634 | | #[cfg(target_arch = "sparc")] |
1635 | | #[path = "sparc/if_packet.rs"] |
1636 | | pub mod if_packet; |
1637 | | #[cfg(feature = "if_tun")] |
1638 | | #[cfg(target_arch = "sparc")] |
1639 | | #[path = "sparc/if_tun.rs"] |
1640 | | pub mod if_tun; |
1641 | | #[cfg(feature = "image")] |
1642 | | #[cfg(target_arch = "sparc")] |
1643 | | #[path = "sparc/image.rs"] |
1644 | | pub mod image; |
1645 | | #[cfg(feature = "io_uring")] |
1646 | | #[cfg(target_arch = "sparc")] |
1647 | | #[path = "sparc/io_uring.rs"] |
1648 | | pub mod io_uring; |
1649 | | #[cfg(feature = "ioctl")] |
1650 | | #[cfg(target_arch = "sparc")] |
1651 | | #[path = "sparc/ioctl.rs"] |
1652 | | pub mod ioctl; |
1653 | | #[cfg(feature = "landlock")] |
1654 | | #[cfg(target_arch = "sparc")] |
1655 | | #[path = "sparc/landlock.rs"] |
1656 | | pub mod landlock; |
1657 | | #[cfg(feature = "loop_device")] |
1658 | | #[cfg(target_arch = "sparc")] |
1659 | | #[path = "sparc/loop_device.rs"] |
1660 | | pub mod loop_device; |
1661 | | #[cfg(feature = "mempolicy")] |
1662 | | #[cfg(target_arch = "sparc")] |
1663 | | #[path = "sparc/mempolicy.rs"] |
1664 | | pub mod mempolicy; |
1665 | | #[cfg(feature = "net")] |
1666 | | #[cfg(target_arch = "sparc")] |
1667 | | #[path = "sparc/net.rs"] |
1668 | | pub mod net; |
1669 | | #[cfg(feature = "netlink")] |
1670 | | #[cfg(target_arch = "sparc")] |
1671 | | #[path = "sparc/netlink.rs"] |
1672 | | pub mod netlink; |
1673 | | #[cfg(feature = "prctl")] |
1674 | | #[cfg(target_arch = "sparc")] |
1675 | | #[path = "sparc/prctl.rs"] |
1676 | | pub mod prctl; |
1677 | | #[cfg(feature = "ptrace")] |
1678 | | #[cfg(target_arch = "sparc")] |
1679 | | #[path = "sparc/ptrace.rs"] |
1680 | | pub mod ptrace; |
1681 | | #[cfg(feature = "system")] |
1682 | | #[cfg(target_arch = "sparc")] |
1683 | | #[path = "sparc/system.rs"] |
1684 | | pub mod system; |
1685 | | #[cfg(feature = "vm_sockets")] |
1686 | | #[cfg(target_arch = "sparc")] |
1687 | | #[path = "sparc/vm_sockets.rs"] |
1688 | | pub mod vm_sockets; |
1689 | | #[cfg(feature = "xdp")] |
1690 | | #[cfg(target_arch = "sparc")] |
1691 | | #[path = "sparc/xdp.rs"] |
1692 | | pub mod xdp; |
1693 | | #[cfg(feature = "auxvec")] |
1694 | | #[cfg(target_arch = "sparc64")] |
1695 | | #[path = "sparc64/auxvec.rs"] |
1696 | | pub mod auxvec; |
1697 | | #[cfg(feature = "bootparam")] |
1698 | | #[cfg(target_arch = "sparc64")] |
1699 | | #[path = "sparc64/bootparam.rs"] |
1700 | | pub mod bootparam; |
1701 | | #[cfg(feature = "btrfs")] |
1702 | | #[cfg(target_arch = "sparc64")] |
1703 | | #[path = "sparc64/btrfs.rs"] |
1704 | | pub mod btrfs; |
1705 | | #[cfg(feature = "elf_uapi")] |
1706 | | #[cfg(target_arch = "sparc64")] |
1707 | | #[path = "sparc64/elf_uapi.rs"] |
1708 | | pub mod elf_uapi; |
1709 | | #[cfg(feature = "errno")] |
1710 | | #[cfg(target_arch = "sparc64")] |
1711 | | #[path = "sparc64/errno.rs"] |
1712 | | pub mod errno; |
1713 | | #[cfg(feature = "general")] |
1714 | | #[cfg(target_arch = "sparc64")] |
1715 | | #[path = "sparc64/general.rs"] |
1716 | | pub mod general; |
1717 | | #[cfg(feature = "if_arp")] |
1718 | | #[cfg(target_arch = "sparc64")] |
1719 | | #[path = "sparc64/if_arp.rs"] |
1720 | | pub mod if_arp; |
1721 | | #[cfg(feature = "if_ether")] |
1722 | | #[cfg(target_arch = "sparc64")] |
1723 | | #[path = "sparc64/if_ether.rs"] |
1724 | | pub mod if_ether; |
1725 | | #[cfg(feature = "if_packet")] |
1726 | | #[cfg(target_arch = "sparc64")] |
1727 | | #[path = "sparc64/if_packet.rs"] |
1728 | | pub mod if_packet; |
1729 | | #[cfg(feature = "if_tun")] |
1730 | | #[cfg(target_arch = "sparc64")] |
1731 | | #[path = "sparc64/if_tun.rs"] |
1732 | | pub mod if_tun; |
1733 | | #[cfg(feature = "image")] |
1734 | | #[cfg(target_arch = "sparc64")] |
1735 | | #[path = "sparc64/image.rs"] |
1736 | | pub mod image; |
1737 | | #[cfg(feature = "io_uring")] |
1738 | | #[cfg(target_arch = "sparc64")] |
1739 | | #[path = "sparc64/io_uring.rs"] |
1740 | | pub mod io_uring; |
1741 | | #[cfg(feature = "ioctl")] |
1742 | | #[cfg(target_arch = "sparc64")] |
1743 | | #[path = "sparc64/ioctl.rs"] |
1744 | | pub mod ioctl; |
1745 | | #[cfg(feature = "landlock")] |
1746 | | #[cfg(target_arch = "sparc64")] |
1747 | | #[path = "sparc64/landlock.rs"] |
1748 | | pub mod landlock; |
1749 | | #[cfg(feature = "loop_device")] |
1750 | | #[cfg(target_arch = "sparc64")] |
1751 | | #[path = "sparc64/loop_device.rs"] |
1752 | | pub mod loop_device; |
1753 | | #[cfg(feature = "mempolicy")] |
1754 | | #[cfg(target_arch = "sparc64")] |
1755 | | #[path = "sparc64/mempolicy.rs"] |
1756 | | pub mod mempolicy; |
1757 | | #[cfg(feature = "net")] |
1758 | | #[cfg(target_arch = "sparc64")] |
1759 | | #[path = "sparc64/net.rs"] |
1760 | | pub mod net; |
1761 | | #[cfg(feature = "netlink")] |
1762 | | #[cfg(target_arch = "sparc64")] |
1763 | | #[path = "sparc64/netlink.rs"] |
1764 | | pub mod netlink; |
1765 | | #[cfg(feature = "prctl")] |
1766 | | #[cfg(target_arch = "sparc64")] |
1767 | | #[path = "sparc64/prctl.rs"] |
1768 | | pub mod prctl; |
1769 | | #[cfg(feature = "ptrace")] |
1770 | | #[cfg(target_arch = "sparc64")] |
1771 | | #[path = "sparc64/ptrace.rs"] |
1772 | | pub mod ptrace; |
1773 | | #[cfg(feature = "system")] |
1774 | | #[cfg(target_arch = "sparc64")] |
1775 | | #[path = "sparc64/system.rs"] |
1776 | | pub mod system; |
1777 | | #[cfg(feature = "vm_sockets")] |
1778 | | #[cfg(target_arch = "sparc64")] |
1779 | | #[path = "sparc64/vm_sockets.rs"] |
1780 | | pub mod vm_sockets; |
1781 | | #[cfg(feature = "xdp")] |
1782 | | #[cfg(target_arch = "sparc64")] |
1783 | | #[path = "sparc64/xdp.rs"] |
1784 | | pub mod xdp; |
1785 | | #[cfg(feature = "auxvec")] |
1786 | | #[cfg(target_arch = "x86")] |
1787 | | #[path = "x86/auxvec.rs"] |
1788 | | pub mod auxvec; |
1789 | | #[cfg(feature = "bootparam")] |
1790 | | #[cfg(target_arch = "x86")] |
1791 | | #[path = "x86/bootparam.rs"] |
1792 | | pub mod bootparam; |
1793 | | #[cfg(feature = "btrfs")] |
1794 | | #[cfg(target_arch = "x86")] |
1795 | | #[path = "x86/btrfs.rs"] |
1796 | | pub mod btrfs; |
1797 | | #[cfg(feature = "elf_uapi")] |
1798 | | #[cfg(target_arch = "x86")] |
1799 | | #[path = "x86/elf_uapi.rs"] |
1800 | | pub mod elf_uapi; |
1801 | | #[cfg(feature = "errno")] |
1802 | | #[cfg(target_arch = "x86")] |
1803 | | #[path = "x86/errno.rs"] |
1804 | | pub mod errno; |
1805 | | #[cfg(feature = "general")] |
1806 | | #[cfg(target_arch = "x86")] |
1807 | | #[path = "x86/general.rs"] |
1808 | | pub mod general; |
1809 | | #[cfg(feature = "if_arp")] |
1810 | | #[cfg(target_arch = "x86")] |
1811 | | #[path = "x86/if_arp.rs"] |
1812 | | pub mod if_arp; |
1813 | | #[cfg(feature = "if_ether")] |
1814 | | #[cfg(target_arch = "x86")] |
1815 | | #[path = "x86/if_ether.rs"] |
1816 | | pub mod if_ether; |
1817 | | #[cfg(feature = "if_packet")] |
1818 | | #[cfg(target_arch = "x86")] |
1819 | | #[path = "x86/if_packet.rs"] |
1820 | | pub mod if_packet; |
1821 | | #[cfg(feature = "if_tun")] |
1822 | | #[cfg(target_arch = "x86")] |
1823 | | #[path = "x86/if_tun.rs"] |
1824 | | pub mod if_tun; |
1825 | | #[cfg(feature = "image")] |
1826 | | #[cfg(target_arch = "x86")] |
1827 | | #[path = "x86/image.rs"] |
1828 | | pub mod image; |
1829 | | #[cfg(feature = "io_uring")] |
1830 | | #[cfg(target_arch = "x86")] |
1831 | | #[path = "x86/io_uring.rs"] |
1832 | | pub mod io_uring; |
1833 | | #[cfg(feature = "ioctl")] |
1834 | | #[cfg(target_arch = "x86")] |
1835 | | #[path = "x86/ioctl.rs"] |
1836 | | pub mod ioctl; |
1837 | | #[cfg(feature = "landlock")] |
1838 | | #[cfg(target_arch = "x86")] |
1839 | | #[path = "x86/landlock.rs"] |
1840 | | pub mod landlock; |
1841 | | #[cfg(feature = "loop_device")] |
1842 | | #[cfg(target_arch = "x86")] |
1843 | | #[path = "x86/loop_device.rs"] |
1844 | | pub mod loop_device; |
1845 | | #[cfg(feature = "mempolicy")] |
1846 | | #[cfg(target_arch = "x86")] |
1847 | | #[path = "x86/mempolicy.rs"] |
1848 | | pub mod mempolicy; |
1849 | | #[cfg(feature = "net")] |
1850 | | #[cfg(target_arch = "x86")] |
1851 | | #[path = "x86/net.rs"] |
1852 | | pub mod net; |
1853 | | #[cfg(feature = "netlink")] |
1854 | | #[cfg(target_arch = "x86")] |
1855 | | #[path = "x86/netlink.rs"] |
1856 | | pub mod netlink; |
1857 | | #[cfg(feature = "prctl")] |
1858 | | #[cfg(target_arch = "x86")] |
1859 | | #[path = "x86/prctl.rs"] |
1860 | | pub mod prctl; |
1861 | | #[cfg(feature = "ptrace")] |
1862 | | #[cfg(target_arch = "x86")] |
1863 | | #[path = "x86/ptrace.rs"] |
1864 | | pub mod ptrace; |
1865 | | #[cfg(feature = "system")] |
1866 | | #[cfg(target_arch = "x86")] |
1867 | | #[path = "x86/system.rs"] |
1868 | | pub mod system; |
1869 | | #[cfg(feature = "vm_sockets")] |
1870 | | #[cfg(target_arch = "x86")] |
1871 | | #[path = "x86/vm_sockets.rs"] |
1872 | | pub mod vm_sockets; |
1873 | | #[cfg(feature = "xdp")] |
1874 | | #[cfg(target_arch = "x86")] |
1875 | | #[path = "x86/xdp.rs"] |
1876 | | pub mod xdp; |
1877 | | #[cfg(feature = "auxvec")] |
1878 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1879 | | #[path = "x86_64/auxvec.rs"] |
1880 | | pub mod auxvec; |
1881 | | #[cfg(feature = "bootparam")] |
1882 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1883 | | #[path = "x86_64/bootparam.rs"] |
1884 | | pub mod bootparam; |
1885 | | #[cfg(feature = "btrfs")] |
1886 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1887 | | #[path = "x86_64/btrfs.rs"] |
1888 | | pub mod btrfs; |
1889 | | #[cfg(feature = "elf_uapi")] |
1890 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1891 | | #[path = "x86_64/elf_uapi.rs"] |
1892 | | pub mod elf_uapi; |
1893 | | #[cfg(feature = "errno")] |
1894 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1895 | | #[path = "x86_64/errno.rs"] |
1896 | | pub mod errno; |
1897 | | #[cfg(feature = "general")] |
1898 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1899 | | #[path = "x86_64/general.rs"] |
1900 | | pub mod general; |
1901 | | #[cfg(feature = "if_arp")] |
1902 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1903 | | #[path = "x86_64/if_arp.rs"] |
1904 | | pub mod if_arp; |
1905 | | #[cfg(feature = "if_ether")] |
1906 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1907 | | #[path = "x86_64/if_ether.rs"] |
1908 | | pub mod if_ether; |
1909 | | #[cfg(feature = "if_packet")] |
1910 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1911 | | #[path = "x86_64/if_packet.rs"] |
1912 | | pub mod if_packet; |
1913 | | #[cfg(feature = "if_tun")] |
1914 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1915 | | #[path = "x86_64/if_tun.rs"] |
1916 | | pub mod if_tun; |
1917 | | #[cfg(feature = "image")] |
1918 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1919 | | #[path = "x86_64/image.rs"] |
1920 | | pub mod image; |
1921 | | #[cfg(feature = "io_uring")] |
1922 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1923 | | #[path = "x86_64/io_uring.rs"] |
1924 | | pub mod io_uring; |
1925 | | #[cfg(feature = "ioctl")] |
1926 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1927 | | #[path = "x86_64/ioctl.rs"] |
1928 | | pub mod ioctl; |
1929 | | #[cfg(feature = "landlock")] |
1930 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1931 | | #[path = "x86_64/landlock.rs"] |
1932 | | pub mod landlock; |
1933 | | #[cfg(feature = "loop_device")] |
1934 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1935 | | #[path = "x86_64/loop_device.rs"] |
1936 | | pub mod loop_device; |
1937 | | #[cfg(feature = "mempolicy")] |
1938 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1939 | | #[path = "x86_64/mempolicy.rs"] |
1940 | | pub mod mempolicy; |
1941 | | #[cfg(feature = "net")] |
1942 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1943 | | #[path = "x86_64/net.rs"] |
1944 | | pub mod net; |
1945 | | #[cfg(feature = "netlink")] |
1946 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1947 | | #[path = "x86_64/netlink.rs"] |
1948 | | pub mod netlink; |
1949 | | #[cfg(feature = "prctl")] |
1950 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1951 | | #[path = "x86_64/prctl.rs"] |
1952 | | pub mod prctl; |
1953 | | #[cfg(feature = "ptrace")] |
1954 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1955 | | #[path = "x86_64/ptrace.rs"] |
1956 | | pub mod ptrace; |
1957 | | #[cfg(feature = "system")] |
1958 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1959 | | #[path = "x86_64/system.rs"] |
1960 | | pub mod system; |
1961 | | #[cfg(feature = "vm_sockets")] |
1962 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1963 | | #[path = "x86_64/vm_sockets.rs"] |
1964 | | pub mod vm_sockets; |
1965 | | #[cfg(feature = "xdp")] |
1966 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] |
1967 | | #[path = "x86_64/xdp.rs"] |
1968 | | pub mod xdp; |
1969 | | #[cfg(feature = "auxvec")] |
1970 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
1971 | | #[path = "x32/auxvec.rs"] |
1972 | | pub mod auxvec; |
1973 | | #[cfg(feature = "bootparam")] |
1974 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
1975 | | #[path = "x32/bootparam.rs"] |
1976 | | pub mod bootparam; |
1977 | | #[cfg(feature = "btrfs")] |
1978 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
1979 | | #[path = "x32/btrfs.rs"] |
1980 | | pub mod btrfs; |
1981 | | #[cfg(feature = "elf_uapi")] |
1982 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
1983 | | #[path = "x32/elf_uapi.rs"] |
1984 | | pub mod elf_uapi; |
1985 | | #[cfg(feature = "errno")] |
1986 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
1987 | | #[path = "x32/errno.rs"] |
1988 | | pub mod errno; |
1989 | | #[cfg(feature = "general")] |
1990 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
1991 | | #[path = "x32/general.rs"] |
1992 | | pub mod general; |
1993 | | #[cfg(feature = "if_arp")] |
1994 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
1995 | | #[path = "x32/if_arp.rs"] |
1996 | | pub mod if_arp; |
1997 | | #[cfg(feature = "if_ether")] |
1998 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
1999 | | #[path = "x32/if_ether.rs"] |
2000 | | pub mod if_ether; |
2001 | | #[cfg(feature = "if_packet")] |
2002 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2003 | | #[path = "x32/if_packet.rs"] |
2004 | | pub mod if_packet; |
2005 | | #[cfg(feature = "if_tun")] |
2006 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2007 | | #[path = "x32/if_tun.rs"] |
2008 | | pub mod if_tun; |
2009 | | #[cfg(feature = "image")] |
2010 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2011 | | #[path = "x32/image.rs"] |
2012 | | pub mod image; |
2013 | | #[cfg(feature = "io_uring")] |
2014 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2015 | | #[path = "x32/io_uring.rs"] |
2016 | | pub mod io_uring; |
2017 | | #[cfg(feature = "ioctl")] |
2018 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2019 | | #[path = "x32/ioctl.rs"] |
2020 | | pub mod ioctl; |
2021 | | #[cfg(feature = "landlock")] |
2022 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2023 | | #[path = "x32/landlock.rs"] |
2024 | | pub mod landlock; |
2025 | | #[cfg(feature = "loop_device")] |
2026 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2027 | | #[path = "x32/loop_device.rs"] |
2028 | | pub mod loop_device; |
2029 | | #[cfg(feature = "mempolicy")] |
2030 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2031 | | #[path = "x32/mempolicy.rs"] |
2032 | | pub mod mempolicy; |
2033 | | #[cfg(feature = "net")] |
2034 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2035 | | #[path = "x32/net.rs"] |
2036 | | pub mod net; |
2037 | | #[cfg(feature = "netlink")] |
2038 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2039 | | #[path = "x32/netlink.rs"] |
2040 | | pub mod netlink; |
2041 | | #[cfg(feature = "prctl")] |
2042 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2043 | | #[path = "x32/prctl.rs"] |
2044 | | pub mod prctl; |
2045 | | #[cfg(feature = "ptrace")] |
2046 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2047 | | #[path = "x32/ptrace.rs"] |
2048 | | pub mod ptrace; |
2049 | | #[cfg(feature = "system")] |
2050 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2051 | | #[path = "x32/system.rs"] |
2052 | | pub mod system; |
2053 | | #[cfg(feature = "vm_sockets")] |
2054 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2055 | | #[path = "x32/vm_sockets.rs"] |
2056 | | pub mod vm_sockets; |
2057 | | #[cfg(feature = "xdp")] |
2058 | | #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] |
2059 | | #[path = "x32/xdp.rs"] |
2060 | | pub mod xdp; |