]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_routemap.h
libs, daemons: use const in route-map apply
[mirror_frr.git] / zebra / zebra_routemap.h
index 688c8b7203d2544f94de5d95c6300e254e86f41e..d33487d7afb68b7dc20a2c9aaf92f510a70b5e4a 100644 (file)
@@ -35,7 +35,8 @@ extern void zebra_route_map_write_delay_timer(struct vty *);
 
 extern route_map_result_t
 zebra_import_table_route_map_check(int family, int rib_type, uint8_t instance,
-                                  struct prefix *p, struct nexthop *nexthop,
+                                  const struct prefix *p,
+                                  struct nexthop *nexthop,
                                   vrf_id_t vrf_id, route_tag_t tag,
                                   const char *rmap_name);
 extern route_map_result_t
@@ -43,7 +44,7 @@ zebra_route_map_check(int family, int rib_type, uint8_t instance,
                      const struct prefix *p, struct nexthop *nexthop,
                      vrf_id_t vrf_id, route_tag_t tag);
 extern route_map_result_t
-zebra_nht_route_map_check(int family, int client_proto, struct prefix *p,
+zebra_nht_route_map_check(int family, int client_proto, const struct prefix *p,
                          struct route_entry *, struct nexthop *nexthop);