]> git.baikalelectronics.ru Git - kernel.git/commit
VSOCK: add send_byte()/recv_byte() test utilities
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 18 Dec 2019 18:07:03 +0000 (19:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Dec 2019 05:09:21 +0000 (21:09 -0800)
commitbd9dacd5e2a38b2f93bcf8a8f40066ff2545353f
tree3010c94e4a2c20438d1eab4f0362c3d7ac5c57a9
parenta7465cb07484f1bb720f02be6bc863ecbcf9a29b
VSOCK: add send_byte()/recv_byte() test utilities

Test cases will want to transfer data.  This patch adds utility
functions to do this.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/vsock/util.c
tools/testing/vsock/util.h