aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/Kconfig
diff options
context:
space:
mode:
authorRostislav Lisovy <lisovy@gmail.com>2012-07-03 23:32:03 -0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-07-04 07:07:05 -0400
commitf057bbb6f9ed0fb61ea11105c9ef0ed5ac1a354d (patch)
treed1a3ce318ee81fec79aea757633e68612f04bbd9 /net/sched/Kconfig
parent30c1e672044d98e5c4cff5fcbdb34b55a2df0c0f (diff)
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
507 To compile this code as a module, choose M here: the 507 To compile this code as a module, choose M here: the
508 module will be called em_text. 508 module will be called em_text.
509 509
510config NET_EMATCH_CANID
511 tristate "CAN Identifier"
512 depends on NET_EMATCH && CAN
513 ---help---
514 Say Y here if you want to be able to classify CAN frames based
515 on CAN Identifier.
516
517 To compile this code as a module, choose M here: the
518 module will be called em_canid.
519
510config NET_CLS_ACT 520config NET_CLS_ACT
511 bool "Actions" 521 bool "Actions"
512 ---help--- 522 ---help---