summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_session.h
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-05-27 21:09:56 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-05-27 21:09:56 +0100
commitd0dcbe07baffdbff39521e5ae8eca3f80a8d6f3e (patch)
tree399779682d9449b2376364cf9338891e6b674e85 /bgpd/bgp_session.h
parent76c460a85aa0aea7dc90948f3b52979d09f94812 (diff)
downloadquagga-d0dcbe07baffdbff39521e5ae8eca3f80a8d6f3e.tar.bz2
quagga-d0dcbe07baffdbff39521e5ae8eca3f80a8d6f3e.tar.xz
Adjustments to scheduling of Routing Engine work.
These changes mean that Quagga copes a little better when there are very large numbers of updates/withrawal messages arriving all at once... ...it is not possible to cure the problem of overloading Quagga by throwing too much at it. However, these changes at least mean that when BGP sessions drop, the Routing Engine will notice that in a reasonable time, and can clear up all routes associated with the session (throwing away any updates/withdraws already received, but not yet dealt with.) Amonst these changes are Chris Caputo's patches for bgp_node locking issues -- see quagga-dev 7960 mailing list message.
Diffstat (limited to 'bgpd/bgp_session.h')
-rw-r--r--bgpd/bgp_session.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_session.h b/bgpd/bgp_session.h
index 615c6829..6f449bec 100644
--- a/bgpd/bgp_session.h
+++ b/bgpd/bgp_session.h
@@ -22,6 +22,7 @@
#ifndef _QUAGGA_BGP_SESSION_H
#define _QUAGGA_BGP_SESSION_H
+#include <stdbool.h>
#include <zebra.h>
#include "bgpd/bgp_common.h"
@@ -324,7 +325,7 @@ bgp_session_event(bgp_session session, bgp_session_event_t event,
bgp_notify notification,
int err,
bgp_connection_ord_t ordinal,
- int stopped) ;
+ bool stopped) ;
extern void
bgp_session_update_send(bgp_session session, struct stream_fifo* fifo) ;