summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_dump.h
diff options
context:
space:
mode:
authorpaul <paul>2003-10-18 01:01:19 +0000
committerpaul <paul>2003-10-18 01:01:19 +0000
commit9834cd0f43bc45f04303b0f742faacf3bc5eac45 (patch)
treeb0198301ead5b6d8051a95689a5ce59c228c7116 /bgpd/bgp_dump.h
parentcc1131ab011afc4f06c1a967e9c0cbd77cc88d58 (diff)
downloadquagga-9834cd0f43bc45f04303b0f742faacf3bc5eac45.tar.bz2
quagga-9834cd0f43bc45f04303b0f742faacf3bc5eac45.tar.xz
2003-10-18 Lorenzo Colitti <lorenzo@ripe.net>
* bgpd/bgp_dump.{c,h}: (bgp_dump_interval_add) Dump at discrete fixed intervals rather than fixed intervals from startup time. (bgp_dump_interval_func) Dont return immediately if file cant be openeded, but reschedule interval dumps, even - admin might fix problem in meantime. Close the dump file in between intervals. (bgp_dump_init) account for MSG header when initialising stream size.
Diffstat (limited to 'bgpd/bgp_dump.h')
-rw-r--r--bgpd/bgp_dump.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_dump.h b/bgpd/bgp_dump.h
index d2f96a9e..b4479e5b 100644
--- a/bgpd/bgp_dump.h
+++ b/bgpd/bgp_dump.h
@@ -28,6 +28,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#define BGP4MP_SNAPSHOT 3
#define BGP_DUMP_HEADER_SIZE 12
+#define BGP_DUMP_MSG_HEADER 40
void bgp_dump_init ();
void bgp_dump_state (struct peer *, int, int);