diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-09-23 18:21:42 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-09-23 18:21:42 +0000 |
commit | 9478539aea03b17b08ce4b59752a1a7874f0fe3c (patch) | |
tree | 6f88f7bac3c59a1154574a74e4ee24e205dadbb0 | |
parent | e453fc1a237135b495c4785ecf74330a5ed6be63 (diff) |
add ETHER_MAX_DIX_LEN
-rw-r--r-- | sys/netinet/if_ether.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h index e749b636b00..2da9f64a0a1 100644 --- a/sys/netinet/if_ether.h +++ b/sys/netinet/if_ether.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.h,v 1.33 2004/07/31 16:34:57 brad Exp $ */ +/* $OpenBSD: if_ether.h,v 1.34 2004/09/23 18:21:41 brad Exp $ */ /* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */ /* @@ -44,6 +44,7 @@ #define ETHER_HDR_LEN ((ETHER_ADDR_LEN * 2) + ETHER_TYPE_LEN) #define ETHER_MIN_LEN 64 /* Minimum frame length, CRC included */ #define ETHER_MAX_LEN 1518 /* Maximum frame length, CRC included */ +#define ETHER_MAX_DIX_LEN 1536 /* Maximum DIX frame length */ #define ETHER_MAX_LEN_JUMBO 9018 /* max jumbo frame len, including CRC */ /* |