summaryrefslogtreecommitdiff
path: root/sys/net/if_pflow.h
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2017-05-27 21:06:07 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2017-05-27 21:06:07 +0000
commit89778bd3d5098ae3d1b65ebffb83d92e8e579dd3 (patch)
tree905eafb7d4552b78ebfc857bea5c348cff9b6da0 /sys/net/if_pflow.h
parenta5d5f9e75593646983bfe6fd090301dc942a2590 (diff)
move sending of pflow packet into a task, seperated from the data
collection by a mbuf queue. with help from mpi@ ok florian@
Diffstat (limited to 'sys/net/if_pflow.h')
-rw-r--r--sys/net/if_pflow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_pflow.h b/sys/net/if_pflow.h
index 40126001022..b85a0e3f13e 100644
--- a/sys/net/if_pflow.h
+++ b/sys/net/if_pflow.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflow.h,v 1.15 2017/01/24 10:08:30 krw Exp $ */
+/* $OpenBSD: if_pflow.h,v 1.16 2017/05/27 21:06:06 benno Exp $ */
/*
* Copyright (c) 2008 Henning Brauer <henning@openbsd.org>
@@ -184,6 +184,8 @@ struct pflow_softc {
struct timeout sc_tmo;
struct timeout sc_tmo6;
struct timeout sc_tmo_tmpl;
+ struct mbuf_list sc_outputqueue;
+ struct task sc_outputtask;
struct socket *so;
struct mbuf *send_nam;
struct sockaddr *sc_flowsrc;