diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2013-01-17 12:43:41 -0500 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-01-26 10:59:01 -0500 |
commit | d904d3edcbb26efc86ea3575bb4265559801a94b (patch) | |
tree | 3589f467d029ea18c1740841ba5dd12323bc3b7a /include/uapi/linux/can | |
parent | 156c2bb9f88065c8da78814f98fde665a5cbb527 (diff) |
can: gw: make routing to the incoming CAN interface configurable
Introduce new configuration flag CGW_FLAGS_CAN_IIF_TX_OK to configure if a
CAN sk_buff that has been routed with can-gw is allowed to be send back to
the originating CAN interface.
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/gw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/can/gw.h b/include/uapi/linux/can/gw.h index 8e1db18c3cb6..0505c7f86213 100644 --- a/include/uapi/linux/can/gw.h +++ b/include/uapi/linux/can/gw.h | |||
@@ -51,6 +51,7 @@ enum { | |||
51 | 51 | ||
52 | #define CGW_FLAGS_CAN_ECHO 0x01 | 52 | #define CGW_FLAGS_CAN_ECHO 0x01 |
53 | #define CGW_FLAGS_CAN_SRC_TSTAMP 0x02 | 53 | #define CGW_FLAGS_CAN_SRC_TSTAMP 0x02 |
54 | #define CGW_FLAGS_CAN_IIF_TX_OK 0x04 | ||
54 | 55 | ||
55 | #define CGW_MOD_FUNCS 4 /* AND OR XOR SET */ | 56 | #define CGW_MOD_FUNCS 4 /* AND OR XOR SET */ |
56 | 57 | ||