aboutsummaryrefslogtreecommitdiff
path: root/net/can/Kconfig
diff options
context:
space:
mode:
authorOliver Hartkopp2007-11-16 15:53:09 -0800
committerDavid S. Miller2008-01-28 14:54:10 -0800
commitc18ce101f2e47d97ace125033e2896895a6db3dd (patch)
tree9e85bb469d1a756f7f270bde67a681972fdf8097 /net/can/Kconfig
parent0d66548a10cbbe0ef256852d63d30603f0f73f9b (diff)
[CAN]: Add raw protocol
This patch adds the CAN raw protocol. Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de> Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can/Kconfig')
-rw-r--r--net/can/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/can/Kconfig b/net/can/Kconfig
index 8b92790747e5..4718d1f50ab3 100644
--- a/net/can/Kconfig
+++ b/net/can/Kconfig
@@ -15,3 +15,14 @@ menuconfig CAN
If you want CAN support you should say Y here and also to the
specific driver for your controller(s) below.
+
+config CAN_RAW
+ tristate "Raw CAN Protocol (raw access with CAN-ID filtering)"
+ depends on CAN
+ default N
+ ---help---
+ The raw CAN protocol option offers access to the CAN bus via
+ the BSD socket API. You probably want to use the raw socket in
+ most cases where no higher level protocol is being used. The raw
+ socket has several filter options e.g. ID masking / error frames.
+ To receive/send raw CAN messages, use AF_CAN with protocol CAN_RAW.