aboutsummaryrefslogtreecommitdiff
path: root/libc/src/unix/bsd/apple/b64.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/unix/bsd/apple/b64.rs')
-rw-r--r--libc/src/unix/bsd/apple/b64.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/src/unix/bsd/apple/b64.rs b/libc/src/unix/bsd/apple/b64.rs
index e4a3981..2b34f85 100644
--- a/libc/src/unix/bsd/apple/b64.rs
+++ b/libc/src/unix/bsd/apple/b64.rs
@@ -46,6 +46,13 @@ s! {
pub ifi_reserved1: u32,
pub ifi_reserved2: u32,
}
+
+ pub struct bpf_hdr {
+ pub bh_tstamp: ::timeval32,
+ pub bh_caplen: ::uint32_t,
+ pub bh_datalen: ::uint32_t,
+ pub bh_hdrlen: ::c_ushort,
+ }
}
pub const __PTHREAD_MUTEX_SIZE__: usize = 56;