diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2009-02-16 00:31:26 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2009-02-16 00:31:26 +0000 |
commit | 526c2b65984520c2f0878d4707d4e98a8c39de2d (patch) | |
tree | 58f59a92608c515db0463d5decc507fa5c3238d9 /sys/net/netisr_dispatch.h | |
parent | 82e004e9381a3a586f9955791b33fad3293af3f2 (diff) |
pfsync v5, mostly written at n2k9, but based on work done at n2k8.
WARNING: THIS BREAKS COMPATIBILITY WITH THE PREVIOUS VERSION OF PFSYNC
this is a new variant of the protocol and a large reworking of the
pfsync code to address some performance issues. the single largest
benefit comes from having multiple pfsync messages of different
types handled in a single packet. pfsyncs handling of pf states is
highly optimised now, along with packet parsing and construction.
huggz for beck@ for testing.
huge thanks to mcbride@ for his help during development and for
finding all the bugs during the initial tests.
thanks to peter sutton for letting me get credit for this work.
ok beck@ mcbride@ "good." deraadt@
Diffstat (limited to 'sys/net/netisr_dispatch.h')
-rw-r--r-- | sys/net/netisr_dispatch.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/netisr_dispatch.h b/sys/net/netisr_dispatch.h index c2de9b2751b..8ccbba635bc 100644 --- a/sys/net/netisr_dispatch.h +++ b/sys/net/netisr_dispatch.h @@ -1,4 +1,4 @@ -/* $OpenBSD: netisr_dispatch.h,v 1.16 2008/05/07 05:51:12 mpf Exp $ */ +/* $OpenBSD: netisr_dispatch.h,v 1.17 2009/02/16 00:31:25 dlg Exp $ */ /* $NetBSD: netisr_dispatch.h,v 1.2 2000/07/02 04:40:47 cgd Exp $ */ /* @@ -27,6 +27,7 @@ #include "ppp.h" #include "bridge.h" #include "pppoe.h" +#include "pfsync.h" #endif /* @@ -64,4 +65,7 @@ #if NBLUETOOTH > 0 DONETISR(NETISR_BT,btintr); #endif +#if NPFSYNC > 0 + DONETISR(NETISR_PFSYNC,pfsyncintr); +#endif DONETISR(NETISR_TX,nettxintr); |