Skip to content
Snippets Groups Projects
Commit 6a04eb97 authored by ru's avatar ru
Browse files

structs nlmsghdr, nlmsgerr and nlattr added to linux mips musl target

parent 8a7b02cc
No related branches found
No related tags found
No related merge requests found
...@@ -161,6 +161,24 @@ s! { ...@@ -161,6 +161,24 @@ s! {
pub f_namemax: ::c_ulong, pub f_namemax: ::c_ulong,
__f_spare: [::c_int; 6], __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; pub const SIGSTKSZ: ::size_t = 8192;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment