]> rtime.felk.cvut.cz Git - socketcan-devel.git/commitdiff
Clarifying some SocketCAN behaviour in the documentation.
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Wed, 16 May 2007 05:51:05 +0000 (05:51 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Wed, 16 May 2007 05:51:05 +0000 (05:51 +0000)
git-svn-id: svn://svn.berlios.de//socketcan/trunk@309 030b6a49-0b11-0410-94ab-b0dab22257f2

kernel/2.6/Documentation/networking/can.txt

index 181ab330f5a4a8296a35988c472c6d3977ac9289..111eb439cc71ad08d12d79837093b28e1de96cbe 100644 (file)
@@ -417,8 +417,9 @@ solution for a couple of reasons:
 
     setsockopt(s, SOL_CAN_RAW, CAN_RAW_FILTER, NULL, 0);
 
-  But indeed this is quite obsolete as we would not read from the socket
-  at all, but for this reason we can remove the receive list in the
+  To set the filters to zero filters is quite obsolete as not readed
+  data causes the raw socket to discard the received CAN frames. But
+  having this 'send only' use-case we may remove the receive list in the
   Kernel to save a little (really a very little!) CPU usage.
 
   4.1.2 RAW socket option CAN_RAW_ERR_FILTER
@@ -450,7 +451,8 @@ solution for a couple of reasons:
   4.1.4 RAW socket option CAN_RAW_RECV_OWN_MSGS
 
   When the local loopback is enabled, all the sent CAN frames are
-  looped back to the open CAN sockets to meet the multi user
+  looped back to the open CAN sockets that registered for the CAN
+  frames' CAN-ID on this given interface to meet the multi user
   needs. The receiption of the CAN frames on the same socket that was
   sending the CAN frame is assumed to be unwanted and therefore
   disabled by default. This default behaviour may be changed on