diff options
author | 2008-11-26 18:01:43 +0000 | |
---|---|---|
committer | 2008-11-26 18:01:43 +0000 | |
commit | de8ffdb71bcff1678e94a1102f0341cdbb452ab1 (patch) | |
tree | 539622c3cc881925b9dbdb320fb6b1de929f6323 /sys/net/if_pflow.c | |
parent | provide m_clsetlwm, an interface for an interface to raise its low (diff) | |
download | wireguard-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.c | 5 |
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) { |