-
Notifications
You must be signed in to change notification settings - Fork 2
Module Delay Trace Delay
The trace delay module adds a delay to each packet according to a trace file. The module has inputs and outputs in both directions. The trace file can be set independently for each direction.
The trace format is compatible with the traces for Link'Em. Therefore, the files contain a sequence of integers separated by spaces. Each entry represents one packet. The value gives the delay that should be added to the packet in ms. Entries from multiple lines are concatenated. A space after the last element is not required. If the end of the trace is reached, it starts over from the beginning.
The traces have to be placed in config/traces/delay
and do not have any specific file extension (files with the extension .md
are ignored).
An example trace looks like follows:
16 42 32 64 64 256 42 8 128 42