byteblowerll.byteblower.OutOfSequence

class byteblowerll.byteblower.OutOfSequence(*args, **kwargs)

Receive-side packet processor which checks out-of-sequence on the incoming frames, matching a filter.

This out-of-sequence detection is always active and starts processing frames as soon as it is created. Processing continues until the packet processor is destructed.

The sequence number of a packet is obtained from an out-of-sequence tag in the frame. This tag is configured on the FrameTagTx, which can be obtained via Frame.FrameTagSequenceGet().

Note

The initial (empty) filter string accepts all incoming frames. See FilterSet() for filtering information.

A basic out-of-sequence object can be created via a ByteBlowerPort, using ByteBlowerPort.RxOutOfSequenceBasicAdd()

This packet processor processes frames received on the ByteBlower interface where its parent ByteBlowerPort is located.

Example

Receive all frames on “trunk-1-33” of some server, matching UDP source or destination port 123.

outOfSequence_trigger = port.RxOutOfSequenceBasicAdd()
outOfSequence_trigger.FilterSet('udp port 4096')
__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

DescriptionGet(*args) Gets a textual description for the current object
FilterGet() Returns the current installed BPF filter string.
FilterSet(arg2) Sets a BPF filter on a RX object.
FrameTagDefaultSet()
FrameTagGet()
FrameTagSet(fromFrameTagTx)
ParentGet() Returns the parent object.
Refresh() Retrieves the latest data from the server for this object.
ResultClear() Resets the counter values to zero and empties the ResultHistory.
ResultGet() Returns the current accumulated trigger results.
ResultHistoryGet() Returns the history of the results.
__init__(*args, **kwargs) Initialize self.

Attributes

thisown The membership flag