From 3c1430043220d0de230d728020a47806c3142c22 Mon Sep 17 00:00:00 2001 From: Ilya Sorochan Date: Tue, 6 Aug 2024 13:52:14 +0400 Subject: [PATCH 1/2] Add c_char definition for loongarch64 --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 7323c752..d45a5179 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,6 +20,7 @@ pub mod ctypes { ))] pub type c_char = c_uchar; #[cfg(any( + target_arch = "loongarch64" target_arch = "mips", target_arch = "mips64", target_arch = "sparc", From cdbc7f03025254001eab3486dc45895212652066 Mon Sep 17 00:00:00 2001 From: Ilya Sorochan Date: Thu, 15 Aug 2024 17:27:39 +0300 Subject: [PATCH 2/2] Fix typo: missed comma --- src/lib.rs | 1910 ++++++++++++++++++++++++++-------------------------- 1 file changed, 955 insertions(+), 955 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d45a5179..b686195b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,7 +20,7 @@ pub mod ctypes { ))] pub type c_char = c_uchar; #[cfg(any( - target_arch = "loongarch64" + target_arch = "loongarch64", target_arch = "mips", target_arch = "mips64", target_arch = "sparc", @@ -213,1079 +213,1079 @@ pub mod elf; #[cfg(target_arch = "arm")] #[path = "arm/bootparam.rs"] pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "arm")] -#[path = "arm/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "arm")] -#[path = "arm/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "arm")] -#[path = "arm/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "arm")] -#[path = "arm/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "arm")] -#[path = "arm/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(target_arch = "arm")] -#[path = "arm/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "arm")] -#[path = "arm/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "arm")] -#[path = "arm/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "arm")] -#[path = "arm/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "arm")] -#[path = "arm/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "arm")] -#[path = "arm/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "arm")] -#[path = "arm/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "arm")] -#[path = "arm/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "arm")] -#[path = "arm/xdp.rs"] -pub mod xdp; #[cfg(feature = "bootparam")] #[cfg(target_arch = "aarch64")] #[path = "aarch64/bootparam.rs"] pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "aarch64")] -#[path = "aarch64/xdp.rs"] -pub mod xdp; #[cfg(feature = "bootparam")] #[cfg(target_arch = "csky")] #[path = "csky/bootparam.rs"] pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "csky")] -#[path = "csky/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "csky")] -#[path = "csky/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "csky")] -#[path = "csky/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "csky")] -#[path = "csky/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "csky")] -#[path = "csky/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(target_arch = "csky")] -#[path = "csky/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "csky")] -#[path = "csky/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "csky")] -#[path = "csky/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "csky")] -#[path = "csky/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "csky")] -#[path = "csky/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "csky")] -#[path = "csky/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "csky")] -#[path = "csky/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "csky")] -#[path = "csky/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "csky")] -#[path = "csky/xdp.rs"] -pub mod xdp; #[cfg(feature = "bootparam")] #[cfg(target_arch = "loongarch64")] #[path = "loongarch64/bootparam.rs"] pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "mips")] +#[path = "mips/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(target_arch = "x86")] +#[path = "x86/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "bootparam")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/bootparam.rs"] +pub mod bootparam; +#[cfg(feature = "errno")] +#[cfg(target_arch = "arm")] +#[path = "arm/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "csky")] +#[path = "csky/errno.rs"] +pub mod errno; #[cfg(feature = "errno")] #[cfg(target_arch = "loongarch64")] #[path = "loongarch64/errno.rs"] pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "mips")] +#[path = "mips/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(target_arch = "x86")] +#[path = "x86/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/errno.rs"] +pub mod errno; +#[cfg(feature = "errno")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/errno.rs"] +pub mod errno; +#[cfg(feature = "general")] +#[cfg(target_arch = "arm")] +#[path = "arm/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "csky")] +#[path = "csky/general.rs"] +pub mod general; #[cfg(feature = "general")] #[cfg(target_arch = "loongarch64")] #[path = "loongarch64/general.rs"] pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "mips")] +#[path = "mips/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(target_arch = "x86")] +#[path = "x86/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/general.rs"] +pub mod general; +#[cfg(feature = "general")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/general.rs"] +pub mod general; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "arm")] +#[path = "arm/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "csky")] +#[path = "csky/if_arp.rs"] +pub mod if_arp; #[cfg(feature = "if_arp")] #[cfg(target_arch = "loongarch64")] #[path = "loongarch64/if_arp.rs"] pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "loongarch64")] -#[path = "loongarch64/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "mips")] -#[path = "mips/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "mips")] -#[path = "mips/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "mips")] -#[path = "mips/general.rs"] -pub mod general; #[cfg(feature = "if_arp")] #[cfg(target_arch = "mips")] #[path = "mips/if_arp.rs"] pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "mips")] -#[path = "mips/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "mips")] -#[path = "mips/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(target_arch = "mips")] -#[path = "mips/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "mips")] -#[path = "mips/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "mips")] -#[path = "mips/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "mips")] -#[path = "mips/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "mips")] -#[path = "mips/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "mips")] -#[path = "mips/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "mips")] -#[path = "mips/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "mips")] -#[path = "mips/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "mips")] -#[path = "mips/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/general.rs"] -pub mod general; #[cfg(feature = "if_arp")] #[cfg(target_arch = "mips64")] #[path = "mips64/if_arp.rs"] pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "mips64")] -#[path = "mips64/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/general.rs"] -pub mod general; #[cfg(feature = "if_arp")] #[cfg(target_arch = "mips32r6")] #[path = "mips32r6/if_arp.rs"] pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "mips32r6")] -#[path = "mips32r6/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] +#[cfg(feature = "if_arp")] #[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/general.rs"] -pub mod general; +#[path = "mips64r6/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(target_arch = "x86")] +#[path = "x86/if_arp.rs"] +pub mod if_arp; #[cfg(feature = "if_arp")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/if_arp.rs"] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/if_arp.rs"] +pub mod if_arp; +#[cfg(feature = "if_arp")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/if_arp.rs"] pub mod if_arp; #[cfg(feature = "if_ether")] +#[cfg(target_arch = "arm")] +#[path = "arm/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "csky")] +#[path = "csky/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "mips")] +#[path = "mips/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] #[cfg(target_arch = "mips64r6")] #[path = "mips64r6/if_ether.rs"] pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "mips64r6")] -#[path = "mips64r6/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/if_arp.rs"] -pub mod if_arp; #[cfg(feature = "if_ether")] #[cfg(target_arch = "powerpc")] #[path = "powerpc/if_ether.rs"] pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(target_arch = "x86")] +#[path = "x86/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_ether")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/if_ether.rs"] +pub mod if_ether; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "arm")] +#[path = "arm/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "csky")] +#[path = "csky/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "mips")] +#[path = "mips/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/if_packet.rs"] +pub mod if_packet; #[cfg(feature = "if_packet")] #[cfg(target_arch = "powerpc")] #[path = "powerpc/if_packet.rs"] pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(target_arch = "x86")] +#[path = "x86/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/if_packet.rs"] +pub mod if_packet; +#[cfg(feature = "if_packet")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/if_packet.rs"] +pub mod if_packet; #[cfg(feature = "io_uring")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/io_uring.rs"] +#[cfg(target_arch = "arm")] +#[path = "arm/io_uring.rs"] pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "powerpc")] -#[path = "powerpc/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] +#[cfg(feature = "io_uring")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/io_uring.rs"] +pub mod io_uring; +#[cfg(feature = "io_uring")] +#[cfg(target_arch = "csky")] +#[path = "csky/io_uring.rs"] +pub mod io_uring; +#[cfg(feature = "io_uring")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/io_uring.rs"] +pub mod io_uring; +#[cfg(feature = "io_uring")] +#[cfg(target_arch = "mips")] +#[path = "mips/io_uring.rs"] +pub mod io_uring; +#[cfg(feature = "io_uring")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/io_uring.rs"] +pub mod io_uring; +#[cfg(feature = "io_uring")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/io_uring.rs"] +pub mod io_uring; +#[cfg(feature = "io_uring")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/io_uring.rs"] +pub mod io_uring; +#[cfg(feature = "io_uring")] #[cfg(target_arch = "powerpc")] -#[path = "powerpc/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/if_packet.rs"] -pub mod if_packet; +#[path = "powerpc/io_uring.rs"] +pub mod io_uring; #[cfg(feature = "io_uring")] #[cfg(target_arch = "powerpc64")] #[path = "powerpc64/io_uring.rs"] pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "powerpc64")] -#[path = "powerpc64/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/if_packet.rs"] -pub mod if_packet; #[cfg(feature = "io_uring")] #[cfg(target_arch = "riscv32")] #[path = "riscv32/io_uring.rs"] pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "riscv32")] -#[path = "riscv32/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/if_packet.rs"] -pub mod if_packet; #[cfg(feature = "io_uring")] #[cfg(target_arch = "riscv64")] #[path = "riscv64/io_uring.rs"] pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "riscv64")] -#[path = "riscv64/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/if_packet.rs"] -pub mod if_packet; #[cfg(feature = "io_uring")] #[cfg(target_arch = "s390x")] #[path = "s390x/io_uring.rs"] pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "s390x")] -#[path = "s390x/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/if_packet.rs"] -pub mod if_packet; #[cfg(feature = "io_uring")] #[cfg(target_arch = "sparc")] #[path = "sparc/io_uring.rs"] pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "sparc")] -#[path = "sparc/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/if_packet.rs"] -pub mod if_packet; #[cfg(feature = "io_uring")] #[cfg(target_arch = "sparc64")] #[path = "sparc64/io_uring.rs"] pub mod io_uring; +#[cfg(feature = "io_uring")] +#[cfg(target_arch = "x86")] +#[path = "x86/io_uring.rs"] +pub mod io_uring; +#[cfg(feature = "io_uring")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/io_uring.rs"] +pub mod io_uring; +#[cfg(feature = "io_uring")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/io_uring.rs"] +pub mod io_uring; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "arm")] +#[path = "arm/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "csky")] +#[path = "csky/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "mips")] +#[path = "mips/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/ioctl.rs"] +pub mod ioctl; #[cfg(feature = "ioctl")] #[cfg(target_arch = "sparc64")] #[path = "sparc64/ioctl.rs"] pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(target_arch = "x86")] +#[path = "x86/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "ioctl")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/ioctl.rs"] +pub mod ioctl; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "arm")] +#[path = "arm/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "csky")] +#[path = "csky/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "mips")] +#[path = "mips/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/loop_device.rs"] +pub mod loop_device; #[cfg(feature = "loop_device")] #[cfg(target_arch = "sparc64")] #[path = "sparc64/loop_device.rs"] pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(target_arch = "x86")] +#[path = "x86/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "loop_device")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/loop_device.rs"] +pub mod loop_device; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "arm")] +#[path = "arm/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "csky")] +#[path = "csky/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "mips")] +#[path = "mips/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/mempolicy.rs"] +pub mod mempolicy; #[cfg(feature = "mempolicy")] #[cfg(target_arch = "sparc64")] #[path = "sparc64/mempolicy.rs"] pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/netlink.rs"] -pub mod netlink; -#[cfg(feature = "prctl")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/prctl.rs"] -pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "sparc64")] -#[path = "sparc64/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(target_arch = "x86")] -#[path = "x86/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(target_arch = "x86")] -#[path = "x86/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(target_arch = "x86")] -#[path = "x86/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(target_arch = "x86")] -#[path = "x86/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(target_arch = "x86")] -#[path = "x86/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(target_arch = "x86")] -#[path = "x86/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(target_arch = "x86")] -#[path = "x86/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(target_arch = "x86")] -#[path = "x86/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(target_arch = "x86")] -#[path = "x86/loop_device.rs"] -pub mod loop_device; #[cfg(feature = "mempolicy")] #[cfg(target_arch = "x86")] #[path = "x86/mempolicy.rs"] pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "mempolicy")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/mempolicy.rs"] +pub mod mempolicy; +#[cfg(feature = "net")] +#[cfg(target_arch = "arm")] +#[path = "arm/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "csky")] +#[path = "csky/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "mips")] +#[path = "mips/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/net.rs"] +pub mod net; #[cfg(feature = "net")] #[cfg(target_arch = "x86")] #[path = "x86/net.rs"] pub mod net; +#[cfg(feature = "net")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/net.rs"] +pub mod net; +#[cfg(feature = "net")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/net.rs"] +pub mod net; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "arm")] +#[path = "arm/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "csky")] +#[path = "csky/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "mips")] +#[path = "mips/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/netlink.rs"] +pub mod netlink; #[cfg(feature = "netlink")] #[cfg(target_arch = "x86")] #[path = "x86/netlink.rs"] pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/netlink.rs"] +pub mod netlink; +#[cfg(feature = "netlink")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] +#[path = "x32/netlink.rs"] +pub mod netlink; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "arm")] +#[path = "arm/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "csky")] +#[path = "csky/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "mips")] +#[path = "mips/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/prctl.rs"] +pub mod prctl; +#[cfg(feature = "prctl")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/prctl.rs"] +pub mod prctl; #[cfg(feature = "prctl")] #[cfg(target_arch = "x86")] #[path = "x86/prctl.rs"] pub mod prctl; -#[cfg(feature = "system")] -#[cfg(target_arch = "x86")] -#[path = "x86/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(target_arch = "x86")] -#[path = "x86/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/netlink.rs"] -pub mod netlink; #[cfg(feature = "prctl")] #[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] #[path = "x86_64/prctl.rs"] pub mod prctl; -#[cfg(feature = "system")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/system.rs"] -pub mod system; -#[cfg(feature = "xdp")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -#[path = "x86_64/xdp.rs"] -pub mod xdp; -#[cfg(feature = "bootparam")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/bootparam.rs"] -pub mod bootparam; -#[cfg(feature = "errno")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/errno.rs"] -pub mod errno; -#[cfg(feature = "general")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/general.rs"] -pub mod general; -#[cfg(feature = "if_arp")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/if_arp.rs"] -pub mod if_arp; -#[cfg(feature = "if_ether")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/if_ether.rs"] -pub mod if_ether; -#[cfg(feature = "if_packet")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/if_packet.rs"] -pub mod if_packet; -#[cfg(feature = "io_uring")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/io_uring.rs"] -pub mod io_uring; -#[cfg(feature = "ioctl")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/ioctl.rs"] -pub mod ioctl; -#[cfg(feature = "loop_device")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/loop_device.rs"] -pub mod loop_device; -#[cfg(feature = "mempolicy")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/mempolicy.rs"] -pub mod mempolicy; -#[cfg(feature = "net")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/net.rs"] -pub mod net; -#[cfg(feature = "netlink")] -#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] -#[path = "x32/netlink.rs"] -pub mod netlink; #[cfg(feature = "prctl")] #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] #[path = "x32/prctl.rs"] pub mod prctl; #[cfg(feature = "system")] +#[cfg(target_arch = "arm")] +#[path = "arm/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "csky")] +#[path = "csky/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "mips")] +#[path = "mips/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(target_arch = "x86")] +#[path = "x86/system.rs"] +pub mod system; +#[cfg(feature = "system")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/system.rs"] +pub mod system; +#[cfg(feature = "system")] #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] #[path = "x32/system.rs"] pub mod system; #[cfg(feature = "xdp")] +#[cfg(target_arch = "arm")] +#[path = "arm/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "aarch64")] +#[path = "aarch64/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "csky")] +#[path = "csky/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "loongarch64")] +#[path = "loongarch64/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "mips")] +#[path = "mips/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "mips64")] +#[path = "mips64/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "mips32r6")] +#[path = "mips32r6/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "mips64r6")] +#[path = "mips64r6/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "powerpc")] +#[path = "powerpc/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "powerpc64")] +#[path = "powerpc64/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "riscv32")] +#[path = "riscv32/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "riscv64")] +#[path = "riscv64/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "s390x")] +#[path = "s390x/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "sparc")] +#[path = "sparc/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "sparc64")] +#[path = "sparc64/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(target_arch = "x86")] +#[path = "x86/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] +#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] +#[path = "x86_64/xdp.rs"] +pub mod xdp; +#[cfg(feature = "xdp")] #[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))] #[path = "x32/xdp.rs"] pub mod xdp;