![]() |
SolarCapture C Bindings User Guide
SF-115721-CD
Issue 3
|
Node to delay upstream packets by a random time within a given time range.
Node to delay upstream packets by a random time within a given time range. Randomness is achieved by performing a hash on the destination IP address and can be controlled using the num_lines argument.
If num_lines = 1:
usec/msec must be a single value.If num_lines > 1:
usec/msec must be a range of values <min_delay>-<max_delay>.| Argument | Optional? | Default | Type | Description |
|---|---|---|---|---|
| num_lines | Yes | 1 | SC_PARAM_INT | Number of lines used in the hash. |
| usec | Yes | NULL | SC_PARAM_STR | Set this to a string of the form "\<min_delay\>[-\<max_delay\>]" to set the delay time of the node in microseconds. |
| msec | Yes | NULL | SC_PARAM_STR | Set this to a string of the form "\<min_delay\>[-\<max_delay\>]" to set the delay time of the node in milliseconds. |
Note: One and only one of usec and msec must be set.
None
| Link | Description |
|---|---|
| "" | All packets are sent down this link. |