Commit 56690c21 authored by Oliver Hartkopp's avatar Oliver Hartkopp Committed by David S. Miller

[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: default avatarOliver Hartkopp <oliver@hartkopp.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d5d52273
...@@ -281,10 +281,10 @@ solution for a couple of reasons: ...@@ -281,10 +281,10 @@ solution for a couple of reasons:
sa_family_t can_family; sa_family_t can_family;
int can_ifindex; int can_ifindex;
union { union {
struct { canid_t rx_id, tx_id; } tp16; /* transport protocol class address info (e.g. ISOTP) */
struct { canid_t rx_id, tx_id; } tp20; struct { canid_t rx_id, tx_id; } tp;
struct { canid_t rx_id, tx_id; } mcnet;
struct { canid_t rx_id, tx_id; } isotp; /* reserved for future CAN protocols address information */
} can_addr; } can_addr;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment