diff options
author | 2008-10-16 18:23:53 +0000 | |
---|---|---|
committer | 2008-10-16 18:23:53 +0000 | |
commit | b2953b8608acb339650a2ef451ed94be1a25a05b (patch) | |
tree | 303b0e9b200b07bd4f7ee1673740c54e39dd85f9 | |
parent | Move memory allocation closer to where it is needed. Also make (diff) | |
download | wireguard-openbsd-b2953b8608acb339650a2ef451ed94be1a25a05b.tar.xz wireguard-openbsd-b2953b8608acb339650a2ef451ed94be1a25a05b.zip |
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@
-rw-r--r-- | sys/netinet/if_ether.h | 7 |
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. |