Skip to content

Commit

Permalink
Auto merge of #2393 - devnexen:haiku_sockaddr_dl, r=Amanieu
Browse files Browse the repository at this point in the history
haiku add sockaddr_dl type
  • Loading branch information
bors committed Sep 10, 2021
2 parents 5fefaf6 + 323f612 commit 77ab786
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/unix/haiku/mod.rs
Expand Up @@ -321,6 +321,18 @@ s! {
pub uid: ::uid_t,
pub gid: ::gid_t,
}

pub struct sockaddr_dl {
pub sdl_slen: u8,
pub sdl_family: u8,
pub sdl_e_type: u16,
pub sdl_index: u32,
pub sdl_type: u8,
pub sdl_nlen: u8,
pub sdl_alen: u8,
pub sdl_slen: u8,
pub sdl_data: [u8; 46],
}
}

s_no_extra_traits! {
Expand Down

0 comments on commit 77ab786

Please sign in to comment.