**This is automatically generated documentation.** Edit after the "[[#COMMENTS|COMMENTS]]" heading; changes to the main body will be lost. ====== 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\\ **Package**: standard (core)\\ ===== 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. ===== SEE ALSO ===== [[RandomSample]] Generated by 'click-elem2man' from '../elements/standard/randomerror.hh' on 24/May/2007. ===== COMMENTS =====