From c18ce101f2e47d97ace125033e2896895a6db3dd Mon Sep 17 00:00:00 2001 From: Oliver Hartkopp Date: Fri, 16 Nov 2007 15:53:09 -0800 Subject: [CAN]: Add raw protocol This patch adds the CAN raw protocol. Signed-off-by: Oliver Hartkopp Signed-off-by: Urs Thuermann Signed-off-by: David S. Miller --- net/can/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'net/can/Kconfig') diff --git a/net/can/Kconfig b/net/can/Kconfig index 8b92790747e..4718d1f50ab 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. -- cgit v1.2.3