This file is the (intended) definitive source of the ETHER_ macros.

This commit is contained in:
Poul-Henning Kamp 1996-08-05 14:02:38 +00:00
parent 593f7481aa
commit e4b54c028f

13
sys/net/ethernet.h Normal file
View File

@ -0,0 +1,13 @@
/*
* Fundamental constants relating to ethernet.
*
* $Id$
*
*/
#define ETHER_ADDR_LEN 6
#define ETHER_TYPE_LEN 2
#define ETHER_CRC_LENGTH 4
#define ETHER_HDR_SIZE (ETHER_ADDR_LEN*2+ETHER_TYPE_LEN)
#define ETHER_MIN_LEN 64
#define ETHER_MAX_LEN 1518