mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-05-23 23:26:57 +00:00
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>
This commit is contained in:
parent
f1e9a4eaea
commit
2053ed02a6
@ -33,6 +33,7 @@
|
|||||||
#define ETH_ZLEN 60 /* Min. octets in frame sans FCS */
|
#define ETH_ZLEN 60 /* Min. octets in frame sans FCS */
|
||||||
#define ETH_DATA_LEN 1500 /* Max. octets in payload */
|
#define ETH_DATA_LEN 1500 /* Max. octets in payload */
|
||||||
#define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */
|
#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.
|
* These are the defined Ethernet Protocol ID's.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user