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

Receive-side packet processor which counts the incoming frames, matching a filter.

This trigger is always active and starts counting frames as soon as it is created. Counting continues until the trigger is destructed.


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

A basic trigger object can be created via a ByteBlowerPort, using ByteBlowerPort.RxTriggerBasicAdd()

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


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

port = bbServer.PortCreate('trunk-1-2')
trigger = port.RxTriggerBasicAdd()
bpf_filter = 'udp port 67'
__init__(*args, **kwargs)


DescriptionGet(*args) Gets a textual description for the current object
FilterGet() Returns the current installed BPF filter string.
FilterSet(filter) Sets a BPF filter on a RX object.
ParentGet() Returns the parent object.
Refresh() Retrieves the latest data from the server for this object.
ResultClear() Resets the counter values to zero.
ResultGet() Returns the current result counters.
ResultHistoryGet() Returns the current History counters.
__init__(*args, **kwargs)