Searched hist:"41 b792d7" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/vsock/ |
H A D | util.h | 41b792d7 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 D | util.c | 41b792d7 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 D | vsock_test.c | 41b792d7 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>
|