-
Notifications
You must be signed in to change notification settings - Fork 82
RandomBitErrors
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
RandomBitErrors — Click element; changes packet data with some probability
RandomBitErrors(P [, KIND, ACTIVE])
Ports: 1 input, 1 output
Processing: agnostic
Change each bit in each packet with probability P. The KIND parameter determines the kind of change. `flip' (the default) flips bits, `set' sets bits to one, and `clear' sets bits to zero.
RandomBitErrors can be active or inactive. It only changes bits when active. It starts out active by default, but if you pass `false' for the ACTIVE parameter, it will start out inactive.
- p_bit_error (read/write) — Returns or sets the P probability parameter.
- error_kind (read/write) — Returns or sets the KIND parameter.
- active (read/write) — Makes the element active or inactive.
Generated by click-elem2man from ../elements/standard/randomerror.hh:6
on 2018/10/03.