summaryrefslogtreecommitdiffstats
path: root/Documentation/networking
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
parentd5d52273b92913399e78fc4877f89d38ef8b367a (diff)
downloadop-kernel-dev-56690c2151d33534f0537fd03c533eda81d96f0f.zip
op-kernel-dev-56690c2151d33534f0537fd03c533eda81d96f0f.tar.gz
[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')
-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 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;
};
OpenPOWER on IntegriCloud