Lines Matching refs:sockaddr_vm
51 struct sockaddr_vm { struct
231 assert_eq!(size_of::<sockaddr_vm>(), size_of::<sockaddr>()); in bind()
233 let svm = sockaddr_vm { in bind()
244 &svm as *const sockaddr_vm as *const sockaddr, in bind() constant
245 size_of::<sockaddr_vm>() as socklen_t, in bind()
261 let svm = sockaddr_vm { in connect()
272 &svm as *const sockaddr_vm as *const sockaddr, in connect() constant
273 size_of::<sockaddr_vm>() as socklen_t, in connect()
296 let mut svm: sockaddr_vm = Default::default(); in local_port()
299 let mut addrlen = size_of::<sockaddr_vm>() as socklen_t; in local_port()
304 &mut svm as *mut sockaddr_vm as *mut sockaddr, in local_port()
313 assert_eq!(addrlen as usize, size_of::<sockaddr_vm>()); in local_port()
460 let mut svm: sockaddr_vm = Default::default(); in accept()
463 let mut socklen: socklen_t = size_of::<sockaddr_vm>() as socklen_t; in accept()
467 &mut svm as *mut sockaddr_vm as *mut sockaddr, in accept()