diff options
author | Vincent Mailhol <[email protected]> | 2021-01-11 15:19:25 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2021-01-14 08:43:42 +0100 |
commit | 85d99c3e2a13d542445342a1383a686dadeaac3d (patch) | |
tree | 42706b247155123be6686f480f3ceb23315ce647 /tools/perf/scripts/python/syscall-counts.py | |
parent | 99b7beb0431a4b9728023e9169ed15af678d2c7f (diff) |
can: length: can_skb_get_frame_len(): introduce function to get data length of frame in data link layer
This patch adds the function can_skb_get_frame_len() which returns the length
of a CAN frame on the data link layer, including Start-of-frame, Identifier,
various other bits, the actual data, the CRC, the End-of-frame, the Inter frame
spacing.
Co-developed-by: Arunachalam Santhanam <[email protected]>
Signed-off-by: Arunachalam Santhanam <[email protected]>
Co-developed-by: Vincent Mailhol <[email protected]>
Signed-off-by: Vincent Mailhol <[email protected]>
Acked-by: Vincent Mailhol <[email protected]>
Reviewed-by: Vincent Mailhol <[email protected]>
Co-developed-by: Marc Kleine-Budde <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions