Skip to content
Commit f057bbb6 authored by Rostislav Lisovy's avatar Rostislav Lisovy Committed by Marc Kleine-Budde
Browse files

net: em_canid: Ematch rule to match CAN frames according to their identifiers



This ematch makes it possible to classify CAN frames (AF_CAN) according
to their identifiers. This functionality can not be easily achieved with
existing classifiers, such as u32, because CAN identifier is always stored
in native endianness, whereas u32 expects Network byte order.

Signed-off-by: default avatarRostislav Lisovy <lisovy@gmail.com>
Signed-off-by: default avatarOliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 30c1e672
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment