summaryrefslogtreecommitdiff
path: root/sharpd/sharp_nht.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-04-29 12:32:53 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2020-09-28 12:40:59 -0400
commit569e87c0c831252f46fc9a8ddcbc5e268bff8327 (patch)
tree65729356e0eb0a9b7eaf028558b1af51f6a586dc /sharpd/sharp_nht.h
parent27141ea94e4ec770f2df8cca3840ac8c3bc101c1 (diff)
sharpd: add abilty to send a nhg to zebra
Modify the sharpd program to have the ability to pass down a NHG and then operate on it for route installation. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'sharpd/sharp_nht.h')
-rw-r--r--sharpd/sharp_nht.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sharpd/sharp_nht.h b/sharpd/sharp_nht.h
index 0b00774a81..27c0104583 100644
--- a/sharpd/sharp_nht.h
+++ b/sharpd/sharp_nht.h
@@ -35,4 +35,7 @@ struct sharp_nh_tracker {
extern struct sharp_nh_tracker *sharp_nh_tracker_get(struct prefix *p);
extern void sharp_nh_tracker_dump(struct vty *vty);
+
+extern uint32_t sharp_nhgroup_get_id(const char *name);
+extern void sharp_nhgroup_init(void);
#endif