-
Notifications
You must be signed in to change notification settings - Fork 321
RandomBitErrors
Eddie Kohler edited this page Oct 17, 2017
·
3 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 2017/10/17.