diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2007-05-15 18:29:16 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-21 19:41:19 -0400 |
commit | 2053ed02a62f2c66d9cb9b51aea0836a7d8dbabf (patch) | |
tree | fa2c622e1be49b0ab653a99928ba9fbdd227de43 /include/linux | |
parent | f1e9a4eaea5c22cfb557e58a8cd0ca3bde5160a5 (diff) |
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 <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/if_ether.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
33 | #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */ | 33 | #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */ |
34 | #define ETH_DATA_LEN 1500 /* Max. octets in payload */ | 34 | #define ETH_DATA_LEN 1500 /* Max. octets in payload */ |
35 | #define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */ | 35 | #define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */ |
36 | #define ETH_FCS_LEN 4 /* Octets in the FCS */ | ||
36 | 37 | ||
37 | /* | 38 | /* |
38 | * These are the defined Ethernet Protocol ID's. | 39 | * These are the defined Ethernet Protocol ID's. |