17 #ifndef HH_SENF_Ext_NetEmu_TAP_TAPEthernetInterface_ 18 #define HH_SENF_Ext_NetEmu_TAP_TAPEthernetInterface_ 1 42 :
private detail::TAPEthernetInterfaceNet,
53 std::string
const &
v_device()
const override;
69 virtual unsigned v_mtu()
const override;
70 virtual void v_mtu(
unsigned v)
override;
80 virtual bool v_enabled()
const override;
81 virtual void v_id(
MACAddress const &
id)
override;
82 virtual bool v_annotationMode()
const override;
83 virtual void v_annotationMode(
bool a)
override;
84 virtual bool v_promisc()
const override;
85 virtual void v_promisc(
bool v)
override;
86 virtual void v_mcAdd(
MACAddress const & address)
override;
87 virtual void v_mcDrop(
MACAddress const & address)
override;
88 virtual void v_flushRxQueues()
override;
92 void dumpMmapStats(std::ostream & os);
94 friend struct detail::TAPEthernetInterfaceNet;
std::string const & v_device() const override
WLANController public header.
Hardware Ethernet Interface.
TypedInterfaceDecorator< TAPEthernetInterface, Interface::Decorator > Decorator
std::uint32_t vlanMismatchTx()
friend class TAPAnnotator
virtual void v_disable() override
Called to disable interface.
InterfaceAPIBase public header.
EthernetController & ethController()
std::uint32_t vlanMismatchRx()
Hardware interface base class.
virtual void v_enable() override
Called to enable interface.
TAPEthernetInterface(std::string const &name)
virtual unsigned v_mtu() const override
Called to get interface MTU.
Specialized Interface decorator base-class.
VLanId const & pvid() const
Generic Interface decorator base-class.
Control ethernet interfaces.
unsigned maxBurst() const
EthernetInterface public header.