summaryrefslogtreecommitdiffstats
path: root/Documentation/networking/can.txt
diff options
context:
space:
mode:
authorOliver Hartkopp <oliver@hartkopp.net>2008-04-15 00:46:38 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-15 00:46:38 -0700
commit56690c2151d33534f0537fd03c533eda81d96f0f (patch)
treee9143de4fe024cd4c96c579ce78a181b003bbc4e /Documentation/networking/can.txt
parentd5d52273b92913399e78fc4877f89d38ef8b367a (diff)
downloadlinux-stable-56690c2151d33534f0537fd03c533eda81d96f0f.tar.gz
linux-stable-56690c2151d33534f0537fd03c533eda81d96f0f.tar.bz2
linux-stable-56690c2151d33534f0537fd03c533eda81d96f0f.zip
[CAN]: Update documentation of struct sockaddr_can
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>
Diffstat (limited to 'Documentation/networking/can.txt')
-rw-r--r--Documentation/networking/can.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/networking/can.txt b/Documentation/networking/can.txt
index f1b2de170929..641d2afacffa 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;
};