summaryrefslogtreecommitdiff
path: root/osdep/OSXEthernetTap.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-10 10:19:45 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-10 10:19:45 -0700
commit08a11a6f32329d26e5e85b7f66e66591d2fd1069 (patch)
treed04eee243f857ff82ce7e5eb43e63666379fe9ec /osdep/OSXEthernetTap.cpp
parent5e331d673388f4fdc2eded418f63208dcaec63af (diff)
downloadinfinitytier-08a11a6f32329d26e5e85b7f66e66591d2fd1069.tar.gz
infinitytier-08a11a6f32329d26e5e85b7f66e66591d2fd1069.zip
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.
Diffstat (limited to 'osdep/OSXEthernetTap.cpp')
-rw-r--r--osdep/OSXEthernetTap.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/osdep/OSXEthernetTap.cpp b/osdep/OSXEthernetTap.cpp
index 396605c5..eddf787a 100644
--- a/osdep/OSXEthernetTap.cpp
+++ b/osdep/OSXEthernetTap.cpp
@@ -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()
{