Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions netwatch/src/interfaces/bsd/freebsd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,18 @@ mod arm {
}

// Hardcoded based on the generated values here: https://cs.opensource.google/go/x/net/+/master:route/zsys_freebsd_arm.go
#[cfg(target_arch = "aarch64")]
pub use self::arm64::*;
#[cfg(target_arch = "aarch64")]
mod arm64 {
#[cfg(any(
target_arch = "aarch64",
target_arch = "powerpc64",
target_arch = "riscv64"
))]
pub use self::lp64::*;
#[cfg(any(
target_arch = "aarch64",
target_arch = "powerpc64",
target_arch = "riscv64"
))]
mod lp64 {
pub const SIZEOF_IF_MSGHDRL_FREE_BSD10: usize = 0xb0;
pub const SIZEOF_IFA_MSGHDR_FREE_BSD10: usize = 0x14;
pub const SIZEOF_IFA_MSGHDRL_FREE_BSD10: usize = 0xb0;
Expand Down
Loading