diff options
Diffstat (limited to 'include/uapi/linux/can')
| -rw-r--r-- | include/uapi/linux/can/gw.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/can/gw.h b/include/uapi/linux/can/gw.h index 3e6184cf2f6d..5079b9d57e31 100644 --- a/include/uapi/linux/can/gw.h +++ b/include/uapi/linux/can/gw.h | |||
| @@ -78,6 +78,7 @@ enum { | |||
| 78 | CGW_FILTER, /* specify struct can_filter on source CAN device */ | 78 | CGW_FILTER, /* specify struct can_filter on source CAN device */ |
| 79 | CGW_DELETED, /* number of deleted CAN frames (see max_hops param) */ | 79 | CGW_DELETED, /* number of deleted CAN frames (see max_hops param) */ |
| 80 | CGW_LIM_HOPS, /* limit the number of hops of this specific rule */ | 80 | CGW_LIM_HOPS, /* limit the number of hops of this specific rule */ |
| 81 | CGW_MOD_UID, /* user defined identifier for modification updates */ | ||
| 81 | __CGW_MAX | 82 | __CGW_MAX |
| 82 | }; | 83 | }; |
| 83 | 84 | ||
| @@ -162,6 +163,10 @@ enum { | |||
| 162 | * load time of the can-gw module). This value is used to reduce the number of | 163 | * load time of the can-gw module). This value is used to reduce the number of |
| 163 | * possible hops for this gateway rule to a value smaller then max_hops. | 164 | * possible hops for this gateway rule to a value smaller then max_hops. |
| 164 | * | 165 | * |
| 166 | * CGW_MOD_UID (length 4 bytes): | ||
| 167 | * Optional non-zero user defined routing job identifier to alter existing | ||
| 168 | * modification settings at runtime. | ||
| 169 | * | ||
| 165 | * CGW_CS_XOR (length 4 bytes): | 170 | * CGW_CS_XOR (length 4 bytes): |
| 166 | * Set a simple XOR checksum starting with an initial value into | 171 | * Set a simple XOR checksum starting with an initial value into |
| 167 | * data[result-idx] using data[start-idx] .. data[end-idx] | 172 | * data[result-idx] using data[start-idx] .. data[end-idx] |
