Skip to content
Snippets Groups Projects
Commit 744500d8 authored by Luigi Leonardi's avatar Luigi Leonardi Committed by David S. Miller
Browse files

vsock: add support for SIOCOUTQ ioctl


Add support for ioctl(s) in AF_VSOCK.
The only ioctl available is SIOCOUTQ/TIOCOUTQ, which returns the number
of unsent bytes in the socket. This information is transport-specific
and is delegated to them using a callback.

Suggested-by: default avatarDaan De Meyer <daan.j.demeyer@gmail.com>
Signed-off-by: default avatarLuigi Leonardi <luigi.leonardi@outlook.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5fe164fb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment