cangw: support new can-gw features for Linux 3.9+
authorOliver Hartkopp <socketcan@hartkopp.net>
Tue, 29 Jan 2013 19:17:52 +0000 (20:17 +0100)
committerOliver Hartkopp <socketcan@hartkopp.net>
Tue, 29 Jan 2013 19:17:52 +0000 (20:17 +0100)
commit9dad9f7354f069e5219172a5b0e30219eb616d18
tree2569ade2efd9bb9ba0aa0768f7a38d1a75ce7e6e
parent221794dbe815019cb9480c90f10174e251807923
cangw: support new can-gw features for Linux 3.9+

Added new option '-i' for can-gw rules to allow to route CAN frames back to the
originating/incoming CAN interface (which is disabled by default).

CAN frames that are deleted due to the violation of the max_hops limit are now
printed when displaying the configured rules with 'cangw -L'.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
cangw.c
include/socketcan/can/gw.h