summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_routemap_nb.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-07-18 11:14:24 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-07-21 08:26:14 +0200
commit2690f18cc85fd3e93bb4aa7330643ea8f7f30267 (patch)
treedf8d7a0b41bca9e6462984ed63a0408826207fef /bgpd/bgp_routemap_nb.h
parentMerge pull request #9098 from donaldsharp/if_secondary_bsd (diff)
downloadfrr-2690f18cc85fd3e93bb4aa7330643ea8f7f30267.tar.xz
frr-2690f18cc85fd3e93bb4aa7330643ea8f7f30267.zip
bgpd: Add route-map `match alias` command
Will be handy to filter BGP prefixes by using BGP community alias instead of numerical community values. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_routemap_nb.h')
-rw-r--r--bgpd/bgp_routemap_nb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_routemap_nb.h b/bgpd/bgp_routemap_nb.h
index f0e492eb6..069345b1a 100644
--- a/bgpd/bgp_routemap_nb.h
+++ b/bgpd/bgp_routemap_nb.h
@@ -29,6 +29,10 @@ extern const struct frr_yang_module_info frr_bgp_route_map_info;
/* prototypes */
int lib_route_map_entry_match_condition_rmap_match_condition_local_preference_modify(struct nb_cb_modify_args *args);
int lib_route_map_entry_match_condition_rmap_match_condition_local_preference_destroy(struct nb_cb_destroy_args *args);
+int lib_route_map_entry_match_condition_rmap_match_condition_alias_modify(
+ struct nb_cb_modify_args *args);
+int lib_route_map_entry_match_condition_rmap_match_condition_alias_destroy(
+ struct nb_cb_destroy_args *args);
int lib_route_map_entry_match_condition_rmap_match_condition_script_modify(struct nb_cb_modify_args *args);
int lib_route_map_entry_match_condition_rmap_match_condition_script_destroy(struct nb_cb_destroy_args *args);
int lib_route_map_entry_match_condition_rmap_match_condition_origin_modify(struct nb_cb_modify_args *args);