senf::emu::EthernetAnnotator Class Reference

#include <senf/Ext/NetEmu/Ethernet/EthernetAnnotator.hh>

Inheritance diagram for senf::emu::EthernetAnnotator:

Public Member Functions

 EthernetAnnotator (bool rxMode, bool mmapMode, senf::MACAddress const &id_=senf::MACAddress::None)
 
void id (MACAddress const &id)
 
MACAddress const & id () const
 
void promisc (bool p)
 
void insertTag (VLanId const &pvid)
 
void removeTag (VLanId const &pvid)
 
void clearTag ()
 
void annotate (bool a)
 
bool annotate () const
 
std::uint32_t vlanMismatch ()
 
- Public Member Functions inherited from senf::ppi::module::Module
virtual ~Module ()
 

Public Attributes

ppi::connector::PassiveInput< senf::EthernetPacketinput
 
ppi::connector::ActiveOutput< senf::EthernetPacketoutput
 

Additional Inherited Members

- Protected Member Functions inherited from senf::ppi::module::Module
 Module ()
 
Route< connector::InputConnector, connector::OutputConnector > & route (connector::InputConnector &input, connector::OutputConnector &output)
 
Route< connector::InputConnector, EventDescriptor > & route (connector::InputConnector &input, EventDescriptor &output)
 
Route< EventDescriptor, connector::OutputConnector > & route (EventDescriptor &input, connector::OutputConnector &output)
 
void noroute (connector::Connector &connector)
 
void registerEvent (EventDescriptor &descriptor, Target target)
 
ClockService::clock_type const & time () const
 
ClockService::clock_type const & now () const
 
virtual void v_init ()
 
console::DirectoryNodesysConsoleDir () const
 
void destroy ()
 

Detailed Description

Definition at line 31 of file EthernetAnnotator.hh.

Constructor & Destructor Documentation

◆ EthernetAnnotator()

senf::emu::EthernetAnnotator::EthernetAnnotator ( bool  rxMode,
bool  mmapMode,
senf::MACAddress const &  id_ = senf::MACAddress::None 
)

Definition at line 25 of file EthernetAnnotator.cc.

Member Function Documentation

◆ annotate() [1/2]

void senf::emu::EthernetAnnotator::annotate ( bool  a)

Definition at line 59 of file EthernetAnnotator.cc.

◆ annotate() [2/2]

bool senf::emu::EthernetAnnotator::annotate ( ) const

Definition at line 70 of file EthernetAnnotator.cc.

◆ clearTag()

void senf::emu::EthernetAnnotator::clearTag ( )

Definition at line 175 of file EthernetAnnotator.cc.

◆ id() [1/2]

void senf::emu::EthernetAnnotator::id ( MACAddress const &  id)

Definition at line 48 of file EthernetAnnotator.cc.

◆ id() [2/2]

senf::MACAddress const & senf::emu::EthernetAnnotator::id ( ) const

Definition at line 53 of file EthernetAnnotator.cc.

◆ insertTag()

void senf::emu::EthernetAnnotator::insertTag ( VLanId const &  pvid)

Definition at line 163 of file EthernetAnnotator.cc.

◆ promisc()

void senf::emu::EthernetAnnotator::promisc ( bool  p)

Definition at line 76 of file EthernetAnnotator.cc.

◆ removeTag()

void senf::emu::EthernetAnnotator::removeTag ( VLanId const &  pvid)

Definition at line 169 of file EthernetAnnotator.cc.

◆ vlanMismatch()

std::uint32_t senf::emu::EthernetAnnotator::vlanMismatch ( )

Definition at line 86 of file EthernetAnnotator.cc.

Member Data Documentation

◆ input

ppi::connector::PassiveInput<senf::EthernetPacket> senf::emu::EthernetAnnotator::input

Definition at line 34 of file EthernetAnnotator.hh.

◆ output

ppi::connector::ActiveOutput<senf::EthernetPacket> senf::emu::EthernetAnnotator::output

Definition at line 38 of file EthernetAnnotator.hh.


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