Skip to content

Commit

Permalink
Add constant for FCS/CRC length (frame check sequence)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Auke Kok authored and Jeff Garzik committed May 21, 2007
1 parent f1e9a4e commit 2053ed0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/if_ether.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2053ed0

Please sign in to comment.