diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-10-02 16:41:30 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-10-09 14:14:25 -0400 |
| commit | 4b7e60662595e43aaf41046746fcaa97d17abb5d (patch) | |
| tree | 0d991048b7b8e4d1a773141711f75173fee14059 /bgpd/bgp_pbr.h | |
| parent | 1defdda8e840182f555879016c127c35c48183d9 (diff) | |
bgpd: Convert `struct bgp_info` to `struct bgp_path_info`
Do a straight conversion of `struct bgp_info` to `struct bgp_path_info`.
This commit will setup the rename of variables as well.
This is being done because `struct bgp_info` is not descriptive
of what this data actually is. It is path information for routes
that we keep to build the actual routes nexthops plus some extra
information.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_pbr.h')
| -rw-r--r-- | bgpd/bgp_pbr.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bgpd/bgp_pbr.h b/bgpd/bgp_pbr.h index e853784afd..2b0a9d80e1 100644 --- a/bgpd/bgp_pbr.h +++ b/bgpd/bgp_pbr.h @@ -279,11 +279,10 @@ extern int bgp_pbr_match_hash_equal(const void *arg1, void bgp_pbr_print_policy_route(struct bgp_pbr_entry_main *api); struct bgp_node; -struct bgp_info; +struct bgp_path_info; extern void bgp_pbr_update_entry(struct bgp *bgp, struct prefix *p, - struct bgp_info *new_select, - afi_t afi, safi_t safi, - bool nlri_update); + struct bgp_path_info *new_select, afi_t afi, + safi_t safi, bool nlri_update); /* bgp pbr utilities */ extern struct bgp_pbr_interface *pbr_interface_lookup(const char *name); |
