#include <senf/Ext/NetEmu/Ethernet/EthernetAnnotator.hh>
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::EthernetPacket > | input |
ppi::connector::ActiveOutput< senf::EthernetPacket > | output |
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::DirectoryNode & | sysConsoleDir () const |
void | destroy () |
Definition at line 31 of file EthernetAnnotator.hh.
senf::emu::EthernetAnnotator::EthernetAnnotator | ( | bool | rxMode, |
bool | mmapMode, | ||
senf::MACAddress const & | id_ = senf::MACAddress::None |
||
) |
Definition at line 25 of file EthernetAnnotator.cc.
void senf::emu::EthernetAnnotator::annotate | ( | bool | a | ) |
Definition at line 59 of file EthernetAnnotator.cc.
bool senf::emu::EthernetAnnotator::annotate | ( | ) | const |
Definition at line 70 of file EthernetAnnotator.cc.
void senf::emu::EthernetAnnotator::clearTag | ( | ) |
Definition at line 175 of file EthernetAnnotator.cc.
void senf::emu::EthernetAnnotator::id | ( | MACAddress const & | id | ) |
Definition at line 48 of file EthernetAnnotator.cc.
senf::MACAddress const & senf::emu::EthernetAnnotator::id | ( | ) | const |
Definition at line 53 of file EthernetAnnotator.cc.
void senf::emu::EthernetAnnotator::insertTag | ( | VLanId const & | pvid | ) |
Definition at line 163 of file EthernetAnnotator.cc.
void senf::emu::EthernetAnnotator::promisc | ( | bool | p | ) |
Definition at line 76 of file EthernetAnnotator.cc.
void senf::emu::EthernetAnnotator::removeTag | ( | VLanId const & | pvid | ) |
Definition at line 169 of file EthernetAnnotator.cc.
std::uint32_t senf::emu::EthernetAnnotator::vlanMismatch | ( | ) |
Definition at line 86 of file EthernetAnnotator.cc.
ppi::connector::PassiveInput<senf::EthernetPacket> senf::emu::EthernetAnnotator::input |
Definition at line 34 of file EthernetAnnotator.hh.
ppi::connector::ActiveOutput<senf::EthernetPacket> senf::emu::EthernetAnnotator::output |
Definition at line 38 of file EthernetAnnotator.hh.