summaryrefslogtreecommitdiffstats
path: root/quicktun.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-04-14 17:07:51 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-04-14 17:07:51 +0200
commitb476556d447c07244e71ff15d832efb19109ae29 (patch)
treedf51e7bd081e9b83a7b09aa4bb680cfa3fa7f6f6 /quicktun.h
parent888629be2dd5a0b7d2d6707efc8315c96dfb8867 (diff)
downloadmodquicktun-b476556d447c07244e71ff15d832efb19109ae29.tar
modquicktun-b476556d447c07244e71ff15d832efb19109ae29.zip
Handle packets correctly in IP 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,