diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-09-28 00:21:24 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-09-28 00:21:24 +0000 |
commit | cf535cb2a696315685dd770ec7ee82b244de6159 (patch) | |
tree | 4c54a520bef97d844779f564490c586e2a782257 /sys/dev/ic/hmereg.h | |
parent | 80dce2e7d18adec0e477b0e67c6afec515c76e53 (diff) |
- Use ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN instead of HME_MTU
- Use ETHER_CRC_POLY_LE instead of MC_POLY_LE from hmereg.h
Diffstat (limited to 'sys/dev/ic/hmereg.h')
-rw-r--r-- | sys/dev/ic/hmereg.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/ic/hmereg.h b/sys/dev/ic/hmereg.h index 5a256ef2341..c37e138adf2 100644 --- a/sys/dev/ic/hmereg.h +++ b/sys/dev/ic/hmereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hmereg.h,v 1.6 2003/10/21 18:58:49 jmc Exp $ */ +/* $OpenBSD: hmereg.h,v 1.7 2004/09/28 00:21:23 brad Exp $ */ /* $NetBSD: hmereg.h,v 1.8 2001/04/30 12:22:42 bouyer Exp $ */ /*- @@ -305,10 +305,3 @@ struct hme_xd { (((sz) << 0) & HME_XD_TXLENMSK) #define HME_XD_DECODE_TSIZE(flags) \ (((flags) & HME_XD_TXLENMSK) >> 0) - -#ifndef EVL_ENCAPLEN /* defined if NVLAN > 0 */ -#define EVL_ENCAPLEN 0 -#endif - -#define HME_MTU \ - (ETHERMTU + EVL_ENCAPLEN + sizeof(u_int32_t) + sizeof(struct ether_header)) |