#define TIPC_MEDIA_TYPE_ETH 1
-/*
- * Destination address structure used by TIPC bearers when sending messages
- *
- * IMPORTANT: The fields of this structure MUST be stored using the specified
- * byte order indicated below, as the structure is exchanged between nodes
- * as part of a link setup process.
- */
-
struct tipc_media_addr {
- __u32 type; /* bearer type (network byte order) */
+ __u32 type;
union {
- __u8 eth_addr[6]; /* 48 bit Ethernet addr (byte array) */
+ __u8 eth_addr[6]; /* Ethernet bearer */
#if 0
/* Prototypes for other possible bearer types */