Loading include/linux/if_tr.h +15 −24 Original line number Diff line number Diff line Loading @@ -19,20 +19,12 @@ #ifndef _LINUX_IF_TR_H #define _LINUX_IF_TR_H /* IEEE 802.5 Token-Ring magic constants. The frame sizes omit the preamble and FCS/CRC (frame check sequence). */ #define TR_ALEN 6 /* Octets in one ethernet addr */ #define TR_ALEN 6 /* Octets in one token-ring addr */ #define TR_HLEN (sizeof(struct trh_hdr)+sizeof(struct trllc)) #define AC 0x10 #define LLC_FRAME 0x40 #if 0 #define ETH_HLEN 14 /* Total octets in header. */ #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */ #define ETH_DATA_LEN 1500 /* Max. octets in payload */ #define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */ #endif /* LLC and SNAP constants */ #define EXTENDED_SAP 0xAA Loading Loading @@ -96,7 +88,6 @@ struct tr_statistics { }; /* source routing stuff */ #define TR_RII 0x80 #define TR_RCF_DIR_BIT 0x80 #define TR_RCF_LEN_MASK 0x1f00 Loading Loading
include/linux/if_tr.h +15 −24 Original line number Diff line number Diff line Loading @@ -19,20 +19,12 @@ #ifndef _LINUX_IF_TR_H #define _LINUX_IF_TR_H /* IEEE 802.5 Token-Ring magic constants. The frame sizes omit the preamble and FCS/CRC (frame check sequence). */ #define TR_ALEN 6 /* Octets in one ethernet addr */ #define TR_ALEN 6 /* Octets in one token-ring addr */ #define TR_HLEN (sizeof(struct trh_hdr)+sizeof(struct trllc)) #define AC 0x10 #define LLC_FRAME 0x40 #if 0 #define ETH_HLEN 14 /* Total octets in header. */ #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */ #define ETH_DATA_LEN 1500 /* Max. octets in payload */ #define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */ #endif /* LLC and SNAP constants */ #define EXTENDED_SAP 0xAA Loading Loading @@ -96,7 +88,6 @@ struct tr_statistics { }; /* source routing stuff */ #define TR_RII 0x80 #define TR_RCF_DIR_BIT 0x80 #define TR_RCF_LEN_MASK 0x1f00 Loading