Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;
    };