mdlayher / vsock

Package vsock provides access to Linux VM sockets (AF_VSOCK) for communication between a hypervisor and its virtual machines. MIT Licensed.
MIT License
336 stars 65 forks source link

vsock: use ioctl constant from golang.org/x/sys/unix #11

Closed tklauser closed 7 years ago

tklauser commented 7 years ago

Now that https://golang.org/cl/76193 added it, use the portable definition of IOCTL_VM_SOCKETS_GET_LOCAL_CID.

mdlayher commented 7 years ago

Thank you!