summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1998-10-04 21:53:59 +0000
committeralex <alex@FreeBSD.org>1998-10-04 21:53:59 +0000
commit8dd53bb3c74f8f64e53f767e86da882f378effef (patch)
treecf4b1acf56cb260e93d939d586eef96852b2591e /sys/net
parentdd5f9d7739b2450016e1b3d8026927a8364417da (diff)
downloadFreeBSD-src-8dd53bb3c74f8f64e53f767e86da882f378effef.zip
FreeBSD-src-8dd53bb3c74f8f64e53f767e86da882f378effef.tar.gz
Change BPF_ALIGNMENT to long, necessary for correct alignment on Alpha.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bpf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index eb575e2..cc3ed96 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -38,7 +38,7 @@
* @(#)bpf.h 8.1 (Berkeley) 6/10/93
* @(#)bpf.h 1.34 (LBL) 6/16/96
*
- * $Id: bpf.h,v 1.14 1998/08/18 10:13:11 ache Exp $
+ * $Id: bpf.h,v 1.15 1998/09/15 19:35:37 fenner Exp $
*/
#ifndef _NET_BPF_H_
@@ -54,7 +54,7 @@ typedef u_int32_t bpf_u_int32;
* Alignment macros. BPF_WORDALIGN rounds up to the next
* even multiple of BPF_ALIGNMENT.
*/
-#define BPF_ALIGNMENT sizeof(bpf_int32)
+#define BPF_ALIGNMENT sizeof(long)
#define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1))
#define BPF_MAXINSNS 512
OpenPOWER on IntegriCloud