diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-08-11 11:15:06 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-08-11 11:15:06 -0400 | 
| commit | b7542d5af889e039ef19e1fd00d0116396659688 (patch) | |
| tree | 9ef04e736edeb2e4bce6617a6f92bf55efd64ee2 /zebra/zebra_routemap.h | |
| parent | cad4d0c3327d6985446c949bc087a277ce9bb930 (diff) | |
zebra: Remove instance from zebra_rmap_obj data structure
In all cases the instance is derived from the re pointer
and since the re pointer is already stored, let's just
remove it from the game and cut to the chase.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_routemap.h')
| -rw-r--r-- | zebra/zebra_routemap.h | 10 | 
1 files changed, 4 insertions, 6 deletions
diff --git a/zebra/zebra_routemap.h b/zebra/zebra_routemap.h index 81a34ef28c..3fa1476896 100644 --- a/zebra/zebra_routemap.h +++ b/zebra/zebra_routemap.h @@ -21,13 +21,11 @@ extern void zebra_add_import_table_route_map(afi_t afi, const char *rmap_name,  					     uint32_t table);  extern void zebra_del_import_table_route_map(afi_t afi, uint32_t table); +extern route_map_result_t zebra_import_table_route_map_check( +	int family, struct route_entry *re, const struct prefix *p, +	struct nexthop *nexthop, route_tag_t tag, const char *rmap_name);  extern route_map_result_t -zebra_import_table_route_map_check(int family, struct route_entry *re, -				   uint8_t instance, const struct prefix *p, -				   struct nexthop *nexthop, route_tag_t tag, -				   const char *rmap_name); -extern route_map_result_t -zebra_route_map_check(afi_t family, struct route_entry *re, uint8_t instance, +zebra_route_map_check(afi_t family, struct route_entry *re,  		      const struct prefix *p, struct nexthop *nexthop,  		      struct zebra_vrf *zvrf, route_tag_t tag);  extern route_map_result_t zebra_nht_route_map_check(afi_t afi, int client_proto,  | 
