17 #ifndef IH_SENF_Ext_NetEmu_Ethernet_EthernetAnnotator_ 18 #define IH_SENF_Ext_NetEmu_Ethernet_EthernetAnnotator_ 1 29 typedef std::function<void (senf::EthernetPacket const & eth)>
HandleEthPkt;
57 void requestRxMMAPpromisc();
69 std::uint32_t vlanMismatch_;
70 HandleEthPkt handle_pkt;
static MACAddress const None
EthernetAnnotator(bool rxMode, bool mmapMode, senf::MACAddress const &id_=senf::MACAddress::None)
ppi::connector::ActiveOutput< senf::EthernetPacket > output
std::uint32_t vlanMismatch()
void insertTag(VLanId const &pvid)
MACAddress const & id() const
ppi::connector::PassiveInput< senf::EthernetPacket > input
void removeTag(VLanId const &pvid)
#define SENF_PPI_MODULE(name)
std::function< void(senf::EthernetPacket const ð)> HandleEthPkt
ConcretePacket< EthernetPacketType > EthernetPacket