Lines Matching +full:frame +full:- +full:number
1 /* SPDX-License-Identifier: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) */
5 * Definitions for CAN frame Gateway/Router/Bridge
60 CGW_TYPE_CAN_CAN, /* CAN->CAN routing */
64 #define CGW_TYPE_MAX (__CGW_TYPE_MAX - 1)
69 CGW_MOD_AND, /* CAN frame modification binary AND */
70 CGW_MOD_OR, /* CAN frame modification binary OR */
71 CGW_MOD_XOR, /* CAN frame modification binary XOR */
72 CGW_MOD_SET, /* CAN frame modification set alternate values */
75 CGW_HANDLED, /* number of handled CAN frames */
76 CGW_DROPPED, /* number of dropped CAN frames */
80 CGW_DELETED, /* number of deleted CAN frames (see max_hops param) */
81 CGW_LIM_HOPS, /* limit the number of hops of this specific rule */
83 CGW_FDMOD_AND, /* CAN FD frame modification binary AND */
84 CGW_FDMOD_OR, /* CAN FD frame modification binary OR */
85 CGW_FDMOD_XOR, /* CAN FD frame modification binary XOR */
86 CGW_FDMOD_SET, /* CAN FD frame modification set alternate values */
90 #define CGW_MAX (__CGW_MAX - 1)
99 /* CAN frame elements that are affected by curr. 3 CAN frame modifications */
141 /* length of checksum operation parameters. idx = index in CAN frame data[] */
145 /* CRC8 profiles (compute CRC for additional data elements - see below) */
154 #define CGW_CRC8PRF_MAX (__CGW_CRC8PRF_MAX - 1)
161 * For the CAN->CAN gwtype the indices of _two_ CAN interfaces are mandatory.
168 * Specifies a modification that's done to a received CAN frame before it is
172 * <u8> affected CAN frame elements
175 * Limit the number of hops of this specific rule. Usually the received CAN
176 * frame can be processed as much as 'max_hops' times (which is given at module
177 * load time of the can-gw module). This value is used to reduce the number of
181 * Optional non-zero user defined routing job identifier to alter existing
186 * data[result-idx] using data[start-idx] .. data[end-idx]
198 * Set a CRC8 value into data[result-idx] using a given 256 byte CRC8 table,
199 * a given initial value and a defined input data[start-idx] .. data[end-idx].
215 * that are used depending on counter values inside the CAN frame data[].