mbm
wire protocol
diagram
structures
Config
offset (bytes) | field | accepted values | width |
---|---|---|---|
0 | test protocol | 0 (TCP), 1 (UDP) | 32-bit |
4 | bit rate kbits/s | 0 - INT_MAX-1 | 32-bit |
8 | loss threshold | 0.0 - 1.0 | 64-bit |
Port
offset (bytes) | field | accepted values | width |
---|---|---|---|
0 | test port | 0 - 65535 | 16-bit |
Ready
offset (bytes) | field | accepted values | width |
---|---|---|---|
0 | ready | "READY" | 30-bit |
Chunk length
offset (bytes) | field | accepted values | width |
---|---|---|---|
0 | chunk length | 0 - INT_MAX-1 | 32-bit |
Data
offset (bytes) | field | accepted values | width |
---|---|---|---|
0 | sequence number | 0 - INT_MAX-1 | 32-bit |
4 | padding | * | chunk length - 32-bit |
Result
offset (bytes) | field | accepted values | width |
---|---|---|---|
0 | result | 0 (FAIL), 1 (PASS), 2 (INCONCLUSIVE), 3 (ERROR) | 32-bit |