diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-27 00:11:58 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2020-06-23 17:32:52 +0200 |
commit | 9bcb3eef541180a17341d1d4510586efc35711db (patch) | |
tree | 686e6d7721a180a168cb3353e2c900b63069e6c3 /bgpd/bgp_damp.h | |
parent | Merge pull request #6625 from ton31337/fix/network_check_import_for_static_bgp (diff) | |
download | frr-9bcb3eef541180a17341d1d4510586efc35711db.tar.xz frr-9bcb3eef541180a17341d1d4510586efc35711db.zip |
bgp: rename bgp_node to bgp_dest
This is the bulk part extracted from "bgpd: Convert from `struct
bgp_node` to `struct bgp_dest`". It should not result in any functional
change.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_damp.h')
-rw-r--r-- | bgpd/bgp_damp.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bgpd/bgp_damp.h b/bgpd/bgp_damp.h index 3dd860a29..4ab38326e 100644 --- a/bgpd/bgp_damp.h +++ b/bgpd/bgp_damp.h @@ -21,6 +21,8 @@ #ifndef _QUAGGA_BGP_DAMP_H #define _QUAGGA_BGP_DAMP_H +#include "bgpd/bgp_table.h" + /* Structure maintained on a per-route basis. */ struct bgp_damp_info { /* Doubly linked list. This information must be linked to @@ -47,7 +49,7 @@ struct bgp_damp_info { struct bgp_path_info *path; /* Back reference to bgp_node. */ - struct bgp_node *rn; + struct bgp_dest *dest; /* Current index in the reuse_list. */ int index; @@ -133,9 +135,9 @@ struct bgp_damp_config { 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_withdraw(struct bgp_path_info *path, struct bgp_node *rn, +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_node *rn, +extern int bgp_damp_update(struct bgp_path_info *path, struct bgp_dest *dest, afi_t afi, safi_t saff); extern void bgp_damp_info_free(struct bgp_damp_info *path, int withdraw, afi_t afi, safi_t safi); |