summaryrefslogtreecommitdiff
path: root/net/sched/Kconfig
diff options
context:
space:
mode:
authorRostislav Lisovy <lisovy@gmail.com>2012-07-04 07:32:03 +0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-07-04 15:07:05 +0400
commitf057bbb6f9ed0fb61ea11105c9ef0ed5ac1a354d (patch)
treed1a3ce318ee81fec79aea757633e68612f04bbd9 /net/sched/Kconfig
parent30c1e672044d98e5c4cff5fcbdb34b55a2df0c0f (diff)
downloadlinux-f057bbb6f9ed0fb61ea11105c9ef0ed5ac1a354d.tar.xz
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: Rostislav Lisovy <lisovy@gmail.com> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/sched/Kconfig')
-rw-r--r--net/sched/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/sched/Kconfig b/net/sched/Kconfig
index e7a8976bf25c..4a5d2bd4f789 100644
--- a/net/sched/Kconfig
+++ b/net/sched/Kconfig
@@ -507,6 +507,16 @@ config NET_EMATCH_TEXT
To compile this code as a module, choose M here: the
module will be called em_text.
+config NET_EMATCH_CANID
+ tristate "CAN Identifier"
+ depends on NET_EMATCH && CAN
+ ---help---
+ Say Y here if you want to be able to classify CAN frames based
+ on CAN Identifier.
+
+ To compile this code as a module, choose M here: the
+ module will be called em_canid.
+
config NET_CLS_ACT
bool "Actions"
---help---