mirror of
https://github.com/rtbrick/bngblaster.git
synced 2024-05-06 15:54:57 +00:00
add support for jumbo frame streams
This commit is contained in:
+1
-1
@@ -610,7 +610,7 @@ Attribute | Description | Default
|
||||
`direction` | Mandatory stream direction (`upstream`, `downstream` or `both`) | `both`
|
||||
`priority` | IPv4 TOS / IPv6 TC | 0
|
||||
`vlan-priority` | VLAN priority | 0
|
||||
`length` | Layer 3 (IP + payload) traffic length (76 - 1500) | 128
|
||||
`length` | Layer 3 (IP + payload) traffic length (76 - 9000) | 128
|
||||
`pps` | Stream traffic rate in packets per second | 1
|
||||
`bps` | Stream traffic rate in bits per second (layer 3) |
|
||||
`network-ipv4-address` | Overwrite network interface IPv4 address |
|
||||
|
||||
+1
-1
@@ -588,7 +588,7 @@ json_parse_stream (bbl_ctx_s *ctx, json_t *stream, bbl_stream_config *stream_con
|
||||
value = json_object_get(stream, "length");
|
||||
if (value) {
|
||||
stream_config->length = json_number_value(value);
|
||||
if(stream_config->length < 76 || stream_config->length > 1500) {
|
||||
if(stream_config->length < 76 || stream_config->length > 9000) {
|
||||
fprintf(stderr, "JSON config error: Invalid value for stream->length\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user