summaryrefslogtreecommitdiff
path: root/arch/um/drivers/vector_user.h
diff options
context:
space:
mode:
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>2019-08-09 10:40:17 +0300
committerRichard Weinberger <richard@nod.at>2019-09-15 22:37:08 +0300
commitb3b8ca2a1b63713f59e8d7ad772b09bcd8dc9048 (patch)
tree0011db879e9f96c8a9e1404cf9227dca9aa2445b /arch/um/drivers/vector_user.h
parent03e46a4d5b439079286e5e0c5211cee33e480c3a (diff)
downloadlinux-b3b8ca2a1b63713f59e8d7ad772b09bcd8dc9048.tar.xz
um: Add legacy tap support and rename existing vector to hybrid
1. Adds legacy tap support 2. Renames tap+raw as hybrid Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/vector_user.h')
-rw-r--r--arch/um/drivers/vector_user.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/um/drivers/vector_user.h b/arch/um/drivers/vector_user.h
index d7cbff73b7ff..6bf50cf78ad0 100644
--- a/arch/um/drivers/vector_user.h
+++ b/arch/um/drivers/vector_user.h
@@ -16,13 +16,15 @@
#define TRANS_TAP "tap"
#define TRANS_TAP_LEN strlen(TRANS_TAP)
-
#define TRANS_GRE "gre"
#define TRANS_GRE_LEN strlen(TRANS_RAW)
#define TRANS_L2TPV3 "l2tpv3"
#define TRANS_L2TPV3_LEN strlen(TRANS_L2TPV3)
+#define TRANS_HYBRID "hybrid"
+#define TRANS_HYBRID_LEN strlen(TRANS_HYBRID)
+
#ifndef IPPROTO_GRE
#define IPPROTO_GRE 0x2F
#endif