From owner-cvs-sys Mon Jul 13 03:45:02 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA12572 for cvs-sys-outgoing; Mon, 13 Jul 1998 03:45:02 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA12532; Mon, 13 Jul 1998 03:44:32 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id DAA10773; Mon, 13 Jul 1998 03:44:05 -0700 (PDT) Date: Mon, 13 Jul 1998 03:44:05 -0700 (PDT) Message-Id: <199807131044.DAA10773@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/net bpf.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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