-
Notifications
You must be signed in to change notification settings - Fork 81
TimedSource
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
TimedSource — Click element; periodically generates a packet
TimedSource([INTERVAL, DATA, KEYWORDS])
Ports: no inputs, 1 output
Processing: push
Creates packets consisting of DATA. Pushes such a packet out its single output about once every INTERVAL seconds. Default INTERVAL is 500 milliseconds; default DATA is at least 64 bytes long.
Keyword arguments are:
- DATA — String. Same as the DATA argument.
- INTERVAL — Time. Same as the INTERVAL argument.
- LIMIT — Integer. Stops sending after LIMIT packets are generated; but if LIMIT is negative, sends packets forever.
- HEADROOM — Unsigned integer. Sets the amount of headroom on generated packets. Default is the default packet headroom.
- STOP — Boolean. If true, then stop the driver once LIMIT packets are sent. Default is false.
TimedSource(INTERVAL 0.333) -> ...
- data (read/write) — Returns or sets the DATA parameter.
- interval (read/write) — Returns or sets the INTERVAL parameter.
Generated by click-elem2man from ../elements/standard/timedsource.hh:7
on 2018/10/03.