summaryrefslogtreecommitdiffstats
path: root/sharpd/sharp_zebra.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-06-08 22:38:36 +0200
committerMark Stapp <mjs@voltanet.io>2020-06-10 21:05:25 +0200
commitc8b27f2ad98f71842e506b8ccff403971769d8cb (patch)
treed94ecb6922ff738e8e975b9f894f157566a93484 /sharpd/sharp_zebra.h
parentlib,sharpd: add a SHARP_STR alias (diff)
downloadfrr-c8b27f2ad98f71842e506b8ccff403971769d8cb.tar.xz
frr-c8b27f2ad98f71842e506b8ccff403971769d8cb.zip
sharpd,zebra: unicast support for zapi messages
Distinguish between unicast and broadcast opaque messages in zebra handler code. Add cli and internal api changes to have sharpd send unicast opaque messages. Add opaque cli commands to the sharp user doc. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'sharpd/sharp_zebra.h')
-rw-r--r--sharpd/sharp_zebra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sharpd/sharp_zebra.h b/sharpd/sharp_zebra.h
index 7c714b52d..7604f4b0a 100644
--- a/sharpd/sharp_zebra.h
+++ b/sharpd/sharp_zebra.h
@@ -46,7 +46,8 @@ int sharp_install_lsps_helper(bool install_p, const struct prefix *p,
const struct nexthop_group *backup_nhg);
/* Send OPAQUE messages, using subtype 'type'. */
-void sharp_opaque_send(uint32_t type, uint32_t count);
+void sharp_opaque_send(uint32_t type, uint32_t proto, uint32_t instance,
+ uint32_t session_id, uint32_t count);
/* Send OPAQUE registration messages, using subtype 'type'. */
void sharp_opaque_reg_send(bool is_reg, uint32_t proto, uint32_t instance,