You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
RandomBitErrors Element Documentation
NAME
RandomBitErrors — Click element;
changes packet data with some probability
SYNOPSIS
RandomBitErrors(P [, KIND, ACTIVE])
Ports: 1 input, 1 output Processing: agnostic
DESCRIPTION
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.
ELEMENT HANDLERS
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.