Usually the received CAN frames can be processed/routed as much as 'max_hops' times (which is given at module load time of the can-gw module). Introduce a new configuration option ( -l <hops> ) to reduce the number of possible hops for a specific gateway rule to a value smaller then max_hops. Mainline upstream commit: http://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=391ac1282dd7ff1cb8245cccc5262e8e4173edc4 Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> |
||
|---|---|---|
| .. | ||
| can | ||
| can.h | ||