]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/routemap.h
bgpd: Implement Accumulated IGP Metric Attribute for BGP
[mirror_frr.git] / lib / routemap.h
index a3659258545f2886c1929316b73ea89d164b333a..9c78e1573577e562adc697f9d48c03afe2f9d93f 100644 (file)
@@ -348,6 +348,7 @@ DECLARE_QOBJ_TYPE(route_map);
        (strmatch(A, "frr-bgp-route-map:set-origin"))
 #define IS_SET_ATOMIC_AGGREGATE(A)                                             \
        (strmatch(A, "frr-bgp-route-map:atomic-aggregate"))
+#define IS_SET_AIGP_METRIC(A) (strmatch(A, "frr-bgp-route-map:aigp-metric"))
 #define IS_SET_ORIGINATOR_ID(A)                                                \
        (strmatch(A, "frr-bgp-route-map:originator-id"))
 #define IS_SET_COMM_LIST_DEL(A)                                                \
@@ -1015,6 +1016,8 @@ extern void route_map_optimization_disabled_show(struct vty *vty,
                                                 bool show_defaults);
 extern void route_map_cli_init(void);
 
+extern void route_map_show_debug(struct vty *vty);
+
 #ifdef __cplusplus
 }
 #endif