Lines Matching refs:sockaddr_vm
38 struct sockaddr_vm { struct
223 assert_eq!(size_of::<sockaddr_vm>(), size_of::<sockaddr>()); in bind()
225 let svm = sockaddr_vm { in bind()
236 &svm as *const sockaddr_vm as *const sockaddr, in bind() constant
237 size_of::<sockaddr_vm>() as socklen_t, in bind()
253 let svm = sockaddr_vm { in connect()
264 &svm as *const sockaddr_vm as *const sockaddr, in connect() constant
265 size_of::<sockaddr_vm>() as socklen_t, in connect()
288 let mut svm: sockaddr_vm = Default::default(); in local_port()
291 let mut addrlen = size_of::<sockaddr_vm>() as socklen_t; in local_port()
296 &mut svm as *mut sockaddr_vm as *mut sockaddr, in local_port()
305 assert_eq!(addrlen as usize, size_of::<sockaddr_vm>()); in local_port()
452 let mut svm: sockaddr_vm = Default::default(); in accept()
455 let mut socklen: socklen_t = size_of::<sockaddr_vm>() as socklen_t; in accept()
459 &mut svm as *mut sockaddr_vm as *mut sockaddr, in accept()