Date: Mon, 13 Jul 1998 03:44:05 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/net bpf.h Message-ID: <199807131044.DAA10773@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/07/13 03:44:05 PDT Modified files: sys/net bpf.h Log: Don't attempt to optimize the space allocated for bpf headers if sizeof(struct bpf_hdr) > 20. 20 is normal on 32-bit systems with 32-bit alignment, but we still assume that the last 2 bytes of the struct are unnecessary padding on such systems. On systems with 64-bit longs, struct timeval is bloated to 16 bytes, so bpf headers certainly don't fit in 18 bytes. Revision Changes Path 1.13 +3 -2 src/sys/net/bpf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807131044.DAA10773>