Emulated Ethernet Interface. More...
#include <senf/Ext/NetEmu/Ethernet/EmulatedEthernetInterface.hh>
Public Types | |
typedef TypedInterfaceDecorator< EmulatedEthernetInterface, WiredInterface::Decorator > | Decorator |
Public Member Functions | |
EmulatedEthernetInterface () | |
std::string const & | v_device () const override |
void | init () |
void | vlan (boost::uint16_t id) |
boost::uint16_t | vlan () const |
Emulated Ethernet Interface.
An EmulatedEthernetInterface represents implements the WiredInterface, WiredTransmitter and WiredReceiver API's in an EmulatedInterface.
Definition at line 36 of file EmulatedEthernetInterface.hh.
typedef TypedInterfaceDecorator< EmulatedEthernetInterface, WiredInterface::Decorator> senf::emu::EmulatedEthernetInterface::Decorator |
Definition at line 44 of file EmulatedEthernetInterface.hh.
senf::emu::EmulatedEthernetInterface::EmulatedEthernetInterface | ( | ) |
Definition at line 45 of file EmulatedEthernetInterface.cc.
void senf::emu::EmulatedEthernetInterface::init | ( | ) |
Definition at line 59 of file EmulatedEthernetInterface.cc.
|
override |
Definition at line 106 of file EmulatedEthernetInterface.cc.
void senf::emu::EmulatedEthernetInterface::vlan | ( | boost::uint16_t | id | ) |
Definition at line 99 of file EmulatedEthernetInterface.cc.
boost::uint16_t senf::emu::EmulatedEthernetInterface::vlan | ( | ) | const |
Definition at line 93 of file EmulatedEthernetInterface.cc.