Searched refs:ucred_size (Results 1 – 2 of 2) sorted by relevance
72 let ucred_size = mem::size_of::<ucred>(); in get_peer_cred() localVariable76 assert!(ucred_size <= u32::max_value() as usize); in get_peer_cred()78 let mut ucred_size = ucred_size as socklen_t; in get_peer_cred() localVariable85 &mut ucred_size, in get_peer_cred()87 if ret == 0 && ucred_size as usize == mem::size_of::<ucred>() { in get_peer_cred()
2609 pub fn ucred_size() -> ::size_t; in ucred_size() function