summaryrefslogtreecommitdiff
path: root/node/EthernetTapFactory.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-07-31 14:09:32 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-07-31 14:09:32 -0700
commitb80c229d873ca51bf679ff9df90c8360dca5d0d7 (patch)
treee5c4342b78dcb83f6c9312fff42d073e1f134ae3 /node/EthernetTapFactory.hpp
parent9b93141dd0f39af70a867231ce8ba7cb34cd23e6 (diff)
downloadinfinitytier-b80c229d873ca51bf679ff9df90c8360dca5d0d7.tar.gz
infinitytier-b80c229d873ca51bf679ff9df90c8360dca5d0d7.zip
Tons of code cleanup, refactor Network to use EthernetTapFactory, probably also fix GitHub issue #90
Diffstat (limited to 'node/EthernetTapFactory.hpp')
-rw-r--r--node/EthernetTapFactory.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/node/EthernetTapFactory.hpp b/node/EthernetTapFactory.hpp
index fde458f9..17d697f5 100644
--- a/node/EthernetTapFactory.hpp
+++ b/node/EthernetTapFactory.hpp
@@ -89,11 +89,12 @@ public:
void *arg) = 0;
/**
- * Close an ethernet tap device
+ * Close an ethernet tap device and delete/free the tap object
*
* @param tap Tap instance
+ * @param destroyPersistentDevices If true, destroy persistent device (on platforms where applicable)
*/
- virtual void close(EthernetTap *tap) = 0;
+ virtual void close(EthernetTap *tap,bool destroyPersistentDevices) = 0;
/**
* @return All currently open tap device names