search for: send1

Displaying 1 result from an estimated 1 matches for "send1".

Did you mean: send
2023 Mar 20
0
[RFC PATCH v1 3/3] test/vsock: skbuff merging test
...skbuff, it will be merged. */ >+ res = send(fd, "WORLD", strlen("WORLD"), 0); Ditto. >+ if (res != strlen("WORLD")) { >+ fprintf(stderr, "unexpected send(2) result %zi\n", res); >+ exit(EXIT_FAILURE); >+ } >+ >+ control_writeln("SEND1"); >+ /* Peer reads merged skbuff packet. */ >+ control_expectln("REPLY1"); >+ >+ close(fd); >+} >+ >+static void test_stream_virtio_skb_merge_server(const struct test_opts *opts) >+{ >+ unsigned char buf[64]; >+ ssize_t res; >+ int fd; >+ >+ fd...