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

This commit is contained in:
phk 1996-08-05 14:02:38 +00:00
parent c7a86a3c2b
commit 4197814cc4

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