From: Auke Kok Date: Tue, 15 May 2007 22:29:16 +0000 (-0700) Subject: Add constant for FCS/CRC length (frame check sequence) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2053ed02a62f2c66d9cb9b51aea0836a7d8dbabf;p=openwrt%2Fstaging%2Fblogic.git Add constant for FCS/CRC length (frame check sequence) About a dozen drivers that have some form of crc checksumming or offloading use this constant, warranting a global define for it. Signed-off-by: Auke Kok Signed-off-by: Jeff Garzik --- diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h index 1db774cf9dc2..3213f6f4aa58 100644 --- a/include/linux/if_ether.h +++ b/include/linux/if_ether.h @@ -33,6 +33,7 @@ #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 */ +#define ETH_FCS_LEN 4 /* Octets in the FCS */ /* * These are the defined Ethernet Protocol ID's.