summaryrefslogtreecommitdiff
path: root/libc/src/unix/bsd/apple/b32.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/unix/bsd/apple/b32.rs')
-rw-r--r--libc/src/unix/bsd/apple/b32.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/src/unix/bsd/apple/b32.rs b/libc/src/unix/bsd/apple/b32.rs
index 53fc0ae..5dea472 100644
--- a/libc/src/unix/bsd/apple/b32.rs
+++ b/libc/src/unix/bsd/apple/b32.rs
@@ -41,6 +41,13 @@ s! {
pub ifi_reserved1: u32,
pub ifi_reserved2: u32,
}
+
+ pub struct bpf_hdr {
+ pub bh_tstamp: ::timeval,
+ pub bh_caplen: ::uint32_t,
+ pub bh_datalen: ::uint32_t,
+ pub bh_hdrlen: ::c_ushort,
+ }
}
pub const __PTHREAD_MUTEX_SIZE__: usize = 40;