Emulated Ethernet Interface. More...

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

Inheritance diagram for senf::emu::EmulatedEthernetInterface:

Public Types

typedef TypedInterfaceDecorator< EmulatedEthernetInterface, WiredInterface::DecoratorDecorator
 

Public Member Functions

 EmulatedEthernetInterface ()
 
std::string const & v_device () const override
 
void init ()
 
void vlan (boost::uint16_t id)
 
boost::uint16_t vlan () const
 

Detailed Description

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.

Member Typedef Documentation

◆ Decorator

Constructor & Destructor Documentation

◆ EmulatedEthernetInterface()

senf::emu::EmulatedEthernetInterface::EmulatedEthernetInterface ( )

Definition at line 45 of file EmulatedEthernetInterface.cc.

Member Function Documentation

◆ init()

void senf::emu::EmulatedEthernetInterface::init ( )

Definition at line 59 of file EmulatedEthernetInterface.cc.

◆ v_device()

std::string const & senf::emu::EmulatedEthernetInterface::v_device ( ) const
override

Definition at line 106 of file EmulatedEthernetInterface.cc.

◆ vlan() [1/2]

void senf::emu::EmulatedEthernetInterface::vlan ( boost::uint16_t  id)

Definition at line 99 of file EmulatedEthernetInterface.cc.

◆ vlan() [2/2]

boost::uint16_t senf::emu::EmulatedEthernetInterface::vlan ( ) const

Definition at line 93 of file EmulatedEthernetInterface.cc.


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