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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -51,6 +51,7 @@ enum { · 50 unmodified lines | |||
| 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 | ||