Skip to content

Commit 6a04eb9

Browse files
author
ru
committed
structs nlmsghdr, nlmsgerr and nlattr added to linux mips musl target
1 parent 8a7b02c commit 6a04eb9

File tree

1 file changed

+18
-0
lines changed
  • src/unix/linux_like/linux/musl/b32/mips

1 file changed

+18
-0
lines changed

src/unix/linux_like/linux/musl/b32/mips/mod.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,24 @@ s! {
161161
pub f_namemax: ::c_ulong,
162162
__f_spare: [::c_int; 6],
163163
}
164+
165+
pub struct nlmsghdr {
166+
pub nlmsg_len: u32,
167+
pub nlmsg_type: u16,
168+
pub nlmsg_flags: u16,
169+
pub nlmsg_seq: u32,
170+
pub nlmsg_pid: u32,
171+
}
172+
173+
pub struct nlmsgerr {
174+
pub error: ::c_int,
175+
pub msg: nlmsghdr,
176+
}
177+
178+
pub struct nlattr {
179+
pub nla_len: u16,
180+
pub nla_type: u16,
181+
}
164182
}
165183

166184
pub const SIGSTKSZ: ::size_t = 8192;

0 commit comments

Comments
 (0)