Skip to content

Commit 4111659

Browse files
Arseny Krasnovmstsirkin
authored andcommitted
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 <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent 9af8f10 commit 4111659

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/uapi/linux/virtio_vsock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ enum virtio_vsock_shutdown {
9898
/* VIRTIO_VSOCK_OP_RW flags values */
9999
enum virtio_vsock_rw {
100100
VIRTIO_VSOCK_SEQ_EOM = 1,
101+
VIRTIO_VSOCK_SEQ_EOR = 2,
101102
};
102103

103104
#endif /* _UAPI_LINUX_VIRTIO_VSOCK_H */

0 commit comments

Comments
 (0)