]> err.no Git - linux-2.6/commitdiff
[CAN]: Update documentation of struct sockaddr_can
authorOliver Hartkopp <oliver@hartkopp.net>
Tue, 15 Apr 2008 07:46:38 +0000 (00:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Apr 2008 07:46:38 +0000 (00:46 -0700)
The struct sockaddr_can has been simplified in the code review
process.  This patch updates this simplification also in the
associated documentation in can.txt .

Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/can.txt

index f1b2de1709296277758aac6ab6dad1757cc7ebe4..641d2afacffa33094a5ee7a52e6646ec7c089220 100644 (file)
@@ -281,10 +281,10 @@ solution for a couple of reasons:
             sa_family_t can_family;
             int         can_ifindex;
             union {
-                    struct { canid_t rx_id, tx_id; } tp16;
-                    struct { canid_t rx_id, tx_id; } tp20;
-                    struct { canid_t rx_id, tx_id; } mcnet;
-                    struct { canid_t rx_id, tx_id; } isotp;
+                    /* transport protocol class address info (e.g. ISOTP) */
+                    struct { canid_t rx_id, tx_id; } tp;
+
+                    /* reserved for future CAN protocols address information */
             } can_addr;
     };