plcrate: introduce command line parameter -s #117
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This introduces the commmand line switch -s which allows to
fine-control the network traffic generation: it suppresses
the generation of "antiphon" traffic, i.e. RX traffic (from
remote peer to local one) and thus speed-ups network testing
scenarios. This flag is only used in combination with
-t flag (one-to-many case) - the many-to-many case (-T) is
not affected.
For this is (re-)uses a flag PLC_TXONLY which requires minor
changes in amprate to keep existing behaviour of amprate.
(this flag was not usable in amprate - so I guess it is ok).
Also the man page is updated for plcrate to document this new
parameter.
Signed-off-by: Michael Heimpold [email protected]