]> rtime.felk.cvut.cz Git - socketcan-devel.git/commitdiff
The struct sockaddr_can has been simplified in the code review process.
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sat, 12 Apr 2008 07:01:36 +0000 (07:01 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sat, 12 Apr 2008 07:01:36 +0000 (07:01 +0000)
This patch updates this simplification also in the associated
documentation in can.txt

git-svn-id: svn://svn.berlios.de//socketcan/trunk@712 030b6a49-0b11-0410-94ab-b0dab22257f2

kernel/2.6/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;
     };