summaryrefslogtreecommitdiff
path: root/bgpd/rfapi/vnc_export_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/rfapi/vnc_export_table.h')
-rw-r--r--bgpd/rfapi/vnc_export_table.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/bgpd/rfapi/vnc_export_table.h b/bgpd/rfapi/vnc_export_table.h
index fdb35e81e1..5dcf4e6c1d 100644
--- a/bgpd/rfapi/vnc_export_table.h
+++ b/bgpd/rfapi/vnc_export_table.h
@@ -46,15 +46,14 @@ struct vnc_export_info {
};
extern struct agg_node *vnc_etn_get(struct bgp *bgp, vnc_export_type_t type,
- struct prefix *p);
+ const struct prefix *p);
extern struct agg_node *vnc_etn_lookup(struct bgp *bgp, vnc_export_type_t type,
- struct prefix *p);
+ const struct prefix *p);
-extern struct vnc_export_info *vnc_eti_get(struct bgp *bgp,
- vnc_export_type_t etype,
- struct prefix *p, struct peer *peer,
- uint8_t type, uint8_t subtype);
+extern struct vnc_export_info *
+vnc_eti_get(struct bgp *bgp, vnc_export_type_t etype, const struct prefix *p,
+ struct peer *peer, uint8_t type, uint8_t subtype);
extern void vnc_eti_delete(struct vnc_export_info *goner);