summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_dump.c
Commit message (Collapse)AuthorAgeFilesLines
* 2005-09-10 Paul Jakma <paul.jakma@sun.com>paul2005-09-091-1/+2
| | | | | | * bgp_vty.c: (bgp_vty_init) gcc 4 compile fix. static function declarations shouldn't be inside functions. * bgp_dump.c: (bgp_dump_interval_add) ditto.
* 2005-06-28 Paul Jakma <paul.jakma@sun.com>paul2005-06-281-15/+15
| | | | | | | | | | * (global) The great bgpd extern and static'ification. * bgp_routemap.c: remove unused ROUTE_MATCH_ASPATH_OLD code (route_set_metric_compile) fix u_int32_t to ULONG_MAX comparison warnings. * bgp_route.h: (bgp_process, bgp_withdraw, bgp_update) export these used by various files which had their own private declarations, in the case of mplsvpn - incorrect.
* 2005-02-09 Paul Jakma <paul.jakma@sun.com>paul2005-02-091-4/+4
| | | | | | | | | | | | | * (global) Update code to match stream.h changes. stream_get_putp effectively replaced with stream_get_endp. stream_forward renamed to stream_forward_getp. stream_forward_endp introduced to replace some previous setting/manual twiddling of putp by daemons. * lib/stream.h: Remove putp. Update reference to putp with endp. Add stream_forward_endp, which daemons were doing manually. Rename stream_forward to stream_forward_getp. lib/stream.c: Remove/update references to putp. introduce stream_forward_endp.
* Make dump configuration appear in vtysh.hasso2004-10-131-0/+1
|
* 2004-10-13 Paul Jakma <paul@dishone.st>paul2004-10-131-2/+2
| | | | | | | | | | | * (global) more const'ification and fixups of types to clean up code. * bgp_mplsvpn.{c,h}: (str2tag) fix abuse. Still not perfect, should use something like the VTY_GET_INTEGER macro, but without the vty_out bits.. * bgp_routemap.c: (set_aggregator_as) use VTY_GET_INTEGER_RANGE (no_set_aggregator_as) ditto. * bgpd.c: (peer_uptime) fix unlikely bug, where no buffer is returned, add comments about troublesome return value.
* 2003-12-22 Christian Hammers <ch@lathspell.de>gdt2003-12-221-1/+7
| | | | | | * configure.ac (and everywhere a regular file is opened for writing): use file permissions from configure rather than compiled-in umask.
* 2003-11-10 Lorenzo Colitti <lorenzo@ripe.net>paul2003-11-101-2/+2
| | | | | * bgpd/bgp_dump.c: (bgp_dump_routes_entry) call dump_bgp_routes_attr() with a prefix.
* 2003-10-18 Lorenzo Colitti <lorenzo@ripe.net>paul2003-10-181-5/+7
| | | | | | | | | | | | | | | 2003-10-18 Lorenzo Colitti <lorenzo@ripe.net> * bgpd/bgp_attr.c: (bgp_dump_routes_attr) Dont dump IPv4 nexthop for IP. Dump MP_NLRI attr with IPv6 next-hop for AF_INET6 address family prefixes. Accept prefix as argument. * bgpd/bgp_attr.c: modify bgp_dump_routes_attr declaration. * bgpd/bgp_dump.c: (bgp_dump_routes_entry) Modify calls to bgp_dump_routes_attr. (bgp_dump_common) Go by the family of the peering socket, not configured address family when dumping peering information. Add HAVE_IPV6 conditionals, eg missing from previous bgp interval patch.
* 2003-10-18 Lorenzo Colitti <lorenzo@ripe.net>paul2003-10-181-13/+36
| | | | | | | | | | * 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.
* Hopefully fix the 'bgp dump routes-mrt' command to actually dump routes.paul2003-05-101-10/+23
| | | | | Should recognise the absence of an interval now and schedule one-shot dump. hopefully.
* Initial revisionpaul2002-12-131-0/+741