Lines Matching defs:cmsghdr
207 pub struct cmsghdr {
1044 cmsg: *const cmsghdr) -> *mut cmsghdr {
1046 + CMSG_ALIGN(::mem::size_of::<::cmsghdr>());
1051 as *mut ::cmsghdr
1053 0 as *mut ::cmsghdr
1057 pub fn CMSG_FIRSTHDR(mhdr: *const msghdr) -> *mut cmsghdr {
1059 (*mhdr).msg_control as *mut cmsghdr
1061 0 as *mut cmsghdr
1065 pub fn CMSG_DATA(cmsg: *const cmsghdr) -> *mut ::c_uchar {
1067 .offset(CMSG_ALIGN(::mem::size_of::<::cmsghdr>()) as isize)
1071 (CMSG_ALIGN(length as usize) + CMSG_ALIGN(::mem::size_of::<cmsghdr>()))
1076 CMSG_ALIGN(::mem::size_of::<cmsghdr>()) as ::c_uint + length