summaryrefslogtreecommitdiffstats
path: root/quicktun.h
diff options
context:
space:
mode:
Diffstat (limited to 'quicktun.h')
-rw-r--r--quicktun.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/quicktun.h b/quicktun.h
index a363491..3eb6b04 100644
--- a/quicktun.h
+++ b/quicktun.h
@@ -1,8 +1,8 @@
#ifndef __QUICKTUN_H
#define __QUICKTUN_H
-#define QUICKTUN_TUN_DEV 0x0001
-#define QUICKTUN_TAP_DEV 0x0002
+#define QUICKTUN_MODE_ETHERNET 0x0001
+#define QUICKTUN_MODE_IP 0x0002
enum {
QUICKTUN_CMD_UNSPEC,
@@ -16,7 +16,7 @@ enum {
enum {
QUICKTUN_A_UNSPEC,
QUICKTUN_A_IFNAME,
- QUICKTUN_A_TYPE,
+ QUICKTUN_A_MODE,
QUICKTUN_A_LOCAL_ADDRESS,
QUICKTUN_A_LOCAL_PORT,
QUICKTUN_A_REMOTE_ADDRESS,