diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-10 10:19:45 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-10 10:19:45 -0700 |
commit | 08a11a6f32329d26e5e85b7f66e66591d2fd1069 (patch) | |
tree | d04eee243f857ff82ce7e5eb43e63666379fe9ec /osdep/OSXEthernetTap.cpp | |
parent | 5e331d673388f4fdc2eded418f63208dcaec63af (diff) | |
download | infinitytier-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.cpp | 5 |
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() { |