summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2008-06-29 19:31:16 +0000
committerderaadt <deraadt@openbsd.org>2008-06-29 19:31:16 +0000
commit2c6506329588010f3365c860d2c445323bc4cb55 (patch)
tree14cfba01f78fdecf7505b4733bff03cbc3e7648d /sys/net/bpf.h
parentUse C99, not gcc-specific variadics. Ok miod@. (diff)
downloadwireguard-openbsd-2c6506329588010f3365c860d2c445323bc4cb55.tar.xz
wireguard-openbsd-2c6506329588010f3365c860d2c445323bc4cb55.zip
this stupid per-arch SIZEOF_BPF_HDR define is really really stupid, but
for now add __sparc64__ to the list (ridiculous as it seems, but that is the best we know to do so far) ok miod
Diffstat (limited to 'sys/net/bpf.h')
-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 f21648a1995..88d0a7fbc7f 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.h,v 1.34 2008/05/06 13:33:50 pyr Exp $ */
+/* $OpenBSD: bpf.h,v 1.35 2008/06/29 19:31:16 deraadt Exp $ */
/* $NetBSD: bpf.h,v 1.15 1996/12/13 07:57:33 mikel Exp $ */
/*
@@ -152,7 +152,7 @@ struct bpf_hdr {
#ifdef _KERNEL
#if defined(__arm32__) || defined(__i386__) || defined(__m68k__) || \
defined(__mips__) || defined(__ns32k__) || defined(__sparc__) || \
- defined(__vax__)
+ defined(__sparc64__) || defined(__vax__)
#define SIZEOF_BPF_HDR 18
#else
#define SIZEOF_BPF_HDR sizeof(struct bpf_hdr)