summaryrefslogtreecommitdiffstats
path: root/sys/net/if_pflow.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2008-11-26 18:01:43 +0000
committerdlg <dlg@openbsd.org>2008-11-26 18:01:43 +0000
commitde8ffdb71bcff1678e94a1102f0341cdbb452ab1 (patch)
tree539622c3cc881925b9dbdb320fb6b1de929f6323 /sys/net/if_pflow.c
parentprovide m_clsetlwm, an interface for an interface to raise its low (diff)
downloadwireguard-openbsd-de8ffdb71bcff1678e94a1102f0341cdbb452ab1.tar.xz
wireguard-openbsd-de8ffdb71bcff1678e94a1102f0341cdbb452ab1.zip
dont have bpf.h expose the kernel ticks variable wherever it is includeing.
it is very confusing like this. ok deraadt@ canacar@
Diffstat (limited to 'sys/net/if_pflow.c')
-rw-r--r--sys/net/if_pflow.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/if_pflow.c b/sys/net/if_pflow.c
index 515a31fed22..fb04229b7f5 100644
--- a/sys/net/if_pflow.c
+++ b/sys/net/if_pflow.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflow.c,v 1.7 2008/10/28 15:51:27 gollo Exp $ */
+/* $OpenBSD: if_pflow.c,v 1.8 2008/11/26 18:01:43 dlg Exp $ */
/*
* Copyright (c) 2008 Henning Brauer <henning@openbsd.org>
@@ -91,6 +91,9 @@ struct if_clone pflow_cloner =
extern int ipport_hifirstauto;
extern int ipport_hilastauto;
+/* from kern/kern_clock.c; incremented each clock tick. */
+extern int ticks;
+
void
pflowattach(int npflow)
{