summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_dump.h
diff options
context:
space:
mode:
authorpaul <paul>2003-10-18 03:01:19 +0200
committerpaul <paul>2003-10-18 03:01:19 +0200
commit9834cd0f43bc45f04303b0f742faacf3bc5eac45 (patch)
treeb0198301ead5b6d8051a95689a5ce59c228c7116 /bgpd/bgp_dump.h
parent2003-10-15 sowmini.varadhan@sun.com (diff)
downloadfrr-9834cd0f43bc45f04303b0f742faacf3bc5eac45.tar.xz
frr-9834cd0f43bc45f04303b0f742faacf3bc5eac45.zip
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 d2f96a9e5..b4479e5be 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);