search for: control_host

Displaying 5 results from an estimated 5 matches for "control_host".

2019 Aug 01
0
[PATCH v2 07/11] VSOCK: add AF_VSOCK test cases
...equires a\n" + "listen address and the client requires an address to\n" + "connect to.\n" + "\n" + "The CID of the other side must be given with --peer-cid=<cid>.\n"); + exit(EXIT_FAILURE); +} + +int main(int argc, char **argv) +{ + const char *control_host = NULL; + const char *control_port = NULL; + struct test_opts opts = { + .mode = TEST_MODE_UNSET, + .peer_cid = VMADDR_CID_ANY, + }; + + init_signals(); + + for (;;) { + int opt = getopt_long(argc, argv, optstring, longopts, NULL); + + if (opt == -1) + break; + + switch (opt) { + case '...
2019 Oct 09
2
[PATCH v2 07/11] VSOCK: add AF_VSOCK test cases
..."connect to.\n" > + "\n" > + "The CID of the other side must be given with --peer-cid=<cid>.\n"); > + exit(EXIT_FAILURE); > +} > + > +int main(int argc, char **argv) > +{ > + const char *control_host = NULL; > + const char *control_port = NULL; > + struct test_opts opts = { > + .mode = TEST_MODE_UNSET, > + .peer_cid = VMADDR_CID_ANY, > + }; > + > + init_signals(); > + > + for (;;) { > + int opt...
2019 Oct 09
2
[PATCH v2 07/11] VSOCK: add AF_VSOCK test cases
..."connect to.\n" > + "\n" > + "The CID of the other side must be given with --peer-cid=<cid>.\n"); > + exit(EXIT_FAILURE); > +} > + > +int main(int argc, char **argv) > +{ > + const char *control_host = NULL; > + const char *control_port = NULL; > + struct test_opts opts = { > + .mode = TEST_MODE_UNSET, > + .peer_cid = VMADDR_CID_ANY, > + }; > + > + init_signals(); > + > + for (;;) { > + int opt...
2019 Aug 01
13
[PATCH v2 00/11] VSOCK: add vsock_test test suite
The vsock_diag.ko module already has a test suite but the core AF_VSOCK functionality has no tests. This patch series adds several test cases that exercise AF_VSOCK SOCK_STREAM socket semantics (send/recv, connect/accept, half-closed connections, simultaneous connections). Stefan: Do you think we should have a single application or is better to split it in single tests (e.g.
2019 Dec 18
13
[PATCH net-next v3 00/11] VSOCK: add vsock_test test suite
The vsock_diag.ko module already has a test suite but the core AF_VSOCK functionality has no tests. This patch series adds several test cases that exercise AF_VSOCK SOCK_STREAM socket semantics (send/recv, connect/accept, half-closed connections, simultaneous connections). The v1 of this series was originally sent by Stefan. v3: - Patch 6: * check the byte received in the recv_byte() * use