Lines Matching refs:svm
225 let svm = sockaddr_vm { in bind() localVariable
236 &svm as *const sockaddr_vm as *const sockaddr, in bind()
253 let svm = sockaddr_vm { in connect() localVariable
264 &svm as *const sockaddr_vm as *const sockaddr, in connect()
288 let mut svm: sockaddr_vm = Default::default(); in local_port() localVariable
296 &mut svm as *mut sockaddr_vm as *mut sockaddr, in local_port()
307 Ok(svm.svm_port) in local_port()
452 let mut svm: sockaddr_vm = Default::default(); in accept() localVariable
459 &mut svm as *mut sockaddr_vm as *mut sockaddr, in accept()
468 if svm.svm_family != AF_VSOCK { in accept()
471 format!("unexpected address family: {}", svm.svm_family), in accept()
480 cid: svm.svm_cid.into(), in accept()
481 port: svm.svm_port, in accept()