Emulated interface base-class for wired interfaces. More...
#include <senf/Ext/NetEmu/EmulatedInterface.hh>
Protected Member Functions | |
void | init () |
Protected Member Functions inherited from senf::emu::EmulatedInterface | |
EmulatedInterface () | |
void | init () |
void | emulationAddress (UDPClientHandle::Address const &address) |
Change the emulated traffic multicast address. More... | |
void | enableEmulatedInterface () |
Enable the interface. More... | |
void | disableEmulatedInterface () |
Disable the interface. More... | |
bool | emulatedInterfaceEnabled () const |
Get current interface state. More... | |
virtual void | v_initEmulationInterface ()=0 |
Called to initialize the emulated interface. More... | |
virtual void | v_deinitEmulationInterface ()=0 |
Called to shut down the emulated interface. More... | |
Additional Inherited Members | |
Public Member Functions inherited from senf::emu::EmulatedInterface | |
virtual | ~EmulatedInterface () |
UDPClientHandle | emulationSocket () const |
Get the emulation socket handle. More... | |
UDPClientHandle::Address | emulationAddress () const |
Get current emulated traffic multicast address. More... | |
void | emulationInterface (std::string const &interface) |
Set interface on which to send/receive emulated traffic. More... | |
std::string const & | emulationInterface () const |
Get interface on which emulated traffic is sent/received. More... | |
std::uint32_t const & | interfaceIndex () const |
Emulated interface base-class for wired interfaces.
Definition at line 274 of file EmulatedInterface.hh.
|
protected |
Definition at line 415 of file EmulatedInterface.cc.