summaryrefslogtreecommitdiff
path: root/node/EthernetTap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/EthernetTap.hpp')
-rw-r--r--node/EthernetTap.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/EthernetTap.hpp b/node/EthernetTap.hpp
index 292146bc..2083e9e9 100644
--- a/node/EthernetTap.hpp
+++ b/node/EthernetTap.hpp
@@ -62,6 +62,7 @@ public:
* @param renv Runtime environment
* @param mac MAC address of device
* @param mtu MTU of device
+ * @param desc If non-NULL, a description (not used on all OSes)
* @param handler Handler function to be called when data is received from the tap
* @param arg First argument to handler function
* @throws std::runtime_error Unable to allocate device
@@ -70,6 +71,7 @@ public:
const RuntimeEnvironment *renv,
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);