Interface API base class for receive capable interfaces. More...

#include <senf/Ext/NetEmu/InterfaceAPI.hh>

Inheritance diagram for senf::emu::Receiver:

Public Member Functions

virtual ~Receiver ()
 
bool annotationMode () const
 Get interface annotationMode status. More...
 
void annotationMode (bool a)
 Enable/Disable AnnotationPackets for each frame. More...
 
bool promisc () const
 Get interface promiscuous status. More...
 
void promisc (bool v)
 Change interface promiscuous status. More...
 
void mcAdd (senf::MACAddress const &address)
 
void mcDrop (senf::MACAddress const &address)
 
void flushRxQueues ()
 Flush Rx Queues. More...
 

Public Attributes

ppi::connector::ActiveOutputJack< EthernetPacketoutput
 

Detailed Description

Interface API base class for receive capable interfaces.

See also
NetEmu interface API

Definition at line 307 of file InterfaceAPI.hh.

Constructor & Destructor Documentation

◆ ~Receiver()

virtual senf::emu::Receiver::~Receiver ( )
virtual

Member Function Documentation

◆ annotationMode() [1/2]

bool senf::emu::Receiver::annotationMode ( ) const

Get interface annotationMode status.

◆ annotationMode() [2/2]

void senf::emu::Receiver::annotationMode ( bool  a)

Enable/Disable AnnotationPackets for each frame.

◆ flushRxQueues()

void senf::emu::Receiver::flushRxQueues ( )

Flush Rx Queues.

◆ mcAdd()

void senf::emu::Receiver::mcAdd ( senf::MACAddress const &  address)

◆ mcDrop()

void senf::emu::Receiver::mcDrop ( senf::MACAddress const &  address)

◆ promisc() [1/2]

bool senf::emu::Receiver::promisc ( ) const

Get interface promiscuous status.

◆ promisc() [2/2]

void senf::emu::Receiver::promisc ( bool  v)

Change interface promiscuous status.

Member Data Documentation

◆ output

ppi::connector::ActiveOutputJack<EthernetPacket> senf::emu::Receiver::output

Definition at line 313 of file InterfaceAPI.hh.


The documentation for this class was generated from the following files: