mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 20:18:54 +00:00
bgpd: Align bgp_damp.h to our standards
bgp_damp.h has function declarations that are not properly aligned with our standard on how to do so. Fix. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
4627226d6e
commit
c0f0ec64f6
@ -132,9 +132,10 @@ struct bgp_damp_config {
|
||||
#define REUSE_LIST_SIZE 256
|
||||
#define REUSE_ARRAY_SIZE 1024
|
||||
|
||||
extern int bgp_damp_enable(struct bgp *, afi_t, safi_t, time_t, unsigned int,
|
||||
unsigned int, time_t);
|
||||
extern int bgp_damp_disable(struct bgp *, afi_t, safi_t);
|
||||
extern int bgp_damp_enable(struct bgp *bgp, afi_t afi, safi_t safi, time_t half,
|
||||
unsigned int reuse, unsigned int suppress,
|
||||
time_t max);
|
||||
extern int bgp_damp_disable(struct bgp *bgp, afi_t afi, safi_t safi);
|
||||
extern int bgp_damp_withdraw(struct bgp_path_info *path, struct bgp_dest *dest,
|
||||
afi_t afi, safi_t safi, int attr_change);
|
||||
extern int bgp_damp_update(struct bgp_path_info *path, struct bgp_dest *dest,
|
||||
@ -142,8 +143,9 @@ extern int bgp_damp_update(struct bgp_path_info *path, struct bgp_dest *dest,
|
||||
extern void bgp_damp_info_free(struct bgp_damp_info *path, int withdraw,
|
||||
afi_t afi, safi_t safi);
|
||||
extern void bgp_damp_info_clean(afi_t afi, safi_t safi);
|
||||
extern int bgp_damp_decay(time_t, int, struct bgp_damp_config *damp);
|
||||
extern void bgp_config_write_damp(struct vty *, afi_t afi, safi_t safi);
|
||||
extern int bgp_damp_decay(time_t tdiff, int penalty,
|
||||
struct bgp_damp_config *damp);
|
||||
extern void bgp_config_write_damp(struct vty *vty, afi_t afi, safi_t safi);
|
||||
extern void bgp_damp_info_vty(struct vty *vty, struct bgp_path_info *path,
|
||||
afi_t afi, safi_t safi, json_object *json_path);
|
||||
extern const char *bgp_damp_reuse_time_vty(struct vty *vty,
|
||||
@ -151,7 +153,7 @@ extern const char *bgp_damp_reuse_time_vty(struct vty *vty,
|
||||
char *timebuf, size_t len, afi_t afi,
|
||||
safi_t safi, bool use_json,
|
||||
json_object *json);
|
||||
extern int bgp_show_dampening_parameters(struct vty *vty, afi_t, safi_t,
|
||||
uint16_t);
|
||||
extern int bgp_show_dampening_parameters(struct vty *vty, afi_t afi,
|
||||
safi_t safi, uint16_t show_flags);
|
||||
|
||||
#endif /* _QUAGGA_BGP_DAMP_H */
|
||||
|
Loading…
Reference in New Issue
Block a user