Home
last modified time | relevance | path

Searched hist:"41 b792d7" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/vsock/
H A Dutil.h41b792d7 Fri Jun 11 06:14:04 CDT 2021 Arseny Krasnov <arseny.krasnov@kaspersky.com> vsock_test: add SOCK_SEQPACKET tests

Implement two tests of SOCK_SEQPACKET socket: first sends data by
several 'write()'s and checks that number of 'read()' were same.
Second test checks MSG_TRUNC flag. Cases for connect(), bind(),
etc. are not tested, because it is same as for stream socket.

Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dutil.c41b792d7 Fri Jun 11 06:14:04 CDT 2021 Arseny Krasnov <arseny.krasnov@kaspersky.com> vsock_test: add SOCK_SEQPACKET tests

Implement two tests of SOCK_SEQPACKET socket: first sends data by
several 'write()'s and checks that number of 'read()' were same.
Second test checks MSG_TRUNC flag. Cases for connect(), bind(),
etc. are not tested, because it is same as for stream socket.

Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dvsock_test.c41b792d7 Fri Jun 11 06:14:04 CDT 2021 Arseny Krasnov <arseny.krasnov@kaspersky.com> vsock_test: add SOCK_SEQPACKET tests

Implement two tests of SOCK_SEQPACKET socket: first sends data by
several 'write()'s and checks that number of 'read()' were same.
Second test checks MSG_TRUNC flag. Cases for connect(), bind(),
etc. are not tested, because it is same as for stream socket.

Signed-off-by: Arseny Krasnov <arseny.krasnov@kaspersky.com>
Signed-off-by: David S. Miller <davem@davemloft.net>