| 1 | #![allow (non_camel_case_types, non_upper_case_globals, non_snake_case)] |
| 2 | #![cfg_attr (not(feature = "std" ), no_std)] |
| 3 | |
| 4 | #[cfg (feature = "std" )] |
| 5 | pub use std::os::raw as ctypes; |
| 6 | |
| 7 | #[cfg (all(not(feature = "std" ), feature = "no_std" ))] |
| 8 | pub mod ctypes { |
| 9 | // The signedness of `char` is platform-specific, however a consequence |
| 10 | // of it being platform-specific is that any code which depends on the |
| 11 | // signedness of `char` is already non-portable. So we can just use `u8` |
| 12 | // here and no portable code will notice. |
| 13 | pub type c_char = u8; |
| 14 | |
| 15 | // The following assumes that Linux is always either ILP32 or LP64, |
| 16 | // and char is always 8-bit. |
| 17 | // |
| 18 | // In theory, `c_long` and `c_ulong` could be `isize` and `usize` |
| 19 | // respectively, however in practice Linux doesn't use them in that way |
| 20 | // consistently. So stick with the convention followed by `libc` and |
| 21 | // others and use the fixed-width types. |
| 22 | pub type c_schar = i8; |
| 23 | pub type c_uchar = u8; |
| 24 | pub type c_short = i16; |
| 25 | pub type c_ushort = u16; |
| 26 | pub type c_int = i32; |
| 27 | pub type c_uint = u32; |
| 28 | #[cfg (target_pointer_width = "32" )] |
| 29 | pub type c_long = i32; |
| 30 | #[cfg (target_pointer_width = "32" )] |
| 31 | pub type c_ulong = u32; |
| 32 | #[cfg (target_pointer_width = "64" )] |
| 33 | pub type c_long = i64; |
| 34 | #[cfg (target_pointer_width = "64" )] |
| 35 | pub type c_ulong = u64; |
| 36 | pub type c_longlong = i64; |
| 37 | pub type c_ulonglong = u64; |
| 38 | pub type c_float = f32; |
| 39 | pub type c_double = f64; |
| 40 | |
| 41 | pub use core::ffi::c_void; |
| 42 | } |
| 43 | |
| 44 | // Confirm that our type definitions above match the actual type definitions. |
| 45 | #[cfg (test)] |
| 46 | mod assertions { |
| 47 | use super::ctypes; |
| 48 | static_assertions::assert_eq_size!(ctypes::c_char, libc::c_char); |
| 49 | static_assertions::assert_type_eq_all!(ctypes::c_schar, libc::c_schar); |
| 50 | static_assertions::assert_type_eq_all!(ctypes::c_uchar, libc::c_uchar); |
| 51 | static_assertions::assert_type_eq_all!(ctypes::c_short, libc::c_short); |
| 52 | static_assertions::assert_type_eq_all!(ctypes::c_ushort, libc::c_ushort); |
| 53 | static_assertions::assert_type_eq_all!(ctypes::c_int, libc::c_int); |
| 54 | static_assertions::assert_type_eq_all!(ctypes::c_uint, libc::c_uint); |
| 55 | static_assertions::assert_type_eq_all!(ctypes::c_long, libc::c_long); |
| 56 | static_assertions::assert_type_eq_all!(ctypes::c_ulong, libc::c_ulong); |
| 57 | static_assertions::assert_type_eq_all!(ctypes::c_longlong, libc::c_longlong); |
| 58 | static_assertions::assert_type_eq_all!(ctypes::c_ulonglong, libc::c_ulonglong); |
| 59 | static_assertions::assert_type_eq_all!(ctypes::c_float, libc::c_float); |
| 60 | static_assertions::assert_type_eq_all!(ctypes::c_double, libc::c_double); |
| 61 | } |
| 62 | |
| 63 | // We don't enable `derive_eq` in bindgen because adding `PartialEq`/`Eq` to |
| 64 | // *all* structs noticeably increases compile times. But we can add a few |
| 65 | // manual impls where they're especially useful. |
| 66 | #[cfg (feature = "general" )] |
| 67 | impl PartialEq for general::__kernel_timespec { |
| 68 | fn eq(&self, other: &Self) -> bool { |
| 69 | ({ |
| 70 | let Self { tv_sec: &i64, tv_nsec: &i64 } = self; |
| 71 | (tv_sec, tv_nsec) |
| 72 | }) == ({ |
| 73 | let Self { tv_sec: &i64, tv_nsec: &i64 } = other; |
| 74 | (tv_sec, tv_nsec) |
| 75 | }) |
| 76 | } |
| 77 | } |
| 78 | #[cfg (feature = "general" )] |
| 79 | impl Eq for general::__kernel_timespec {} |
| 80 | |
| 81 | #[cfg (feature = "net" )] |
| 82 | pub mod cmsg_macros { |
| 83 | use crate::ctypes::{c_long, c_uchar, c_uint}; |
| 84 | use crate::net::{cmsghdr, msghdr}; |
| 85 | use core::mem::size_of; |
| 86 | use core::ptr; |
| 87 | |
| 88 | pub const unsafe fn CMSG_ALIGN(len: c_uint) -> c_uint { |
| 89 | let c_long_size = size_of::<c_long>() as c_uint; |
| 90 | (len + c_long_size - 1) & !(c_long_size - 1) |
| 91 | } |
| 92 | |
| 93 | pub const unsafe fn CMSG_DATA(cmsg: *const cmsghdr) -> *mut c_uchar { |
| 94 | (cmsg as *mut c_uchar).add(size_of::<cmsghdr>()) |
| 95 | } |
| 96 | |
| 97 | pub const unsafe fn CMSG_SPACE(len: c_uint) -> c_uint { |
| 98 | size_of::<cmsghdr>() as c_uint + CMSG_ALIGN(len) |
| 99 | } |
| 100 | |
| 101 | pub const unsafe fn CMSG_LEN(len: c_uint) -> c_uint { |
| 102 | size_of::<cmsghdr>() as c_uint + len |
| 103 | } |
| 104 | |
| 105 | pub const unsafe fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr { |
| 106 | if (*mhdr).msg_controllen < size_of::<cmsghdr>() as _ { |
| 107 | return ptr::null_mut(); |
| 108 | } |
| 109 | |
| 110 | (*mhdr).msg_control as *mut cmsghdr |
| 111 | } |
| 112 | |
| 113 | pub unsafe fn CMSG_NXTHDR(mhdr: *const msghdr, cmsg: *const cmsghdr) -> *mut cmsghdr { |
| 114 | // We convert from raw pointers to usize here, which may not be sound in a |
| 115 | // future version of Rust. Once the provenance rules are set in stone, |
| 116 | // it will be a good idea to give this function a once-over. |
| 117 | |
| 118 | let cmsg_len = (*cmsg).cmsg_len; |
| 119 | let next_cmsg = (cmsg as *mut u8).add(CMSG_ALIGN(cmsg_len as _) as usize) as *mut cmsghdr; |
| 120 | let max = ((*mhdr).msg_control as usize) + ((*mhdr).msg_controllen as usize); |
| 121 | |
| 122 | if cmsg_len < size_of::<cmsghdr>() as _ { |
| 123 | return ptr::null_mut(); |
| 124 | } |
| 125 | |
| 126 | if next_cmsg.add(1) as usize > max |
| 127 | || next_cmsg as usize + CMSG_ALIGN((*next_cmsg).cmsg_len as _) as usize > max |
| 128 | { |
| 129 | return ptr::null_mut(); |
| 130 | } |
| 131 | |
| 132 | next_cmsg |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | #[cfg (feature = "general" )] |
| 137 | pub mod select_macros { |
| 138 | use crate::ctypes::c_int; |
| 139 | use crate::general::__kernel_fd_set; |
| 140 | use core::mem::size_of; |
| 141 | |
| 142 | pub unsafe fn FD_CLR(fd: c_int, set: *mut __kernel_fd_set) { |
| 143 | let bytes = set as *mut u8; |
| 144 | if fd >= 0 { |
| 145 | *bytes.add((fd / 8) as usize) &= !(1 << (fd % 8)); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | pub unsafe fn FD_SET(fd: c_int, set: *mut __kernel_fd_set) { |
| 150 | let bytes = set as *mut u8; |
| 151 | if fd >= 0 { |
| 152 | *bytes.add((fd / 8) as usize) |= 1 << (fd % 8); |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | pub unsafe fn FD_ISSET(fd: c_int, set: *const __kernel_fd_set) -> bool { |
| 157 | let bytes = set as *const u8; |
| 158 | if fd >= 0 { |
| 159 | *bytes.add((fd / 8) as usize) & (1 << (fd % 8)) != 0 |
| 160 | } else { |
| 161 | false |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | pub unsafe fn FD_ZERO(set: *mut __kernel_fd_set) { |
| 166 | let bytes = set as *mut u8; |
| 167 | core::ptr::write_bytes(bytes, 0, size_of::<__kernel_fd_set>()); |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | #[cfg (feature = "general" )] |
| 172 | pub mod signal_macros { |
| 173 | pub const SIG_DFL: super::general::__kernel_sighandler_t = None; |
| 174 | |
| 175 | /// Rust doesn't currently permit us to use `transmute` to convert the |
| 176 | /// `SIG_IGN` value into a function pointer in a `const` initializer, so |
| 177 | /// we make it a function instead. |
| 178 | /// |
| 179 | #[inline ] |
| 180 | pub const fn sig_ign() -> super::general::__kernel_sighandler_t { |
| 181 | // Safety: This creates an invalid pointer, but the pointer type |
| 182 | // includes `unsafe`, which covers the safety of calling it. |
| 183 | Some(unsafe { |
| 184 | core::mem::transmute::<usize, unsafe extern "C" fn(crate::ctypes::c_int)>(src:1) |
| 185 | }) |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | #[cfg (feature = "elf" )] |
| 190 | pub mod elf; |
| 191 | |
| 192 | // The rest of this file is auto-generated! |
| 193 | #[cfg (feature = "bootparam" )] |
| 194 | #[cfg (target_arch = "arm" )] |
| 195 | #[path = "arm/bootparam.rs" ] |
| 196 | pub mod bootparam; |
| 197 | #[cfg (feature = "btrfs" )] |
| 198 | #[cfg (target_arch = "arm" )] |
| 199 | #[path = "arm/btrfs.rs" ] |
| 200 | pub mod btrfs; |
| 201 | #[cfg (feature = "elf_uapi" )] |
| 202 | #[cfg (target_arch = "arm" )] |
| 203 | #[path = "arm/elf_uapi.rs" ] |
| 204 | pub mod elf_uapi; |
| 205 | #[cfg (feature = "errno" )] |
| 206 | #[cfg (target_arch = "arm" )] |
| 207 | #[path = "arm/errno.rs" ] |
| 208 | pub mod errno; |
| 209 | #[cfg (feature = "general" )] |
| 210 | #[cfg (target_arch = "arm" )] |
| 211 | #[path = "arm/general.rs" ] |
| 212 | pub mod general; |
| 213 | #[cfg (feature = "if_arp" )] |
| 214 | #[cfg (target_arch = "arm" )] |
| 215 | #[path = "arm/if_arp.rs" ] |
| 216 | pub mod if_arp; |
| 217 | #[cfg (feature = "if_ether" )] |
| 218 | #[cfg (target_arch = "arm" )] |
| 219 | #[path = "arm/if_ether.rs" ] |
| 220 | pub mod if_ether; |
| 221 | #[cfg (feature = "if_packet" )] |
| 222 | #[cfg (target_arch = "arm" )] |
| 223 | #[path = "arm/if_packet.rs" ] |
| 224 | pub mod if_packet; |
| 225 | #[cfg (feature = "io_uring" )] |
| 226 | #[cfg (target_arch = "arm" )] |
| 227 | #[path = "arm/io_uring.rs" ] |
| 228 | pub mod io_uring; |
| 229 | #[cfg (feature = "ioctl" )] |
| 230 | #[cfg (target_arch = "arm" )] |
| 231 | #[path = "arm/ioctl.rs" ] |
| 232 | pub mod ioctl; |
| 233 | #[cfg (feature = "landlock" )] |
| 234 | #[cfg (target_arch = "arm" )] |
| 235 | #[path = "arm/landlock.rs" ] |
| 236 | pub mod landlock; |
| 237 | #[cfg (feature = "loop_device" )] |
| 238 | #[cfg (target_arch = "arm" )] |
| 239 | #[path = "arm/loop_device.rs" ] |
| 240 | pub mod loop_device; |
| 241 | #[cfg (feature = "mempolicy" )] |
| 242 | #[cfg (target_arch = "arm" )] |
| 243 | #[path = "arm/mempolicy.rs" ] |
| 244 | pub mod mempolicy; |
| 245 | #[cfg (feature = "net" )] |
| 246 | #[cfg (target_arch = "arm" )] |
| 247 | #[path = "arm/net.rs" ] |
| 248 | pub mod net; |
| 249 | #[cfg (feature = "netlink" )] |
| 250 | #[cfg (target_arch = "arm" )] |
| 251 | #[path = "arm/netlink.rs" ] |
| 252 | pub mod netlink; |
| 253 | #[cfg (feature = "prctl" )] |
| 254 | #[cfg (target_arch = "arm" )] |
| 255 | #[path = "arm/prctl.rs" ] |
| 256 | pub mod prctl; |
| 257 | #[cfg (feature = "ptrace" )] |
| 258 | #[cfg (target_arch = "arm" )] |
| 259 | #[path = "arm/ptrace.rs" ] |
| 260 | pub mod ptrace; |
| 261 | #[cfg (feature = "system" )] |
| 262 | #[cfg (target_arch = "arm" )] |
| 263 | #[path = "arm/system.rs" ] |
| 264 | pub mod system; |
| 265 | #[cfg (feature = "xdp" )] |
| 266 | #[cfg (target_arch = "arm" )] |
| 267 | #[path = "arm/xdp.rs" ] |
| 268 | pub mod xdp; |
| 269 | #[cfg (feature = "bootparam" )] |
| 270 | #[cfg (target_arch = "aarch64" )] |
| 271 | #[path = "aarch64/bootparam.rs" ] |
| 272 | pub mod bootparam; |
| 273 | #[cfg (feature = "btrfs" )] |
| 274 | #[cfg (target_arch = "aarch64" )] |
| 275 | #[path = "aarch64/btrfs.rs" ] |
| 276 | pub mod btrfs; |
| 277 | #[cfg (feature = "elf_uapi" )] |
| 278 | #[cfg (target_arch = "aarch64" )] |
| 279 | #[path = "aarch64/elf_uapi.rs" ] |
| 280 | pub mod elf_uapi; |
| 281 | #[cfg (feature = "errno" )] |
| 282 | #[cfg (target_arch = "aarch64" )] |
| 283 | #[path = "aarch64/errno.rs" ] |
| 284 | pub mod errno; |
| 285 | #[cfg (feature = "general" )] |
| 286 | #[cfg (target_arch = "aarch64" )] |
| 287 | #[path = "aarch64/general.rs" ] |
| 288 | pub mod general; |
| 289 | #[cfg (feature = "if_arp" )] |
| 290 | #[cfg (target_arch = "aarch64" )] |
| 291 | #[path = "aarch64/if_arp.rs" ] |
| 292 | pub mod if_arp; |
| 293 | #[cfg (feature = "if_ether" )] |
| 294 | #[cfg (target_arch = "aarch64" )] |
| 295 | #[path = "aarch64/if_ether.rs" ] |
| 296 | pub mod if_ether; |
| 297 | #[cfg (feature = "if_packet" )] |
| 298 | #[cfg (target_arch = "aarch64" )] |
| 299 | #[path = "aarch64/if_packet.rs" ] |
| 300 | pub mod if_packet; |
| 301 | #[cfg (feature = "io_uring" )] |
| 302 | #[cfg (target_arch = "aarch64" )] |
| 303 | #[path = "aarch64/io_uring.rs" ] |
| 304 | pub mod io_uring; |
| 305 | #[cfg (feature = "ioctl" )] |
| 306 | #[cfg (target_arch = "aarch64" )] |
| 307 | #[path = "aarch64/ioctl.rs" ] |
| 308 | pub mod ioctl; |
| 309 | #[cfg (feature = "landlock" )] |
| 310 | #[cfg (target_arch = "aarch64" )] |
| 311 | #[path = "aarch64/landlock.rs" ] |
| 312 | pub mod landlock; |
| 313 | #[cfg (feature = "loop_device" )] |
| 314 | #[cfg (target_arch = "aarch64" )] |
| 315 | #[path = "aarch64/loop_device.rs" ] |
| 316 | pub mod loop_device; |
| 317 | #[cfg (feature = "mempolicy" )] |
| 318 | #[cfg (target_arch = "aarch64" )] |
| 319 | #[path = "aarch64/mempolicy.rs" ] |
| 320 | pub mod mempolicy; |
| 321 | #[cfg (feature = "net" )] |
| 322 | #[cfg (target_arch = "aarch64" )] |
| 323 | #[path = "aarch64/net.rs" ] |
| 324 | pub mod net; |
| 325 | #[cfg (feature = "netlink" )] |
| 326 | #[cfg (target_arch = "aarch64" )] |
| 327 | #[path = "aarch64/netlink.rs" ] |
| 328 | pub mod netlink; |
| 329 | #[cfg (feature = "prctl" )] |
| 330 | #[cfg (target_arch = "aarch64" )] |
| 331 | #[path = "aarch64/prctl.rs" ] |
| 332 | pub mod prctl; |
| 333 | #[cfg (feature = "ptrace" )] |
| 334 | #[cfg (target_arch = "aarch64" )] |
| 335 | #[path = "aarch64/ptrace.rs" ] |
| 336 | pub mod ptrace; |
| 337 | #[cfg (feature = "system" )] |
| 338 | #[cfg (target_arch = "aarch64" )] |
| 339 | #[path = "aarch64/system.rs" ] |
| 340 | pub mod system; |
| 341 | #[cfg (feature = "xdp" )] |
| 342 | #[cfg (target_arch = "aarch64" )] |
| 343 | #[path = "aarch64/xdp.rs" ] |
| 344 | pub mod xdp; |
| 345 | #[cfg (feature = "bootparam" )] |
| 346 | #[cfg (target_arch = "csky" )] |
| 347 | #[path = "csky/bootparam.rs" ] |
| 348 | pub mod bootparam; |
| 349 | #[cfg (feature = "btrfs" )] |
| 350 | #[cfg (target_arch = "csky" )] |
| 351 | #[path = "csky/btrfs.rs" ] |
| 352 | pub mod btrfs; |
| 353 | #[cfg (feature = "elf_uapi" )] |
| 354 | #[cfg (target_arch = "csky" )] |
| 355 | #[path = "csky/elf_uapi.rs" ] |
| 356 | pub mod elf_uapi; |
| 357 | #[cfg (feature = "errno" )] |
| 358 | #[cfg (target_arch = "csky" )] |
| 359 | #[path = "csky/errno.rs" ] |
| 360 | pub mod errno; |
| 361 | #[cfg (feature = "general" )] |
| 362 | #[cfg (target_arch = "csky" )] |
| 363 | #[path = "csky/general.rs" ] |
| 364 | pub mod general; |
| 365 | #[cfg (feature = "if_arp" )] |
| 366 | #[cfg (target_arch = "csky" )] |
| 367 | #[path = "csky/if_arp.rs" ] |
| 368 | pub mod if_arp; |
| 369 | #[cfg (feature = "if_ether" )] |
| 370 | #[cfg (target_arch = "csky" )] |
| 371 | #[path = "csky/if_ether.rs" ] |
| 372 | pub mod if_ether; |
| 373 | #[cfg (feature = "if_packet" )] |
| 374 | #[cfg (target_arch = "csky" )] |
| 375 | #[path = "csky/if_packet.rs" ] |
| 376 | pub mod if_packet; |
| 377 | #[cfg (feature = "io_uring" )] |
| 378 | #[cfg (target_arch = "csky" )] |
| 379 | #[path = "csky/io_uring.rs" ] |
| 380 | pub mod io_uring; |
| 381 | #[cfg (feature = "ioctl" )] |
| 382 | #[cfg (target_arch = "csky" )] |
| 383 | #[path = "csky/ioctl.rs" ] |
| 384 | pub mod ioctl; |
| 385 | #[cfg (feature = "landlock" )] |
| 386 | #[cfg (target_arch = "csky" )] |
| 387 | #[path = "csky/landlock.rs" ] |
| 388 | pub mod landlock; |
| 389 | #[cfg (feature = "loop_device" )] |
| 390 | #[cfg (target_arch = "csky" )] |
| 391 | #[path = "csky/loop_device.rs" ] |
| 392 | pub mod loop_device; |
| 393 | #[cfg (feature = "mempolicy" )] |
| 394 | #[cfg (target_arch = "csky" )] |
| 395 | #[path = "csky/mempolicy.rs" ] |
| 396 | pub mod mempolicy; |
| 397 | #[cfg (feature = "net" )] |
| 398 | #[cfg (target_arch = "csky" )] |
| 399 | #[path = "csky/net.rs" ] |
| 400 | pub mod net; |
| 401 | #[cfg (feature = "netlink" )] |
| 402 | #[cfg (target_arch = "csky" )] |
| 403 | #[path = "csky/netlink.rs" ] |
| 404 | pub mod netlink; |
| 405 | #[cfg (feature = "prctl" )] |
| 406 | #[cfg (target_arch = "csky" )] |
| 407 | #[path = "csky/prctl.rs" ] |
| 408 | pub mod prctl; |
| 409 | #[cfg (feature = "ptrace" )] |
| 410 | #[cfg (target_arch = "csky" )] |
| 411 | #[path = "csky/ptrace.rs" ] |
| 412 | pub mod ptrace; |
| 413 | #[cfg (feature = "system" )] |
| 414 | #[cfg (target_arch = "csky" )] |
| 415 | #[path = "csky/system.rs" ] |
| 416 | pub mod system; |
| 417 | #[cfg (feature = "xdp" )] |
| 418 | #[cfg (target_arch = "csky" )] |
| 419 | #[path = "csky/xdp.rs" ] |
| 420 | pub mod xdp; |
| 421 | #[cfg (feature = "bootparam" )] |
| 422 | #[cfg (target_arch = "loongarch64" )] |
| 423 | #[path = "loongarch64/bootparam.rs" ] |
| 424 | pub mod bootparam; |
| 425 | #[cfg (feature = "btrfs" )] |
| 426 | #[cfg (target_arch = "loongarch64" )] |
| 427 | #[path = "loongarch64/btrfs.rs" ] |
| 428 | pub mod btrfs; |
| 429 | #[cfg (feature = "elf_uapi" )] |
| 430 | #[cfg (target_arch = "loongarch64" )] |
| 431 | #[path = "loongarch64/elf_uapi.rs" ] |
| 432 | pub mod elf_uapi; |
| 433 | #[cfg (feature = "errno" )] |
| 434 | #[cfg (target_arch = "loongarch64" )] |
| 435 | #[path = "loongarch64/errno.rs" ] |
| 436 | pub mod errno; |
| 437 | #[cfg (feature = "general" )] |
| 438 | #[cfg (target_arch = "loongarch64" )] |
| 439 | #[path = "loongarch64/general.rs" ] |
| 440 | pub mod general; |
| 441 | #[cfg (feature = "if_arp" )] |
| 442 | #[cfg (target_arch = "loongarch64" )] |
| 443 | #[path = "loongarch64/if_arp.rs" ] |
| 444 | pub mod if_arp; |
| 445 | #[cfg (feature = "if_ether" )] |
| 446 | #[cfg (target_arch = "loongarch64" )] |
| 447 | #[path = "loongarch64/if_ether.rs" ] |
| 448 | pub mod if_ether; |
| 449 | #[cfg (feature = "if_packet" )] |
| 450 | #[cfg (target_arch = "loongarch64" )] |
| 451 | #[path = "loongarch64/if_packet.rs" ] |
| 452 | pub mod if_packet; |
| 453 | #[cfg (feature = "io_uring" )] |
| 454 | #[cfg (target_arch = "loongarch64" )] |
| 455 | #[path = "loongarch64/io_uring.rs" ] |
| 456 | pub mod io_uring; |
| 457 | #[cfg (feature = "ioctl" )] |
| 458 | #[cfg (target_arch = "loongarch64" )] |
| 459 | #[path = "loongarch64/ioctl.rs" ] |
| 460 | pub mod ioctl; |
| 461 | #[cfg (feature = "landlock" )] |
| 462 | #[cfg (target_arch = "loongarch64" )] |
| 463 | #[path = "loongarch64/landlock.rs" ] |
| 464 | pub mod landlock; |
| 465 | #[cfg (feature = "loop_device" )] |
| 466 | #[cfg (target_arch = "loongarch64" )] |
| 467 | #[path = "loongarch64/loop_device.rs" ] |
| 468 | pub mod loop_device; |
| 469 | #[cfg (feature = "mempolicy" )] |
| 470 | #[cfg (target_arch = "loongarch64" )] |
| 471 | #[path = "loongarch64/mempolicy.rs" ] |
| 472 | pub mod mempolicy; |
| 473 | #[cfg (feature = "net" )] |
| 474 | #[cfg (target_arch = "loongarch64" )] |
| 475 | #[path = "loongarch64/net.rs" ] |
| 476 | pub mod net; |
| 477 | #[cfg (feature = "netlink" )] |
| 478 | #[cfg (target_arch = "loongarch64" )] |
| 479 | #[path = "loongarch64/netlink.rs" ] |
| 480 | pub mod netlink; |
| 481 | #[cfg (feature = "prctl" )] |
| 482 | #[cfg (target_arch = "loongarch64" )] |
| 483 | #[path = "loongarch64/prctl.rs" ] |
| 484 | pub mod prctl; |
| 485 | #[cfg (feature = "ptrace" )] |
| 486 | #[cfg (target_arch = "loongarch64" )] |
| 487 | #[path = "loongarch64/ptrace.rs" ] |
| 488 | pub mod ptrace; |
| 489 | #[cfg (feature = "system" )] |
| 490 | #[cfg (target_arch = "loongarch64" )] |
| 491 | #[path = "loongarch64/system.rs" ] |
| 492 | pub mod system; |
| 493 | #[cfg (feature = "xdp" )] |
| 494 | #[cfg (target_arch = "loongarch64" )] |
| 495 | #[path = "loongarch64/xdp.rs" ] |
| 496 | pub mod xdp; |
| 497 | #[cfg (feature = "bootparam" )] |
| 498 | #[cfg (target_arch = "mips" )] |
| 499 | #[path = "mips/bootparam.rs" ] |
| 500 | pub mod bootparam; |
| 501 | #[cfg (feature = "btrfs" )] |
| 502 | #[cfg (target_arch = "mips" )] |
| 503 | #[path = "mips/btrfs.rs" ] |
| 504 | pub mod btrfs; |
| 505 | #[cfg (feature = "elf_uapi" )] |
| 506 | #[cfg (target_arch = "mips" )] |
| 507 | #[path = "mips/elf_uapi.rs" ] |
| 508 | pub mod elf_uapi; |
| 509 | #[cfg (feature = "errno" )] |
| 510 | #[cfg (target_arch = "mips" )] |
| 511 | #[path = "mips/errno.rs" ] |
| 512 | pub mod errno; |
| 513 | #[cfg (feature = "general" )] |
| 514 | #[cfg (target_arch = "mips" )] |
| 515 | #[path = "mips/general.rs" ] |
| 516 | pub mod general; |
| 517 | #[cfg (feature = "if_arp" )] |
| 518 | #[cfg (target_arch = "mips" )] |
| 519 | #[path = "mips/if_arp.rs" ] |
| 520 | pub mod if_arp; |
| 521 | #[cfg (feature = "if_ether" )] |
| 522 | #[cfg (target_arch = "mips" )] |
| 523 | #[path = "mips/if_ether.rs" ] |
| 524 | pub mod if_ether; |
| 525 | #[cfg (feature = "if_packet" )] |
| 526 | #[cfg (target_arch = "mips" )] |
| 527 | #[path = "mips/if_packet.rs" ] |
| 528 | pub mod if_packet; |
| 529 | #[cfg (feature = "io_uring" )] |
| 530 | #[cfg (target_arch = "mips" )] |
| 531 | #[path = "mips/io_uring.rs" ] |
| 532 | pub mod io_uring; |
| 533 | #[cfg (feature = "ioctl" )] |
| 534 | #[cfg (target_arch = "mips" )] |
| 535 | #[path = "mips/ioctl.rs" ] |
| 536 | pub mod ioctl; |
| 537 | #[cfg (feature = "landlock" )] |
| 538 | #[cfg (target_arch = "mips" )] |
| 539 | #[path = "mips/landlock.rs" ] |
| 540 | pub mod landlock; |
| 541 | #[cfg (feature = "loop_device" )] |
| 542 | #[cfg (target_arch = "mips" )] |
| 543 | #[path = "mips/loop_device.rs" ] |
| 544 | pub mod loop_device; |
| 545 | #[cfg (feature = "mempolicy" )] |
| 546 | #[cfg (target_arch = "mips" )] |
| 547 | #[path = "mips/mempolicy.rs" ] |
| 548 | pub mod mempolicy; |
| 549 | #[cfg (feature = "net" )] |
| 550 | #[cfg (target_arch = "mips" )] |
| 551 | #[path = "mips/net.rs" ] |
| 552 | pub mod net; |
| 553 | #[cfg (feature = "netlink" )] |
| 554 | #[cfg (target_arch = "mips" )] |
| 555 | #[path = "mips/netlink.rs" ] |
| 556 | pub mod netlink; |
| 557 | #[cfg (feature = "prctl" )] |
| 558 | #[cfg (target_arch = "mips" )] |
| 559 | #[path = "mips/prctl.rs" ] |
| 560 | pub mod prctl; |
| 561 | #[cfg (feature = "ptrace" )] |
| 562 | #[cfg (target_arch = "mips" )] |
| 563 | #[path = "mips/ptrace.rs" ] |
| 564 | pub mod ptrace; |
| 565 | #[cfg (feature = "system" )] |
| 566 | #[cfg (target_arch = "mips" )] |
| 567 | #[path = "mips/system.rs" ] |
| 568 | pub mod system; |
| 569 | #[cfg (feature = "xdp" )] |
| 570 | #[cfg (target_arch = "mips" )] |
| 571 | #[path = "mips/xdp.rs" ] |
| 572 | pub mod xdp; |
| 573 | #[cfg (feature = "bootparam" )] |
| 574 | #[cfg (target_arch = "mips64" )] |
| 575 | #[path = "mips64/bootparam.rs" ] |
| 576 | pub mod bootparam; |
| 577 | #[cfg (feature = "btrfs" )] |
| 578 | #[cfg (target_arch = "mips64" )] |
| 579 | #[path = "mips64/btrfs.rs" ] |
| 580 | pub mod btrfs; |
| 581 | #[cfg (feature = "elf_uapi" )] |
| 582 | #[cfg (target_arch = "mips64" )] |
| 583 | #[path = "mips64/elf_uapi.rs" ] |
| 584 | pub mod elf_uapi; |
| 585 | #[cfg (feature = "errno" )] |
| 586 | #[cfg (target_arch = "mips64" )] |
| 587 | #[path = "mips64/errno.rs" ] |
| 588 | pub mod errno; |
| 589 | #[cfg (feature = "general" )] |
| 590 | #[cfg (target_arch = "mips64" )] |
| 591 | #[path = "mips64/general.rs" ] |
| 592 | pub mod general; |
| 593 | #[cfg (feature = "if_arp" )] |
| 594 | #[cfg (target_arch = "mips64" )] |
| 595 | #[path = "mips64/if_arp.rs" ] |
| 596 | pub mod if_arp; |
| 597 | #[cfg (feature = "if_ether" )] |
| 598 | #[cfg (target_arch = "mips64" )] |
| 599 | #[path = "mips64/if_ether.rs" ] |
| 600 | pub mod if_ether; |
| 601 | #[cfg (feature = "if_packet" )] |
| 602 | #[cfg (target_arch = "mips64" )] |
| 603 | #[path = "mips64/if_packet.rs" ] |
| 604 | pub mod if_packet; |
| 605 | #[cfg (feature = "io_uring" )] |
| 606 | #[cfg (target_arch = "mips64" )] |
| 607 | #[path = "mips64/io_uring.rs" ] |
| 608 | pub mod io_uring; |
| 609 | #[cfg (feature = "ioctl" )] |
| 610 | #[cfg (target_arch = "mips64" )] |
| 611 | #[path = "mips64/ioctl.rs" ] |
| 612 | pub mod ioctl; |
| 613 | #[cfg (feature = "landlock" )] |
| 614 | #[cfg (target_arch = "mips64" )] |
| 615 | #[path = "mips64/landlock.rs" ] |
| 616 | pub mod landlock; |
| 617 | #[cfg (feature = "loop_device" )] |
| 618 | #[cfg (target_arch = "mips64" )] |
| 619 | #[path = "mips64/loop_device.rs" ] |
| 620 | pub mod loop_device; |
| 621 | #[cfg (feature = "mempolicy" )] |
| 622 | #[cfg (target_arch = "mips64" )] |
| 623 | #[path = "mips64/mempolicy.rs" ] |
| 624 | pub mod mempolicy; |
| 625 | #[cfg (feature = "net" )] |
| 626 | #[cfg (target_arch = "mips64" )] |
| 627 | #[path = "mips64/net.rs" ] |
| 628 | pub mod net; |
| 629 | #[cfg (feature = "netlink" )] |
| 630 | #[cfg (target_arch = "mips64" )] |
| 631 | #[path = "mips64/netlink.rs" ] |
| 632 | pub mod netlink; |
| 633 | #[cfg (feature = "prctl" )] |
| 634 | #[cfg (target_arch = "mips64" )] |
| 635 | #[path = "mips64/prctl.rs" ] |
| 636 | pub mod prctl; |
| 637 | #[cfg (feature = "ptrace" )] |
| 638 | #[cfg (target_arch = "mips64" )] |
| 639 | #[path = "mips64/ptrace.rs" ] |
| 640 | pub mod ptrace; |
| 641 | #[cfg (feature = "system" )] |
| 642 | #[cfg (target_arch = "mips64" )] |
| 643 | #[path = "mips64/system.rs" ] |
| 644 | pub mod system; |
| 645 | #[cfg (feature = "xdp" )] |
| 646 | #[cfg (target_arch = "mips64" )] |
| 647 | #[path = "mips64/xdp.rs" ] |
| 648 | pub mod xdp; |
| 649 | #[cfg (feature = "bootparam" )] |
| 650 | #[cfg (target_arch = "mips32r6" )] |
| 651 | #[path = "mips32r6/bootparam.rs" ] |
| 652 | pub mod bootparam; |
| 653 | #[cfg (feature = "btrfs" )] |
| 654 | #[cfg (target_arch = "mips32r6" )] |
| 655 | #[path = "mips32r6/btrfs.rs" ] |
| 656 | pub mod btrfs; |
| 657 | #[cfg (feature = "elf_uapi" )] |
| 658 | #[cfg (target_arch = "mips32r6" )] |
| 659 | #[path = "mips32r6/elf_uapi.rs" ] |
| 660 | pub mod elf_uapi; |
| 661 | #[cfg (feature = "errno" )] |
| 662 | #[cfg (target_arch = "mips32r6" )] |
| 663 | #[path = "mips32r6/errno.rs" ] |
| 664 | pub mod errno; |
| 665 | #[cfg (feature = "general" )] |
| 666 | #[cfg (target_arch = "mips32r6" )] |
| 667 | #[path = "mips32r6/general.rs" ] |
| 668 | pub mod general; |
| 669 | #[cfg (feature = "if_arp" )] |
| 670 | #[cfg (target_arch = "mips32r6" )] |
| 671 | #[path = "mips32r6/if_arp.rs" ] |
| 672 | pub mod if_arp; |
| 673 | #[cfg (feature = "if_ether" )] |
| 674 | #[cfg (target_arch = "mips32r6" )] |
| 675 | #[path = "mips32r6/if_ether.rs" ] |
| 676 | pub mod if_ether; |
| 677 | #[cfg (feature = "if_packet" )] |
| 678 | #[cfg (target_arch = "mips32r6" )] |
| 679 | #[path = "mips32r6/if_packet.rs" ] |
| 680 | pub mod if_packet; |
| 681 | #[cfg (feature = "io_uring" )] |
| 682 | #[cfg (target_arch = "mips32r6" )] |
| 683 | #[path = "mips32r6/io_uring.rs" ] |
| 684 | pub mod io_uring; |
| 685 | #[cfg (feature = "ioctl" )] |
| 686 | #[cfg (target_arch = "mips32r6" )] |
| 687 | #[path = "mips32r6/ioctl.rs" ] |
| 688 | pub mod ioctl; |
| 689 | #[cfg (feature = "landlock" )] |
| 690 | #[cfg (target_arch = "mips32r6" )] |
| 691 | #[path = "mips32r6/landlock.rs" ] |
| 692 | pub mod landlock; |
| 693 | #[cfg (feature = "loop_device" )] |
| 694 | #[cfg (target_arch = "mips32r6" )] |
| 695 | #[path = "mips32r6/loop_device.rs" ] |
| 696 | pub mod loop_device; |
| 697 | #[cfg (feature = "mempolicy" )] |
| 698 | #[cfg (target_arch = "mips32r6" )] |
| 699 | #[path = "mips32r6/mempolicy.rs" ] |
| 700 | pub mod mempolicy; |
| 701 | #[cfg (feature = "net" )] |
| 702 | #[cfg (target_arch = "mips32r6" )] |
| 703 | #[path = "mips32r6/net.rs" ] |
| 704 | pub mod net; |
| 705 | #[cfg (feature = "netlink" )] |
| 706 | #[cfg (target_arch = "mips32r6" )] |
| 707 | #[path = "mips32r6/netlink.rs" ] |
| 708 | pub mod netlink; |
| 709 | #[cfg (feature = "prctl" )] |
| 710 | #[cfg (target_arch = "mips32r6" )] |
| 711 | #[path = "mips32r6/prctl.rs" ] |
| 712 | pub mod prctl; |
| 713 | #[cfg (feature = "ptrace" )] |
| 714 | #[cfg (target_arch = "mips32r6" )] |
| 715 | #[path = "mips32r6/ptrace.rs" ] |
| 716 | pub mod ptrace; |
| 717 | #[cfg (feature = "system" )] |
| 718 | #[cfg (target_arch = "mips32r6" )] |
| 719 | #[path = "mips32r6/system.rs" ] |
| 720 | pub mod system; |
| 721 | #[cfg (feature = "xdp" )] |
| 722 | #[cfg (target_arch = "mips32r6" )] |
| 723 | #[path = "mips32r6/xdp.rs" ] |
| 724 | pub mod xdp; |
| 725 | #[cfg (feature = "bootparam" )] |
| 726 | #[cfg (target_arch = "mips64r6" )] |
| 727 | #[path = "mips64r6/bootparam.rs" ] |
| 728 | pub mod bootparam; |
| 729 | #[cfg (feature = "btrfs" )] |
| 730 | #[cfg (target_arch = "mips64r6" )] |
| 731 | #[path = "mips64r6/btrfs.rs" ] |
| 732 | pub mod btrfs; |
| 733 | #[cfg (feature = "elf_uapi" )] |
| 734 | #[cfg (target_arch = "mips64r6" )] |
| 735 | #[path = "mips64r6/elf_uapi.rs" ] |
| 736 | pub mod elf_uapi; |
| 737 | #[cfg (feature = "errno" )] |
| 738 | #[cfg (target_arch = "mips64r6" )] |
| 739 | #[path = "mips64r6/errno.rs" ] |
| 740 | pub mod errno; |
| 741 | #[cfg (feature = "general" )] |
| 742 | #[cfg (target_arch = "mips64r6" )] |
| 743 | #[path = "mips64r6/general.rs" ] |
| 744 | pub mod general; |
| 745 | #[cfg (feature = "if_arp" )] |
| 746 | #[cfg (target_arch = "mips64r6" )] |
| 747 | #[path = "mips64r6/if_arp.rs" ] |
| 748 | pub mod if_arp; |
| 749 | #[cfg (feature = "if_ether" )] |
| 750 | #[cfg (target_arch = "mips64r6" )] |
| 751 | #[path = "mips64r6/if_ether.rs" ] |
| 752 | pub mod if_ether; |
| 753 | #[cfg (feature = "if_packet" )] |
| 754 | #[cfg (target_arch = "mips64r6" )] |
| 755 | #[path = "mips64r6/if_packet.rs" ] |
| 756 | pub mod if_packet; |
| 757 | #[cfg (feature = "io_uring" )] |
| 758 | #[cfg (target_arch = "mips64r6" )] |
| 759 | #[path = "mips64r6/io_uring.rs" ] |
| 760 | pub mod io_uring; |
| 761 | #[cfg (feature = "ioctl" )] |
| 762 | #[cfg (target_arch = "mips64r6" )] |
| 763 | #[path = "mips64r6/ioctl.rs" ] |
| 764 | pub mod ioctl; |
| 765 | #[cfg (feature = "landlock" )] |
| 766 | #[cfg (target_arch = "mips64r6" )] |
| 767 | #[path = "mips64r6/landlock.rs" ] |
| 768 | pub mod landlock; |
| 769 | #[cfg (feature = "loop_device" )] |
| 770 | #[cfg (target_arch = "mips64r6" )] |
| 771 | #[path = "mips64r6/loop_device.rs" ] |
| 772 | pub mod loop_device; |
| 773 | #[cfg (feature = "mempolicy" )] |
| 774 | #[cfg (target_arch = "mips64r6" )] |
| 775 | #[path = "mips64r6/mempolicy.rs" ] |
| 776 | pub mod mempolicy; |
| 777 | #[cfg (feature = "net" )] |
| 778 | #[cfg (target_arch = "mips64r6" )] |
| 779 | #[path = "mips64r6/net.rs" ] |
| 780 | pub mod net; |
| 781 | #[cfg (feature = "netlink" )] |
| 782 | #[cfg (target_arch = "mips64r6" )] |
| 783 | #[path = "mips64r6/netlink.rs" ] |
| 784 | pub mod netlink; |
| 785 | #[cfg (feature = "prctl" )] |
| 786 | #[cfg (target_arch = "mips64r6" )] |
| 787 | #[path = "mips64r6/prctl.rs" ] |
| 788 | pub mod prctl; |
| 789 | #[cfg (feature = "ptrace" )] |
| 790 | #[cfg (target_arch = "mips64r6" )] |
| 791 | #[path = "mips64r6/ptrace.rs" ] |
| 792 | pub mod ptrace; |
| 793 | #[cfg (feature = "system" )] |
| 794 | #[cfg (target_arch = "mips64r6" )] |
| 795 | #[path = "mips64r6/system.rs" ] |
| 796 | pub mod system; |
| 797 | #[cfg (feature = "xdp" )] |
| 798 | #[cfg (target_arch = "mips64r6" )] |
| 799 | #[path = "mips64r6/xdp.rs" ] |
| 800 | pub mod xdp; |
| 801 | #[cfg (feature = "bootparam" )] |
| 802 | #[cfg (target_arch = "powerpc" )] |
| 803 | #[path = "powerpc/bootparam.rs" ] |
| 804 | pub mod bootparam; |
| 805 | #[cfg (feature = "btrfs" )] |
| 806 | #[cfg (target_arch = "powerpc" )] |
| 807 | #[path = "powerpc/btrfs.rs" ] |
| 808 | pub mod btrfs; |
| 809 | #[cfg (feature = "elf_uapi" )] |
| 810 | #[cfg (target_arch = "powerpc" )] |
| 811 | #[path = "powerpc/elf_uapi.rs" ] |
| 812 | pub mod elf_uapi; |
| 813 | #[cfg (feature = "errno" )] |
| 814 | #[cfg (target_arch = "powerpc" )] |
| 815 | #[path = "powerpc/errno.rs" ] |
| 816 | pub mod errno; |
| 817 | #[cfg (feature = "general" )] |
| 818 | #[cfg (target_arch = "powerpc" )] |
| 819 | #[path = "powerpc/general.rs" ] |
| 820 | pub mod general; |
| 821 | #[cfg (feature = "if_arp" )] |
| 822 | #[cfg (target_arch = "powerpc" )] |
| 823 | #[path = "powerpc/if_arp.rs" ] |
| 824 | pub mod if_arp; |
| 825 | #[cfg (feature = "if_ether" )] |
| 826 | #[cfg (target_arch = "powerpc" )] |
| 827 | #[path = "powerpc/if_ether.rs" ] |
| 828 | pub mod if_ether; |
| 829 | #[cfg (feature = "if_packet" )] |
| 830 | #[cfg (target_arch = "powerpc" )] |
| 831 | #[path = "powerpc/if_packet.rs" ] |
| 832 | pub mod if_packet; |
| 833 | #[cfg (feature = "io_uring" )] |
| 834 | #[cfg (target_arch = "powerpc" )] |
| 835 | #[path = "powerpc/io_uring.rs" ] |
| 836 | pub mod io_uring; |
| 837 | #[cfg (feature = "ioctl" )] |
| 838 | #[cfg (target_arch = "powerpc" )] |
| 839 | #[path = "powerpc/ioctl.rs" ] |
| 840 | pub mod ioctl; |
| 841 | #[cfg (feature = "landlock" )] |
| 842 | #[cfg (target_arch = "powerpc" )] |
| 843 | #[path = "powerpc/landlock.rs" ] |
| 844 | pub mod landlock; |
| 845 | #[cfg (feature = "loop_device" )] |
| 846 | #[cfg (target_arch = "powerpc" )] |
| 847 | #[path = "powerpc/loop_device.rs" ] |
| 848 | pub mod loop_device; |
| 849 | #[cfg (feature = "mempolicy" )] |
| 850 | #[cfg (target_arch = "powerpc" )] |
| 851 | #[path = "powerpc/mempolicy.rs" ] |
| 852 | pub mod mempolicy; |
| 853 | #[cfg (feature = "net" )] |
| 854 | #[cfg (target_arch = "powerpc" )] |
| 855 | #[path = "powerpc/net.rs" ] |
| 856 | pub mod net; |
| 857 | #[cfg (feature = "netlink" )] |
| 858 | #[cfg (target_arch = "powerpc" )] |
| 859 | #[path = "powerpc/netlink.rs" ] |
| 860 | pub mod netlink; |
| 861 | #[cfg (feature = "prctl" )] |
| 862 | #[cfg (target_arch = "powerpc" )] |
| 863 | #[path = "powerpc/prctl.rs" ] |
| 864 | pub mod prctl; |
| 865 | #[cfg (feature = "ptrace" )] |
| 866 | #[cfg (target_arch = "powerpc" )] |
| 867 | #[path = "powerpc/ptrace.rs" ] |
| 868 | pub mod ptrace; |
| 869 | #[cfg (feature = "system" )] |
| 870 | #[cfg (target_arch = "powerpc" )] |
| 871 | #[path = "powerpc/system.rs" ] |
| 872 | pub mod system; |
| 873 | #[cfg (feature = "xdp" )] |
| 874 | #[cfg (target_arch = "powerpc" )] |
| 875 | #[path = "powerpc/xdp.rs" ] |
| 876 | pub mod xdp; |
| 877 | #[cfg (feature = "bootparam" )] |
| 878 | #[cfg (target_arch = "powerpc64" )] |
| 879 | #[path = "powerpc64/bootparam.rs" ] |
| 880 | pub mod bootparam; |
| 881 | #[cfg (feature = "btrfs" )] |
| 882 | #[cfg (target_arch = "powerpc64" )] |
| 883 | #[path = "powerpc64/btrfs.rs" ] |
| 884 | pub mod btrfs; |
| 885 | #[cfg (feature = "elf_uapi" )] |
| 886 | #[cfg (target_arch = "powerpc64" )] |
| 887 | #[path = "powerpc64/elf_uapi.rs" ] |
| 888 | pub mod elf_uapi; |
| 889 | #[cfg (feature = "errno" )] |
| 890 | #[cfg (target_arch = "powerpc64" )] |
| 891 | #[path = "powerpc64/errno.rs" ] |
| 892 | pub mod errno; |
| 893 | #[cfg (feature = "general" )] |
| 894 | #[cfg (target_arch = "powerpc64" )] |
| 895 | #[path = "powerpc64/general.rs" ] |
| 896 | pub mod general; |
| 897 | #[cfg (feature = "if_arp" )] |
| 898 | #[cfg (target_arch = "powerpc64" )] |
| 899 | #[path = "powerpc64/if_arp.rs" ] |
| 900 | pub mod if_arp; |
| 901 | #[cfg (feature = "if_ether" )] |
| 902 | #[cfg (target_arch = "powerpc64" )] |
| 903 | #[path = "powerpc64/if_ether.rs" ] |
| 904 | pub mod if_ether; |
| 905 | #[cfg (feature = "if_packet" )] |
| 906 | #[cfg (target_arch = "powerpc64" )] |
| 907 | #[path = "powerpc64/if_packet.rs" ] |
| 908 | pub mod if_packet; |
| 909 | #[cfg (feature = "io_uring" )] |
| 910 | #[cfg (target_arch = "powerpc64" )] |
| 911 | #[path = "powerpc64/io_uring.rs" ] |
| 912 | pub mod io_uring; |
| 913 | #[cfg (feature = "ioctl" )] |
| 914 | #[cfg (target_arch = "powerpc64" )] |
| 915 | #[path = "powerpc64/ioctl.rs" ] |
| 916 | pub mod ioctl; |
| 917 | #[cfg (feature = "landlock" )] |
| 918 | #[cfg (target_arch = "powerpc64" )] |
| 919 | #[path = "powerpc64/landlock.rs" ] |
| 920 | pub mod landlock; |
| 921 | #[cfg (feature = "loop_device" )] |
| 922 | #[cfg (target_arch = "powerpc64" )] |
| 923 | #[path = "powerpc64/loop_device.rs" ] |
| 924 | pub mod loop_device; |
| 925 | #[cfg (feature = "mempolicy" )] |
| 926 | #[cfg (target_arch = "powerpc64" )] |
| 927 | #[path = "powerpc64/mempolicy.rs" ] |
| 928 | pub mod mempolicy; |
| 929 | #[cfg (feature = "net" )] |
| 930 | #[cfg (target_arch = "powerpc64" )] |
| 931 | #[path = "powerpc64/net.rs" ] |
| 932 | pub mod net; |
| 933 | #[cfg (feature = "netlink" )] |
| 934 | #[cfg (target_arch = "powerpc64" )] |
| 935 | #[path = "powerpc64/netlink.rs" ] |
| 936 | pub mod netlink; |
| 937 | #[cfg (feature = "prctl" )] |
| 938 | #[cfg (target_arch = "powerpc64" )] |
| 939 | #[path = "powerpc64/prctl.rs" ] |
| 940 | pub mod prctl; |
| 941 | #[cfg (feature = "ptrace" )] |
| 942 | #[cfg (target_arch = "powerpc64" )] |
| 943 | #[path = "powerpc64/ptrace.rs" ] |
| 944 | pub mod ptrace; |
| 945 | #[cfg (feature = "system" )] |
| 946 | #[cfg (target_arch = "powerpc64" )] |
| 947 | #[path = "powerpc64/system.rs" ] |
| 948 | pub mod system; |
| 949 | #[cfg (feature = "xdp" )] |
| 950 | #[cfg (target_arch = "powerpc64" )] |
| 951 | #[path = "powerpc64/xdp.rs" ] |
| 952 | pub mod xdp; |
| 953 | #[cfg (feature = "bootparam" )] |
| 954 | #[cfg (target_arch = "riscv32" )] |
| 955 | #[path = "riscv32/bootparam.rs" ] |
| 956 | pub mod bootparam; |
| 957 | #[cfg (feature = "btrfs" )] |
| 958 | #[cfg (target_arch = "riscv32" )] |
| 959 | #[path = "riscv32/btrfs.rs" ] |
| 960 | pub mod btrfs; |
| 961 | #[cfg (feature = "elf_uapi" )] |
| 962 | #[cfg (target_arch = "riscv32" )] |
| 963 | #[path = "riscv32/elf_uapi.rs" ] |
| 964 | pub mod elf_uapi; |
| 965 | #[cfg (feature = "errno" )] |
| 966 | #[cfg (target_arch = "riscv32" )] |
| 967 | #[path = "riscv32/errno.rs" ] |
| 968 | pub mod errno; |
| 969 | #[cfg (feature = "general" )] |
| 970 | #[cfg (target_arch = "riscv32" )] |
| 971 | #[path = "riscv32/general.rs" ] |
| 972 | pub mod general; |
| 973 | #[cfg (feature = "if_arp" )] |
| 974 | #[cfg (target_arch = "riscv32" )] |
| 975 | #[path = "riscv32/if_arp.rs" ] |
| 976 | pub mod if_arp; |
| 977 | #[cfg (feature = "if_ether" )] |
| 978 | #[cfg (target_arch = "riscv32" )] |
| 979 | #[path = "riscv32/if_ether.rs" ] |
| 980 | pub mod if_ether; |
| 981 | #[cfg (feature = "if_packet" )] |
| 982 | #[cfg (target_arch = "riscv32" )] |
| 983 | #[path = "riscv32/if_packet.rs" ] |
| 984 | pub mod if_packet; |
| 985 | #[cfg (feature = "io_uring" )] |
| 986 | #[cfg (target_arch = "riscv32" )] |
| 987 | #[path = "riscv32/io_uring.rs" ] |
| 988 | pub mod io_uring; |
| 989 | #[cfg (feature = "ioctl" )] |
| 990 | #[cfg (target_arch = "riscv32" )] |
| 991 | #[path = "riscv32/ioctl.rs" ] |
| 992 | pub mod ioctl; |
| 993 | #[cfg (feature = "landlock" )] |
| 994 | #[cfg (target_arch = "riscv32" )] |
| 995 | #[path = "riscv32/landlock.rs" ] |
| 996 | pub mod landlock; |
| 997 | #[cfg (feature = "loop_device" )] |
| 998 | #[cfg (target_arch = "riscv32" )] |
| 999 | #[path = "riscv32/loop_device.rs" ] |
| 1000 | pub mod loop_device; |
| 1001 | #[cfg (feature = "mempolicy" )] |
| 1002 | #[cfg (target_arch = "riscv32" )] |
| 1003 | #[path = "riscv32/mempolicy.rs" ] |
| 1004 | pub mod mempolicy; |
| 1005 | #[cfg (feature = "net" )] |
| 1006 | #[cfg (target_arch = "riscv32" )] |
| 1007 | #[path = "riscv32/net.rs" ] |
| 1008 | pub mod net; |
| 1009 | #[cfg (feature = "netlink" )] |
| 1010 | #[cfg (target_arch = "riscv32" )] |
| 1011 | #[path = "riscv32/netlink.rs" ] |
| 1012 | pub mod netlink; |
| 1013 | #[cfg (feature = "prctl" )] |
| 1014 | #[cfg (target_arch = "riscv32" )] |
| 1015 | #[path = "riscv32/prctl.rs" ] |
| 1016 | pub mod prctl; |
| 1017 | #[cfg (feature = "ptrace" )] |
| 1018 | #[cfg (target_arch = "riscv32" )] |
| 1019 | #[path = "riscv32/ptrace.rs" ] |
| 1020 | pub mod ptrace; |
| 1021 | #[cfg (feature = "system" )] |
| 1022 | #[cfg (target_arch = "riscv32" )] |
| 1023 | #[path = "riscv32/system.rs" ] |
| 1024 | pub mod system; |
| 1025 | #[cfg (feature = "xdp" )] |
| 1026 | #[cfg (target_arch = "riscv32" )] |
| 1027 | #[path = "riscv32/xdp.rs" ] |
| 1028 | pub mod xdp; |
| 1029 | #[cfg (feature = "bootparam" )] |
| 1030 | #[cfg (target_arch = "riscv64" )] |
| 1031 | #[path = "riscv64/bootparam.rs" ] |
| 1032 | pub mod bootparam; |
| 1033 | #[cfg (feature = "btrfs" )] |
| 1034 | #[cfg (target_arch = "riscv64" )] |
| 1035 | #[path = "riscv64/btrfs.rs" ] |
| 1036 | pub mod btrfs; |
| 1037 | #[cfg (feature = "elf_uapi" )] |
| 1038 | #[cfg (target_arch = "riscv64" )] |
| 1039 | #[path = "riscv64/elf_uapi.rs" ] |
| 1040 | pub mod elf_uapi; |
| 1041 | #[cfg (feature = "errno" )] |
| 1042 | #[cfg (target_arch = "riscv64" )] |
| 1043 | #[path = "riscv64/errno.rs" ] |
| 1044 | pub mod errno; |
| 1045 | #[cfg (feature = "general" )] |
| 1046 | #[cfg (target_arch = "riscv64" )] |
| 1047 | #[path = "riscv64/general.rs" ] |
| 1048 | pub mod general; |
| 1049 | #[cfg (feature = "if_arp" )] |
| 1050 | #[cfg (target_arch = "riscv64" )] |
| 1051 | #[path = "riscv64/if_arp.rs" ] |
| 1052 | pub mod if_arp; |
| 1053 | #[cfg (feature = "if_ether" )] |
| 1054 | #[cfg (target_arch = "riscv64" )] |
| 1055 | #[path = "riscv64/if_ether.rs" ] |
| 1056 | pub mod if_ether; |
| 1057 | #[cfg (feature = "if_packet" )] |
| 1058 | #[cfg (target_arch = "riscv64" )] |
| 1059 | #[path = "riscv64/if_packet.rs" ] |
| 1060 | pub mod if_packet; |
| 1061 | #[cfg (feature = "io_uring" )] |
| 1062 | #[cfg (target_arch = "riscv64" )] |
| 1063 | #[path = "riscv64/io_uring.rs" ] |
| 1064 | pub mod io_uring; |
| 1065 | #[cfg (feature = "ioctl" )] |
| 1066 | #[cfg (target_arch = "riscv64" )] |
| 1067 | #[path = "riscv64/ioctl.rs" ] |
| 1068 | pub mod ioctl; |
| 1069 | #[cfg (feature = "landlock" )] |
| 1070 | #[cfg (target_arch = "riscv64" )] |
| 1071 | #[path = "riscv64/landlock.rs" ] |
| 1072 | pub mod landlock; |
| 1073 | #[cfg (feature = "loop_device" )] |
| 1074 | #[cfg (target_arch = "riscv64" )] |
| 1075 | #[path = "riscv64/loop_device.rs" ] |
| 1076 | pub mod loop_device; |
| 1077 | #[cfg (feature = "mempolicy" )] |
| 1078 | #[cfg (target_arch = "riscv64" )] |
| 1079 | #[path = "riscv64/mempolicy.rs" ] |
| 1080 | pub mod mempolicy; |
| 1081 | #[cfg (feature = "net" )] |
| 1082 | #[cfg (target_arch = "riscv64" )] |
| 1083 | #[path = "riscv64/net.rs" ] |
| 1084 | pub mod net; |
| 1085 | #[cfg (feature = "netlink" )] |
| 1086 | #[cfg (target_arch = "riscv64" )] |
| 1087 | #[path = "riscv64/netlink.rs" ] |
| 1088 | pub mod netlink; |
| 1089 | #[cfg (feature = "prctl" )] |
| 1090 | #[cfg (target_arch = "riscv64" )] |
| 1091 | #[path = "riscv64/prctl.rs" ] |
| 1092 | pub mod prctl; |
| 1093 | #[cfg (feature = "ptrace" )] |
| 1094 | #[cfg (target_arch = "riscv64" )] |
| 1095 | #[path = "riscv64/ptrace.rs" ] |
| 1096 | pub mod ptrace; |
| 1097 | #[cfg (feature = "system" )] |
| 1098 | #[cfg (target_arch = "riscv64" )] |
| 1099 | #[path = "riscv64/system.rs" ] |
| 1100 | pub mod system; |
| 1101 | #[cfg (feature = "xdp" )] |
| 1102 | #[cfg (target_arch = "riscv64" )] |
| 1103 | #[path = "riscv64/xdp.rs" ] |
| 1104 | pub mod xdp; |
| 1105 | #[cfg (feature = "bootparam" )] |
| 1106 | #[cfg (target_arch = "s390x" )] |
| 1107 | #[path = "s390x/bootparam.rs" ] |
| 1108 | pub mod bootparam; |
| 1109 | #[cfg (feature = "btrfs" )] |
| 1110 | #[cfg (target_arch = "s390x" )] |
| 1111 | #[path = "s390x/btrfs.rs" ] |
| 1112 | pub mod btrfs; |
| 1113 | #[cfg (feature = "elf_uapi" )] |
| 1114 | #[cfg (target_arch = "s390x" )] |
| 1115 | #[path = "s390x/elf_uapi.rs" ] |
| 1116 | pub mod elf_uapi; |
| 1117 | #[cfg (feature = "errno" )] |
| 1118 | #[cfg (target_arch = "s390x" )] |
| 1119 | #[path = "s390x/errno.rs" ] |
| 1120 | pub mod errno; |
| 1121 | #[cfg (feature = "general" )] |
| 1122 | #[cfg (target_arch = "s390x" )] |
| 1123 | #[path = "s390x/general.rs" ] |
| 1124 | pub mod general; |
| 1125 | #[cfg (feature = "if_arp" )] |
| 1126 | #[cfg (target_arch = "s390x" )] |
| 1127 | #[path = "s390x/if_arp.rs" ] |
| 1128 | pub mod if_arp; |
| 1129 | #[cfg (feature = "if_ether" )] |
| 1130 | #[cfg (target_arch = "s390x" )] |
| 1131 | #[path = "s390x/if_ether.rs" ] |
| 1132 | pub mod if_ether; |
| 1133 | #[cfg (feature = "if_packet" )] |
| 1134 | #[cfg (target_arch = "s390x" )] |
| 1135 | #[path = "s390x/if_packet.rs" ] |
| 1136 | pub mod if_packet; |
| 1137 | #[cfg (feature = "io_uring" )] |
| 1138 | #[cfg (target_arch = "s390x" )] |
| 1139 | #[path = "s390x/io_uring.rs" ] |
| 1140 | pub mod io_uring; |
| 1141 | #[cfg (feature = "ioctl" )] |
| 1142 | #[cfg (target_arch = "s390x" )] |
| 1143 | #[path = "s390x/ioctl.rs" ] |
| 1144 | pub mod ioctl; |
| 1145 | #[cfg (feature = "landlock" )] |
| 1146 | #[cfg (target_arch = "s390x" )] |
| 1147 | #[path = "s390x/landlock.rs" ] |
| 1148 | pub mod landlock; |
| 1149 | #[cfg (feature = "loop_device" )] |
| 1150 | #[cfg (target_arch = "s390x" )] |
| 1151 | #[path = "s390x/loop_device.rs" ] |
| 1152 | pub mod loop_device; |
| 1153 | #[cfg (feature = "mempolicy" )] |
| 1154 | #[cfg (target_arch = "s390x" )] |
| 1155 | #[path = "s390x/mempolicy.rs" ] |
| 1156 | pub mod mempolicy; |
| 1157 | #[cfg (feature = "net" )] |
| 1158 | #[cfg (target_arch = "s390x" )] |
| 1159 | #[path = "s390x/net.rs" ] |
| 1160 | pub mod net; |
| 1161 | #[cfg (feature = "netlink" )] |
| 1162 | #[cfg (target_arch = "s390x" )] |
| 1163 | #[path = "s390x/netlink.rs" ] |
| 1164 | pub mod netlink; |
| 1165 | #[cfg (feature = "prctl" )] |
| 1166 | #[cfg (target_arch = "s390x" )] |
| 1167 | #[path = "s390x/prctl.rs" ] |
| 1168 | pub mod prctl; |
| 1169 | #[cfg (feature = "ptrace" )] |
| 1170 | #[cfg (target_arch = "s390x" )] |
| 1171 | #[path = "s390x/ptrace.rs" ] |
| 1172 | pub mod ptrace; |
| 1173 | #[cfg (feature = "system" )] |
| 1174 | #[cfg (target_arch = "s390x" )] |
| 1175 | #[path = "s390x/system.rs" ] |
| 1176 | pub mod system; |
| 1177 | #[cfg (feature = "xdp" )] |
| 1178 | #[cfg (target_arch = "s390x" )] |
| 1179 | #[path = "s390x/xdp.rs" ] |
| 1180 | pub mod xdp; |
| 1181 | #[cfg (feature = "bootparam" )] |
| 1182 | #[cfg (target_arch = "sparc" )] |
| 1183 | #[path = "sparc/bootparam.rs" ] |
| 1184 | pub mod bootparam; |
| 1185 | #[cfg (feature = "btrfs" )] |
| 1186 | #[cfg (target_arch = "sparc" )] |
| 1187 | #[path = "sparc/btrfs.rs" ] |
| 1188 | pub mod btrfs; |
| 1189 | #[cfg (feature = "elf_uapi" )] |
| 1190 | #[cfg (target_arch = "sparc" )] |
| 1191 | #[path = "sparc/elf_uapi.rs" ] |
| 1192 | pub mod elf_uapi; |
| 1193 | #[cfg (feature = "errno" )] |
| 1194 | #[cfg (target_arch = "sparc" )] |
| 1195 | #[path = "sparc/errno.rs" ] |
| 1196 | pub mod errno; |
| 1197 | #[cfg (feature = "general" )] |
| 1198 | #[cfg (target_arch = "sparc" )] |
| 1199 | #[path = "sparc/general.rs" ] |
| 1200 | pub mod general; |
| 1201 | #[cfg (feature = "if_arp" )] |
| 1202 | #[cfg (target_arch = "sparc" )] |
| 1203 | #[path = "sparc/if_arp.rs" ] |
| 1204 | pub mod if_arp; |
| 1205 | #[cfg (feature = "if_ether" )] |
| 1206 | #[cfg (target_arch = "sparc" )] |
| 1207 | #[path = "sparc/if_ether.rs" ] |
| 1208 | pub mod if_ether; |
| 1209 | #[cfg (feature = "if_packet" )] |
| 1210 | #[cfg (target_arch = "sparc" )] |
| 1211 | #[path = "sparc/if_packet.rs" ] |
| 1212 | pub mod if_packet; |
| 1213 | #[cfg (feature = "io_uring" )] |
| 1214 | #[cfg (target_arch = "sparc" )] |
| 1215 | #[path = "sparc/io_uring.rs" ] |
| 1216 | pub mod io_uring; |
| 1217 | #[cfg (feature = "ioctl" )] |
| 1218 | #[cfg (target_arch = "sparc" )] |
| 1219 | #[path = "sparc/ioctl.rs" ] |
| 1220 | pub mod ioctl; |
| 1221 | #[cfg (feature = "landlock" )] |
| 1222 | #[cfg (target_arch = "sparc" )] |
| 1223 | #[path = "sparc/landlock.rs" ] |
| 1224 | pub mod landlock; |
| 1225 | #[cfg (feature = "loop_device" )] |
| 1226 | #[cfg (target_arch = "sparc" )] |
| 1227 | #[path = "sparc/loop_device.rs" ] |
| 1228 | pub mod loop_device; |
| 1229 | #[cfg (feature = "mempolicy" )] |
| 1230 | #[cfg (target_arch = "sparc" )] |
| 1231 | #[path = "sparc/mempolicy.rs" ] |
| 1232 | pub mod mempolicy; |
| 1233 | #[cfg (feature = "net" )] |
| 1234 | #[cfg (target_arch = "sparc" )] |
| 1235 | #[path = "sparc/net.rs" ] |
| 1236 | pub mod net; |
| 1237 | #[cfg (feature = "netlink" )] |
| 1238 | #[cfg (target_arch = "sparc" )] |
| 1239 | #[path = "sparc/netlink.rs" ] |
| 1240 | pub mod netlink; |
| 1241 | #[cfg (feature = "prctl" )] |
| 1242 | #[cfg (target_arch = "sparc" )] |
| 1243 | #[path = "sparc/prctl.rs" ] |
| 1244 | pub mod prctl; |
| 1245 | #[cfg (feature = "ptrace" )] |
| 1246 | #[cfg (target_arch = "sparc" )] |
| 1247 | #[path = "sparc/ptrace.rs" ] |
| 1248 | pub mod ptrace; |
| 1249 | #[cfg (feature = "system" )] |
| 1250 | #[cfg (target_arch = "sparc" )] |
| 1251 | #[path = "sparc/system.rs" ] |
| 1252 | pub mod system; |
| 1253 | #[cfg (feature = "xdp" )] |
| 1254 | #[cfg (target_arch = "sparc" )] |
| 1255 | #[path = "sparc/xdp.rs" ] |
| 1256 | pub mod xdp; |
| 1257 | #[cfg (feature = "bootparam" )] |
| 1258 | #[cfg (target_arch = "sparc64" )] |
| 1259 | #[path = "sparc64/bootparam.rs" ] |
| 1260 | pub mod bootparam; |
| 1261 | #[cfg (feature = "btrfs" )] |
| 1262 | #[cfg (target_arch = "sparc64" )] |
| 1263 | #[path = "sparc64/btrfs.rs" ] |
| 1264 | pub mod btrfs; |
| 1265 | #[cfg (feature = "elf_uapi" )] |
| 1266 | #[cfg (target_arch = "sparc64" )] |
| 1267 | #[path = "sparc64/elf_uapi.rs" ] |
| 1268 | pub mod elf_uapi; |
| 1269 | #[cfg (feature = "errno" )] |
| 1270 | #[cfg (target_arch = "sparc64" )] |
| 1271 | #[path = "sparc64/errno.rs" ] |
| 1272 | pub mod errno; |
| 1273 | #[cfg (feature = "general" )] |
| 1274 | #[cfg (target_arch = "sparc64" )] |
| 1275 | #[path = "sparc64/general.rs" ] |
| 1276 | pub mod general; |
| 1277 | #[cfg (feature = "if_arp" )] |
| 1278 | #[cfg (target_arch = "sparc64" )] |
| 1279 | #[path = "sparc64/if_arp.rs" ] |
| 1280 | pub mod if_arp; |
| 1281 | #[cfg (feature = "if_ether" )] |
| 1282 | #[cfg (target_arch = "sparc64" )] |
| 1283 | #[path = "sparc64/if_ether.rs" ] |
| 1284 | pub mod if_ether; |
| 1285 | #[cfg (feature = "if_packet" )] |
| 1286 | #[cfg (target_arch = "sparc64" )] |
| 1287 | #[path = "sparc64/if_packet.rs" ] |
| 1288 | pub mod if_packet; |
| 1289 | #[cfg (feature = "io_uring" )] |
| 1290 | #[cfg (target_arch = "sparc64" )] |
| 1291 | #[path = "sparc64/io_uring.rs" ] |
| 1292 | pub mod io_uring; |
| 1293 | #[cfg (feature = "ioctl" )] |
| 1294 | #[cfg (target_arch = "sparc64" )] |
| 1295 | #[path = "sparc64/ioctl.rs" ] |
| 1296 | pub mod ioctl; |
| 1297 | #[cfg (feature = "landlock" )] |
| 1298 | #[cfg (target_arch = "sparc64" )] |
| 1299 | #[path = "sparc64/landlock.rs" ] |
| 1300 | pub mod landlock; |
| 1301 | #[cfg (feature = "loop_device" )] |
| 1302 | #[cfg (target_arch = "sparc64" )] |
| 1303 | #[path = "sparc64/loop_device.rs" ] |
| 1304 | pub mod loop_device; |
| 1305 | #[cfg (feature = "mempolicy" )] |
| 1306 | #[cfg (target_arch = "sparc64" )] |
| 1307 | #[path = "sparc64/mempolicy.rs" ] |
| 1308 | pub mod mempolicy; |
| 1309 | #[cfg (feature = "net" )] |
| 1310 | #[cfg (target_arch = "sparc64" )] |
| 1311 | #[path = "sparc64/net.rs" ] |
| 1312 | pub mod net; |
| 1313 | #[cfg (feature = "netlink" )] |
| 1314 | #[cfg (target_arch = "sparc64" )] |
| 1315 | #[path = "sparc64/netlink.rs" ] |
| 1316 | pub mod netlink; |
| 1317 | #[cfg (feature = "prctl" )] |
| 1318 | #[cfg (target_arch = "sparc64" )] |
| 1319 | #[path = "sparc64/prctl.rs" ] |
| 1320 | pub mod prctl; |
| 1321 | #[cfg (feature = "ptrace" )] |
| 1322 | #[cfg (target_arch = "sparc64" )] |
| 1323 | #[path = "sparc64/ptrace.rs" ] |
| 1324 | pub mod ptrace; |
| 1325 | #[cfg (feature = "system" )] |
| 1326 | #[cfg (target_arch = "sparc64" )] |
| 1327 | #[path = "sparc64/system.rs" ] |
| 1328 | pub mod system; |
| 1329 | #[cfg (feature = "xdp" )] |
| 1330 | #[cfg (target_arch = "sparc64" )] |
| 1331 | #[path = "sparc64/xdp.rs" ] |
| 1332 | pub mod xdp; |
| 1333 | #[cfg (feature = "bootparam" )] |
| 1334 | #[cfg (target_arch = "x86" )] |
| 1335 | #[path = "x86/bootparam.rs" ] |
| 1336 | pub mod bootparam; |
| 1337 | #[cfg (feature = "btrfs" )] |
| 1338 | #[cfg (target_arch = "x86" )] |
| 1339 | #[path = "x86/btrfs.rs" ] |
| 1340 | pub mod btrfs; |
| 1341 | #[cfg (feature = "elf_uapi" )] |
| 1342 | #[cfg (target_arch = "x86" )] |
| 1343 | #[path = "x86/elf_uapi.rs" ] |
| 1344 | pub mod elf_uapi; |
| 1345 | #[cfg (feature = "errno" )] |
| 1346 | #[cfg (target_arch = "x86" )] |
| 1347 | #[path = "x86/errno.rs" ] |
| 1348 | pub mod errno; |
| 1349 | #[cfg (feature = "general" )] |
| 1350 | #[cfg (target_arch = "x86" )] |
| 1351 | #[path = "x86/general.rs" ] |
| 1352 | pub mod general; |
| 1353 | #[cfg (feature = "if_arp" )] |
| 1354 | #[cfg (target_arch = "x86" )] |
| 1355 | #[path = "x86/if_arp.rs" ] |
| 1356 | pub mod if_arp; |
| 1357 | #[cfg (feature = "if_ether" )] |
| 1358 | #[cfg (target_arch = "x86" )] |
| 1359 | #[path = "x86/if_ether.rs" ] |
| 1360 | pub mod if_ether; |
| 1361 | #[cfg (feature = "if_packet" )] |
| 1362 | #[cfg (target_arch = "x86" )] |
| 1363 | #[path = "x86/if_packet.rs" ] |
| 1364 | pub mod if_packet; |
| 1365 | #[cfg (feature = "io_uring" )] |
| 1366 | #[cfg (target_arch = "x86" )] |
| 1367 | #[path = "x86/io_uring.rs" ] |
| 1368 | pub mod io_uring; |
| 1369 | #[cfg (feature = "ioctl" )] |
| 1370 | #[cfg (target_arch = "x86" )] |
| 1371 | #[path = "x86/ioctl.rs" ] |
| 1372 | pub mod ioctl; |
| 1373 | #[cfg (feature = "landlock" )] |
| 1374 | #[cfg (target_arch = "x86" )] |
| 1375 | #[path = "x86/landlock.rs" ] |
| 1376 | pub mod landlock; |
| 1377 | #[cfg (feature = "loop_device" )] |
| 1378 | #[cfg (target_arch = "x86" )] |
| 1379 | #[path = "x86/loop_device.rs" ] |
| 1380 | pub mod loop_device; |
| 1381 | #[cfg (feature = "mempolicy" )] |
| 1382 | #[cfg (target_arch = "x86" )] |
| 1383 | #[path = "x86/mempolicy.rs" ] |
| 1384 | pub mod mempolicy; |
| 1385 | #[cfg (feature = "net" )] |
| 1386 | #[cfg (target_arch = "x86" )] |
| 1387 | #[path = "x86/net.rs" ] |
| 1388 | pub mod net; |
| 1389 | #[cfg (feature = "netlink" )] |
| 1390 | #[cfg (target_arch = "x86" )] |
| 1391 | #[path = "x86/netlink.rs" ] |
| 1392 | pub mod netlink; |
| 1393 | #[cfg (feature = "prctl" )] |
| 1394 | #[cfg (target_arch = "x86" )] |
| 1395 | #[path = "x86/prctl.rs" ] |
| 1396 | pub mod prctl; |
| 1397 | #[cfg (feature = "ptrace" )] |
| 1398 | #[cfg (target_arch = "x86" )] |
| 1399 | #[path = "x86/ptrace.rs" ] |
| 1400 | pub mod ptrace; |
| 1401 | #[cfg (feature = "system" )] |
| 1402 | #[cfg (target_arch = "x86" )] |
| 1403 | #[path = "x86/system.rs" ] |
| 1404 | pub mod system; |
| 1405 | #[cfg (feature = "xdp" )] |
| 1406 | #[cfg (target_arch = "x86" )] |
| 1407 | #[path = "x86/xdp.rs" ] |
| 1408 | pub mod xdp; |
| 1409 | #[cfg (feature = "bootparam" )] |
| 1410 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1411 | #[path = "x86_64/bootparam.rs" ] |
| 1412 | pub mod bootparam; |
| 1413 | #[cfg (feature = "btrfs" )] |
| 1414 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1415 | #[path = "x86_64/btrfs.rs" ] |
| 1416 | pub mod btrfs; |
| 1417 | #[cfg (feature = "elf_uapi" )] |
| 1418 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1419 | #[path = "x86_64/elf_uapi.rs" ] |
| 1420 | pub mod elf_uapi; |
| 1421 | #[cfg (feature = "errno" )] |
| 1422 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1423 | #[path = "x86_64/errno.rs" ] |
| 1424 | pub mod errno; |
| 1425 | #[cfg (feature = "general" )] |
| 1426 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1427 | #[path = "x86_64/general.rs" ] |
| 1428 | pub mod general; |
| 1429 | #[cfg (feature = "if_arp" )] |
| 1430 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1431 | #[path = "x86_64/if_arp.rs" ] |
| 1432 | pub mod if_arp; |
| 1433 | #[cfg (feature = "if_ether" )] |
| 1434 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1435 | #[path = "x86_64/if_ether.rs" ] |
| 1436 | pub mod if_ether; |
| 1437 | #[cfg (feature = "if_packet" )] |
| 1438 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1439 | #[path = "x86_64/if_packet.rs" ] |
| 1440 | pub mod if_packet; |
| 1441 | #[cfg (feature = "io_uring" )] |
| 1442 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1443 | #[path = "x86_64/io_uring.rs" ] |
| 1444 | pub mod io_uring; |
| 1445 | #[cfg (feature = "ioctl" )] |
| 1446 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1447 | #[path = "x86_64/ioctl.rs" ] |
| 1448 | pub mod ioctl; |
| 1449 | #[cfg (feature = "landlock" )] |
| 1450 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1451 | #[path = "x86_64/landlock.rs" ] |
| 1452 | pub mod landlock; |
| 1453 | #[cfg (feature = "loop_device" )] |
| 1454 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1455 | #[path = "x86_64/loop_device.rs" ] |
| 1456 | pub mod loop_device; |
| 1457 | #[cfg (feature = "mempolicy" )] |
| 1458 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1459 | #[path = "x86_64/mempolicy.rs" ] |
| 1460 | pub mod mempolicy; |
| 1461 | #[cfg (feature = "net" )] |
| 1462 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1463 | #[path = "x86_64/net.rs" ] |
| 1464 | pub mod net; |
| 1465 | #[cfg (feature = "netlink" )] |
| 1466 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1467 | #[path = "x86_64/netlink.rs" ] |
| 1468 | pub mod netlink; |
| 1469 | #[cfg (feature = "prctl" )] |
| 1470 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1471 | #[path = "x86_64/prctl.rs" ] |
| 1472 | pub mod prctl; |
| 1473 | #[cfg (feature = "ptrace" )] |
| 1474 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1475 | #[path = "x86_64/ptrace.rs" ] |
| 1476 | pub mod ptrace; |
| 1477 | #[cfg (feature = "system" )] |
| 1478 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1479 | #[path = "x86_64/system.rs" ] |
| 1480 | pub mod system; |
| 1481 | #[cfg (feature = "xdp" )] |
| 1482 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "64" ))] |
| 1483 | #[path = "x86_64/xdp.rs" ] |
| 1484 | pub mod xdp; |
| 1485 | #[cfg (feature = "bootparam" )] |
| 1486 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1487 | #[path = "x32/bootparam.rs" ] |
| 1488 | pub mod bootparam; |
| 1489 | #[cfg (feature = "btrfs" )] |
| 1490 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1491 | #[path = "x32/btrfs.rs" ] |
| 1492 | pub mod btrfs; |
| 1493 | #[cfg (feature = "elf_uapi" )] |
| 1494 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1495 | #[path = "x32/elf_uapi.rs" ] |
| 1496 | pub mod elf_uapi; |
| 1497 | #[cfg (feature = "errno" )] |
| 1498 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1499 | #[path = "x32/errno.rs" ] |
| 1500 | pub mod errno; |
| 1501 | #[cfg (feature = "general" )] |
| 1502 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1503 | #[path = "x32/general.rs" ] |
| 1504 | pub mod general; |
| 1505 | #[cfg (feature = "if_arp" )] |
| 1506 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1507 | #[path = "x32/if_arp.rs" ] |
| 1508 | pub mod if_arp; |
| 1509 | #[cfg (feature = "if_ether" )] |
| 1510 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1511 | #[path = "x32/if_ether.rs" ] |
| 1512 | pub mod if_ether; |
| 1513 | #[cfg (feature = "if_packet" )] |
| 1514 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1515 | #[path = "x32/if_packet.rs" ] |
| 1516 | pub mod if_packet; |
| 1517 | #[cfg (feature = "io_uring" )] |
| 1518 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1519 | #[path = "x32/io_uring.rs" ] |
| 1520 | pub mod io_uring; |
| 1521 | #[cfg (feature = "ioctl" )] |
| 1522 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1523 | #[path = "x32/ioctl.rs" ] |
| 1524 | pub mod ioctl; |
| 1525 | #[cfg (feature = "landlock" )] |
| 1526 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1527 | #[path = "x32/landlock.rs" ] |
| 1528 | pub mod landlock; |
| 1529 | #[cfg (feature = "loop_device" )] |
| 1530 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1531 | #[path = "x32/loop_device.rs" ] |
| 1532 | pub mod loop_device; |
| 1533 | #[cfg (feature = "mempolicy" )] |
| 1534 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1535 | #[path = "x32/mempolicy.rs" ] |
| 1536 | pub mod mempolicy; |
| 1537 | #[cfg (feature = "net" )] |
| 1538 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1539 | #[path = "x32/net.rs" ] |
| 1540 | pub mod net; |
| 1541 | #[cfg (feature = "netlink" )] |
| 1542 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1543 | #[path = "x32/netlink.rs" ] |
| 1544 | pub mod netlink; |
| 1545 | #[cfg (feature = "prctl" )] |
| 1546 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1547 | #[path = "x32/prctl.rs" ] |
| 1548 | pub mod prctl; |
| 1549 | #[cfg (feature = "ptrace" )] |
| 1550 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1551 | #[path = "x32/ptrace.rs" ] |
| 1552 | pub mod ptrace; |
| 1553 | #[cfg (feature = "system" )] |
| 1554 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1555 | #[path = "x32/system.rs" ] |
| 1556 | pub mod system; |
| 1557 | #[cfg (feature = "xdp" )] |
| 1558 | #[cfg (all(target_arch = "x86_64" , target_pointer_width = "32" ))] |
| 1559 | #[path = "x32/xdp.rs" ] |
| 1560 | pub mod xdp; |
| 1561 | |