History

can: gw: indicate and count deleted frames due to misconfiguration

Add a statistic counter to detect deleted frames due to misconfiguration with a new read-only CGW_DELETED netlink attribute for the CAN gateway.

Oliver Hartkopp committed 13 years ago

Commit e6afa001 parent be286ba2 files · +12 −1Browse files

Showing the changes to include/uapi/linux/can (1 of 2 files). Show all

Unified · Split

include/uapi/linux/can/gw.h+1−0
@@ -44,6 +44,7 @@ enum { · 43 unmodified lines
4444 CGW_SRC_IF, /* ifindex of source network interface */
4545 CGW_DST_IF, /* ifindex of destination network interface */
4646 CGW_FILTER, /* specify struct can_filter on source CAN device */
47+ CGW_DELETED, /* number of deleted CAN frames (see max_hops param) */
4748 __CGW_MAX
4849 };
4950