Skip to content
Snippets Groups Projects
Commit 971318ea authored by felixmoebius's avatar felixmoebius
Browse files

Add struct msghdr and struct cmsghdr from lwip

parent 94c3b89f
No related branches found
No related tags found
No related merge requests found
......@@ -461,6 +461,24 @@ s! {
pub tm_gmtoff: ::c_long,
}
// lwip
pub struct msghdr {
pub msg_name: *mut ::c_void,
pub msg_namelen: ::socklen_t,
pub msg_iov: *mut ::iovec,
pub msg_iovlen: ::c_int,
pub msg_control: *mut ::c_void,
pub msg_controllen: ::socklen_t,
pub msg_flags: ::c_int,
}
// lwip
pub struct cmsghdr {
pub cmsg_len: ::socklen_t,
pub cmsg_level: ::c_int,
pub cmsg_type: ::c_int,
}
pub struct tms {
pub tms_utime: ::clock_t,
pub tms_stime: ::clock_t,
......
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