X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fnet.c;h=566ad2d7482c8f19e3597b9d578882f1ce351feb;hp=31f7151089a56b9d1047e65d10c6f48efdbccbb0;hb=22f80458a520d0c5371c64bf91d24cdd21dff825;hpb=d686990a3c4bf23823d78c9b69196b24028491ee diff --git a/engines/net.c b/engines/net.c index 31f71510..566ad2d7 100644 --- a/engines/net.c +++ b/engines/net.c @@ -58,25 +58,31 @@ static int str_hostname_cb(void *data, const char *input); static struct fio_option options[] = { { .name = "hostname", + .lname = "net engine hostname", .type = FIO_OPT_STR_STORE, .cb = str_hostname_cb, .help = "Hostname for net IO engine", + .category = FIO_OPT_C_IO, }, { .name = "port", + .lname = "net engine port", .type = FIO_OPT_INT, .off1 = offsetof(struct netio_options, port), .minval = 1, .maxval = 65535, .help = "Port to use for TCP or UDP net connections", + .category = FIO_OPT_C_IO, }, { .name = "protocol", + .lname = "net engine protocol", .alias = "proto", .type = FIO_OPT_STR, .off1 = offsetof(struct netio_options, proto), .help = "Network protocol to use", .def = "tcp", + .category = FIO_OPT_C_IO, .posval = { { .ival = "tcp", .oval = FIO_TYPE_TCP, @@ -102,9 +108,11 @@ static struct fio_option options[] = { #endif { .name = "listen", + .lname = "net engine listen", .type = FIO_OPT_STR_SET, .off1 = offsetof(struct netio_options, listen), .help = "Listen for incoming TCP connections", + .category = FIO_OPT_C_IO, }, { .name = "pingpong",