Since which tap to use is chosen statically at compile time and the factories are gone, there is now no need for inheritance or virtual methods (indirect calls) here. Should improve performance slightly to get rid of them.

This commit is contained in:
Adam Ierymenko 2015-04-10 10:19:45 -07:00
parent 5e331d6733
commit 08a11a6f32
3 changed files with 11 additions and 200 deletions

View file

@ -576,11 +576,6 @@ bool OSXEthernetTap::updateMulticastGroups(std::set<MulticastGroup> &groups)
return changed;
}
bool OSXEthernetTap::injectPacketFromHost(const MAC &from,const MAC &to,unsigned int etherType,const void *data,unsigned int len)
{
return false;
}
void OSXEthernetTap::threadMain()
throw()
{