diff options
author | 2021-09-03 15:32:23 +0300 | |
---|---|---|
committer | 2021-09-05 16:23:09 -0400 | |
commit | 41116599a0731f4cd451e9d191d879ab45e31945 (patch) | |
tree | 01a3bacad148d17b65ee3cee335008447ac96a18 /include/uapi/linux/virtio_vsock.h | |
parent | virtio/vsock: rename 'EOR' to 'EOM' bit. (diff) | |
download | linux-41116599a0731f4cd451e9d191d879ab45e31945.tar.gz linux-41116599a0731f4cd451e9d191d879ab45e31945.tar.bz2 linux-41116599a0731f4cd451e9d191d879ab45e31945.zip |
virtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit.
This bit is used to handle POSIX MSG_EOR flag passed from
userspace in 'send*()' system calls. It marks end of each
record and is visible to receiver using 'recvmsg()' system
call.
Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20210903123225.3273425-1-arseny.krasnov@kaspersky.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/uapi/linux/virtio_vsock.h')
-rw-r--r-- | include/uapi/linux/virtio_vsock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_vsock.h b/include/uapi/linux/virtio_vsock.h index 8485b004a5f8..64738838bee5 100644 --- a/include/uapi/linux/virtio_vsock.h +++ b/include/uapi/linux/virtio_vsock.h @@ -98,6 +98,7 @@ enum virtio_vsock_shutdown { /* VIRTIO_VSOCK_OP_RW flags values */ enum virtio_vsock_rw { VIRTIO_VSOCK_SEQ_EOM = 1, + VIRTIO_VSOCK_SEQ_EOR = 2, }; #endif /* _UAPI_LINUX_VIRTIO_VSOCK_H */ |