X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fnet.c;h=a70e56e6d5095b01455a6f2ca234448dbe7635f0;hp=624ff1589ead802714c0bc15171d7730464e4586;hb=8ea39c32d29428b17bfe9c806fc33f0c8adfe118;hpb=9c639a76200286bc6db7cefefef425cff65b0d78 diff --git a/engines/net.c b/engines/net.c index 624ff158..a70e56e6 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",