summaryrefslogtreecommitdiffstats
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-23 00:36:03 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-23 01:45:31 +0100
commit3c1925406846d0e2d981086ea4d3c9fb09dc8b4a (patch)
tree5e0449a7e47c9002b1015e12c56de30bd2dcf5ef /lib/zclient.h
parentpimd: No need to assert on the redist_default (diff)
downloadfrr-3c1925406846d0e2d981086ea4d3c9fb09dc8b4a.tar.xz
frr-3c1925406846d0e2d981086ea4d3c9fb09dc8b4a.zip
bgpd, lib, pimd: Abstract commands for nexthop tracking
Abstract the code that sends the zapi message into zebra for the turn on/off of nexthop tracking for a prefix. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 00ad69271..847c2904d 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -478,6 +478,9 @@ extern int zapi_ipv4_route_ipv6_nexthop(u_char, struct zclient *,
struct zapi_ipv6 *)
__attribute__((deprecated));
extern int zclient_route_send(u_char, struct zclient *, struct zapi_route *);
+extern int zclient_send_rnh(struct zclient *zclient, int command,
+ struct prefix *p, bool exact_match,
+ vrf_id_t vrf_id);
extern int zapi_route_encode(u_char, struct stream *, struct zapi_route *);
extern int zapi_route_decode(struct stream *, struct zapi_route *);
bool zapi_route_notify_decode(struct stream *s, struct prefix *p,