X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fnet.c;h=636939ea932c86025a8aa733a1327a313e374b92;hb=de26d51f3e909997c9a500bf9f15a1bd5c18bb49;hp=55c8ab2904d6c89be6062a310bd43e11964889c8;hpb=e231bbe64fffda2090b74941efe21d9c0013cd1e;p=fio.git diff --git a/engines/net.c b/engines/net.c index 55c8ab29..636939ea 100644 --- a/engines/net.c +++ b/engines/net.c @@ -53,28 +53,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_G_IO_ENG, + .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_G_IO_ENG, + .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_G_IO_ENG, + .category = FIO_OPT_C_IO, .posval = { { .ival = "tcp", .oval = FIO_TYPE_TCP, @@ -92,10 +95,11 @@ static struct fio_option options[] = { }, { .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_G_IO_ENG, + .category = FIO_OPT_C_IO, }, { .name = NULL,