Add a statistic counter to detect deleted frames due to misconfiguration with a new read-only CGW_DELETED netlink attribute for the CAN gateway.
Showing the changes to include/uapi/linux/can (1 of 2 files). Show all
Unified · Split
| @@ -44,6 +44,7 @@ enum { · 43 unmodified lines | ||
| 44 | 44 | CGW_SRC_IF, /* ifindex of source network interface */ |
| 45 | 45 | CGW_DST_IF, /* ifindex of destination network interface */ |
| 46 | 46 | CGW_FILTER, /* specify struct can_filter on source CAN device */ |
| 47 | + CGW_DELETED, /* number of deleted CAN frames (see max_hops param) */ | |
| 47 | 48 | __CGW_MAX |
| 48 | 49 | }; |
| 49 | 50 | |