]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/router-id.h
zebra: let /32 host route with same IP cross VRF
[mirror_frr.git] / zebra / router-id.h
index 6b15159fdba2ee0306df35fc369d7919467bb4d6..4a35f6605b7a5a261792da834e25d5c642058a28 100644 (file)
 #include "zclient.h"
 #include "if.h"
 
-extern void router_id_add_address(struct connected *);
-extern void router_id_del_address(struct connected *);
-extern void router_id_init(struct zebra_vrf *);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern void router_id_add_address(struct connected *c);
+extern void router_id_del_address(struct connected *c);
+extern void router_id_init(struct zebra_vrf *zvrf);
 extern void router_id_cmd_init(void);
-extern void router_id_write(struct vty *);
-extern void router_id_get(struct prefix *, vrf_id_t);
+extern void router_id_write(struct vty *vty, struct zebra_vrf *zvrf);
+extern int router_id_get(afi_t afi, struct prefix *p, struct zebra_vrf *zvrf);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif