port
tool/traffic-generator/port
Type: Directory
Ports bind an interface to the traffic generator for transmitting and receiving generated packets. See the Traffic Generator guide.
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| I | invalid | invalid |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| name | string | Descriptive name of the port. |
| interface ( mandatory ) | iface_enum | Name of the interface associated with the port. Mandatory. |
| Read-only Argument | Type | Description |
|---|---|---|
| first-header | enum (mac | vlan | ip | udp | raw | ipv6 | tcp) { mac:1, vlan:2, ip:3, udp:4, raw:5, ipv6:6, tcp:7 } | Suggested first header for packets sent out of this interface. Can be used when creating packet templates. |