netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2 0/3] CAN Filter/Classifier
@ 2012-06-04 16:09 Rostislav Lisovy
  2012-06-04 16:09 ` [PATCH iproute2 1/3] Add missing can.h Rostislav Lisovy
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Rostislav Lisovy @ 2012-06-04 16:09 UTC (permalink / raw)
  To: netdev; +Cc: linux-can, lartc, pisa, sojkam1, Rostislav Lisovy

This classifier classifies CAN frames (AF_CAN) according to their
identifiers. This functionality can not be easily achieved with
existing classifiers, such as u32. This classifier can be used
with any available qdisc and it is able to classify both SFF
or EFF frames.

The filtering rules for EFF frames are stored in an array, which
is traversed during classification. A bitmap is used to store SFF
rules -- one bit for each ID.

More info about the project:
http://rtime.felk.cvut.cz/can/socketcan-qdisc-final.pdf


Rostislav Lisovy (3):
  Add missing can.h
  CAN Filter/Classifier -- Source code
  CAN Filter/Classifier -- Documentation

 include/linux/can.h     |  112 ++++++++++++++++++++++
 include/linux/pkt_cls.h |   10 ++
 man/man8/tc-can.8       |   97 +++++++++++++++++++
 tc/Makefile             |    1 +
 tc/f_can.c              |  238 +++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 458 insertions(+)
 create mode 100644 include/linux/can.h
 create mode 100644 man/man8/tc-can.8
 create mode 100644 tc/f_can.c

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH iproute2 0/3] CAN Filter/Classifier
@ 2012-05-25  9:11 Rostislav Lisovy
  0 siblings, 0 replies; 7+ messages in thread
From: Rostislav Lisovy @ 2012-05-25  9:11 UTC (permalink / raw)
  To: netdev; +Cc: linux-can, pisa, sojkam1, oliver, Rostislav Lisovy

The CAN classifier may be used with any available qdisc on Controller
Area Network (CAN) frames passed through AF_CAN networking subsystem.
The classifier classifies CAN frames according to their identifiers.
It can be used on CAN frames with both SFF or EFF identifiers.

The filtering rules for EFF frames are stored in an array, which
is traversed during classification. A bitmap is used to store SFF
rules -- one bit for each ID.

More info about the project:
http://rtime.felk.cvut.cz/can/socketcan-qdisc-final.pdf


Rostislav Lisovy (3):
  Added missing can.h
  CAN Filter/Classifier -- Source code
  CAN Filter/Classifier -- Documentation

 include/linux/can.h     |  112 ++++++++++++++++++++++
 include/linux/pkt_cls.h |   10 ++
 man/man8/tc-can.8       |   97 +++++++++++++++++++
 tc/Makefile             |    1 +
 tc/f_can.c              |  238 +++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 458 insertions(+)
 create mode 100644 include/linux/can.h
 create mode 100644 man/man8/tc-can.8
 create mode 100644 tc/f_can.c

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-06-04 19:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-04 16:09 [PATCH iproute2 0/3] CAN Filter/Classifier Rostislav Lisovy
2012-06-04 16:09 ` [PATCH iproute2 1/3] Add missing can.h Rostislav Lisovy
2012-06-04 19:10   ` Stephen Hemminger
2012-06-04 16:09 ` [PATCH iproute2 2/3] CAN Filter/Classifier -- Source code Rostislav Lisovy
2012-06-04 16:09 ` [PATCH iproute2 3/3] CAN Filter/Classifier -- Documentation Rostislav Lisovy
2012-06-04 19:13 ` [PATCH iproute2 0/3] CAN Filter/Classifier Stephen Hemminger
  -- strict thread matches above, loose matches on Subject: below --
2012-05-25  9:11 Rostislav Lisovy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).