aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/can
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2017-04-25 02:19:44 -0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-04-25 03:04:30 -0400
commita8f820a380a2a06fc4fe1a54159067958f800929 (patch)
tree4bb3226294328510737edbffe3d245166a8ed6fe /include/uapi/linux/can
parent1ef83310b81551079af992c4cbb5e089dd1397be (diff)
can: add Virtual CAN Tunnel driver (vxcan)
Similar to the virtual ethernet driver veth, vxcan implements a local CAN traffic tunnel between two virtual CAN network devices. See Kconfig entry for details. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/uapi/linux/can')
-rw-r--r--include/uapi/linux/can/vxcan.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/can/vxcan.h b/include/uapi/linux/can/vxcan.h
new file mode 100644
index 000000000000..ffb0b7156f7e
--- /dev/null
+++ b/include/uapi/linux/can/vxcan.h
@@ -0,0 +1,12 @@
1#ifndef _UAPI_CAN_VXCAN_H
2#define _UAPI_CAN_VXCAN_H
3
4enum {
5 VXCAN_INFO_UNSPEC,
6 VXCAN_INFO_PEER,
7
8 __VXCAN_INFO_MAX
9#define VXCAN_INFO_MAX (__VXCAN_INFO_MAX - 1)
10};
11
12#endif