Skip to contentSkip to conversation

Update documentation of struct sockaddr_can (for 2.6.25)

CAN Oliver Hartkopp 2 participants 2 messages Apr 13, 2008 – Apr 15, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hello Dave,

as there are still some things pending for the final 2.6.25 please add the following patch to fix the current documentation.

Thanks,
Oliver

------------------

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 .

Documentation/networking/can.txt +4 -4
index f1b2de1..641d2af 100644
@@ -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;
     };
 
maintainer
#1 lore raw

From: Oliver Hartkopp <[email protected]>
Date: Sun, 13 Apr 2008 14:26:29 +0200

Quoted 5 lines

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 .

Patch applied, thanks Oliver.