diff options
author | paul <paul> | 2005-06-28 14:44:16 +0200 |
---|---|---|
committer | paul <paul> | 2005-06-28 14:44:16 +0200 |
commit | 94f2b3923e9663d0355a829f22e4e31cf68ee7b8 (patch) | |
tree | 59c0291a76b1c97fbb089abb479307f19cdfd4c1 /bgpd/bgp_damp.h | |
parent | 2005-06-28 Paul Jakma <paul.jakma@sun.com> (diff) | |
download | frr-94f2b3923e9663d0355a829f22e4e31cf68ee7b8.tar.xz frr-94f2b3923e9663d0355a829f22e4e31cf68ee7b8.zip |
2005-06-28 Paul Jakma <paul.jakma@sun.com>
* (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.
Diffstat (limited to 'bgpd/bgp_damp.h')
-rw-r--r-- | bgpd/bgp_damp.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/bgpd/bgp_damp.h b/bgpd/bgp_damp.h index 1aa25083e..37ed90bc6 100644 --- a/bgpd/bgp_damp.h +++ b/bgpd/bgp_damp.h @@ -129,19 +129,19 @@ struct bgp_damp_config #define REUSE_LIST_SIZE 256 #define REUSE_ARRAY_SIZE 1024 -int bgp_damp_enable (struct bgp *, afi_t, safi_t, time_t, unsigned int, +extern int bgp_damp_enable (struct bgp *, afi_t, safi_t, time_t, unsigned int, unsigned int, time_t); -int bgp_damp_disable (struct bgp *, afi_t, safi_t); -int bgp_damp_withdraw (struct bgp_info *, struct bgp_node *, +extern int bgp_damp_disable (struct bgp *, afi_t, safi_t); +extern int bgp_damp_withdraw (struct bgp_info *, struct bgp_node *, afi_t, safi_t, int); -int bgp_damp_update (struct bgp_info *, struct bgp_node *, afi_t, safi_t); -int bgp_damp_scan (struct bgp_info *, afi_t, safi_t); -void bgp_damp_info_free (struct bgp_damp_info *, int); -void bgp_damp_info_clean (); -char * bgp_get_reuse_time (unsigned int, char*, size_t); -int bgp_damp_decay (time_t, int); -int bgp_config_write_damp (struct vty *); -void bgp_damp_info_vty (struct vty *, struct bgp_info *); -char * bgp_damp_reuse_time_vty (struct vty *, struct bgp_info *); +extern int bgp_damp_update (struct bgp_info *, struct bgp_node *, afi_t, safi_t); +extern int bgp_damp_scan (struct bgp_info *, afi_t, safi_t); +extern void bgp_damp_info_free (struct bgp_damp_info *, int); +extern void bgp_damp_info_clean (void); +extern char * bgp_get_reuse_time (unsigned int, char*, size_t); +extern int bgp_damp_decay (time_t, int); +extern int bgp_config_write_damp (struct vty *); +extern void bgp_damp_info_vty (struct vty *, struct bgp_info *); +extern char * bgp_damp_reuse_time_vty (struct vty *, struct bgp_info *); #endif /* _QUAGGA_BGP_DAMP_H */ |