X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fnet.c;h=636939ea932c86025a8aa733a1327a313e374b92;hb=f6e7d776d102b98702382cad02602235a2491e71;hp=cf6025f1aa5ca6ecce389654be999ca135369476;hpb=9b9860651274cfb6e5a367b653e0d465bd89344f;p=fio.git diff --git a/engines/net.c b/engines/net.c index cf6025f1..636939ea 100644 --- a/engines/net.c +++ b/engines/net.c @@ -53,25 +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_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, @@ -89,9 +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_C_IO, }, { .name = NULL,