Skip to content

Commit

Permalink
structs nlmsghdr, nlmsgerr and nlattr added to linux mips musl target
Browse files Browse the repository at this point in the history
  • Loading branch information
ru committed Jan 29, 2020
1 parent e81584a commit a8e4e51
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/unix/linux_like/linux/musl/b32/mips/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,24 @@ s! {
pub f_namemax: ::c_ulong,
__f_spare: [::c_int; 6],
}

pub struct nlmsghdr {
pub nlmsg_len: u32,
pub nlmsg_type: u16,
pub nlmsg_flags: u16,
pub nlmsg_seq: u32,
pub nlmsg_pid: u32,
}

pub struct nlmsgerr {
pub error: ::c_int,
pub msg: nlmsghdr,
}

pub struct nlattr {
pub nla_len: u16,
pub nla_type: u16,
}
}

pub const SIGSTKSZ: ::size_t = 8192;
Expand Down

0 comments on commit a8e4e51

Please sign in to comment.