netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [CAN] Update documentation of struct sockaddr_can (for 2.6.25)
@ 2008-04-13 12:26 Oliver Hartkopp
  2008-04-15  7:46 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Hartkopp @ 2008-04-13 12:26 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

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 .

Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>





[-- Attachment #2: can.txt.diff --]
[-- Type: text/x-diff, Size: 837 bytes --]

diff --git a/Documentation/networking/can.txt b/Documentation/networking/can.txt
index f1b2de1..641d2af 100644
--- a/Documentation/networking/can.txt
+++ b/Documentation/networking/can.txt
@@ -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;
     };
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-15  7:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-13 12:26 [CAN] Update documentation of struct sockaddr_can (for 2.6.25) Oliver Hartkopp
2008-04-15  7:46 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).