arg_options

Reference Documentation

product_line_custom
Napatech SmartNIC
category
Reference Information
struct argparse_option arg_options[]

Initial value

= { OPT_HELP(), OPT_INTEGER('p', "port", &opt_port, "Output port", NULL, 0, 0, "port number"), OPT_STRING( 'r', "rate", &opt_rate, "Transmit rate\n" "0 = line rate\n" "<rate> = <rate> Mbps\n" "<rate>K = <rate> Kbps\n" "<rate>M = <rate> Mbps\n" "<rate>G = <rate> Gbps", NULL, 0, 0, "value"), OPT_STRING( 's', "size", &opt_size, "Packet size - <value> = packet size (Size is aligned to 4 byte boundary\n" "r = random size\n" "i = increasing size from 64 bytes to 8192 bytes.\n" "d = decreasing size from 8192 bytes to 64 bytes.", NULL, 0, 0, "value"), OPT_END(), }

Table of valid options.

Definition at line 158 of file transmit_multifunction_example.c.