summaryrefslogtreecommitdiff
path: root/node/EthernetTap.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-21 08:13:48 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-21 08:13:48 -0400
commit2536352e5d166719acc87535ed17a805e7bd3c26 (patch)
treeeb676d506f419c410e0dda711273f5dcfcc6bb79 /node/EthernetTap.cpp
parentdbb509a30234059fb6de10cfcd9ba1aade6a0138 (diff)
downloadinfinitytier-2536352e5d166719acc87535ed17a805e7bd3c26.tar.gz
infinitytier-2536352e5d166719acc87535ed17a805e7bd3c26.zip
Make that an arbitrary tag to identify persistent taps...
Diffstat (limited to 'node/EthernetTap.cpp')
-rw-r--r--node/EthernetTap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/EthernetTap.cpp b/node/EthernetTap.cpp
index 88096470..1cc15c14 100644
--- a/node/EthernetTap.cpp
+++ b/node/EthernetTap.cpp
@@ -146,9 +146,9 @@ static Mutex __tapCreateLock;
#ifdef __LINUX__
EthernetTap::EthernetTap(
const RuntimeEnvironment *renv,
+ const char *tag,
const MAC &mac,
unsigned int mtu,
- const char *desc,
void (*handler)(void *,const MAC &,const MAC &,unsigned int,const Buffer<4096> &),
void *arg)
throw(std::runtime_error) :
@@ -247,9 +247,9 @@ EthernetTap::EthernetTap(
#ifdef __APPLE__
EthernetTap::EthernetTap(
const RuntimeEnvironment *renv,
+ const char *tag,
const MAC &mac,
unsigned int mtu,
- const char *desc,
void (*handler)(void *,const MAC &,const MAC &,unsigned int,const Buffer<4096> &),
void *arg)
throw(std::runtime_error) :