summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2008-10-16 18:23:54 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2008-10-16 18:23:54 +0000
commit5b9445db9c66c6853ce3faaad8509b8076f43717 (patch)
tree33e07551699521f39be02acec3cf6f43acd3387e /sys
parent9fbaff40cbb4877e7c7474414a952948fbbf1da8 (diff)
Kill M_HASFCS, it is not used in OpenBSD. If a ethernet chip returns the
checksum in the packet it should be trimmed away by the driver and not by driver independent code. OK brad@
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/if_ether.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 5fd7135d473..ee9eb29ae27 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.h,v 1.40 2008/04/18 09:16:14 djm Exp $ */
+/* $OpenBSD: if_ether.h,v 1.41 2008/10/16 18:23:53 claudio Exp $ */
/* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */
/*
@@ -88,11 +88,6 @@ struct ether_header {
#define ETHER_CRC_POLY_LE 0xedb88320
#define ETHER_CRC_POLY_BE 0x04c11db6
-/*
- * Ethernet-specific mbuf flags.
- */
-#define M_HASFCS M_LINK0 /* FCS included at end of frame */
-
#ifdef _KERNEL
/*
* Macro to map an IP multicast address to an Ethernet multicast address.