/tool/traffic-generator/raw-packet-template
当前显示英文原文,切换到「中文」可查看译文。
raw-packet-template
RouterOS directory reference for /tool/traffic-generator/raw-packet-template.
tool/traffic-generator/raw-packet-template
Type: Directory
| Flag | Name | Description |
|---|---|---|
D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
name | string | |
port | enum | |
header | string | |
data | enum (uninitialized | random | specific-byte | incrementing) { uninitialized:0, random:1, specific-byte:2, incrementing:3 } | |
data-byte | num | |
random-byte-offsets-and-masks | multi { array-id, array-id, offset-and-mask: composite { offset: num [ .. 256] , mask: num [ .. 255] } } | |
random-ranges | object { random-range: super { offset: num [ .. 256] , [width] :enum (8 | 16 | 32) { 8:8, 16:16, 32:32 } , [range] :range } } | |
ip-header-offset | multi { ip-header-offset: num [ .. 65535] } | |
ipv6-header-offset | multi { ipv6-header-offset: num [ .. 65535] } | |
udp-header-offset | multi { udp-header-offset: num [ .. 65535] } | |
udp-compute-checksum | multi { udp-compute-checksum: bool } | |
tcp-header-offset | multi { tcp-header-offset: num [ .. 65535] } | |
special-footer | bool | |
compute-checksum-from-offset | num |
| Read-only Argument | Type | Description |
|---|---|---|
header-length | num |