summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2022-10-12 09:30:36 -0400
committerGitHub <noreply@github.com>2022-10-12 09:30:36 -0400
commit984eb32b588186ac946733c5c3fe8032bae28ebc (patch)
treefadbfb00938fbd06eb92909bfe628857b7b3d00f /lib/zclient.h
parent87d54383c520799a90457e84e2242b6fa2024f73 (diff)
parent80f6ea8b99188b9d8e79fe4fc1740cc92375d7bc (diff)
Merge pull request #11159 from maduri111/bgpd-orr
bgpd: optimal route reflection
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index c3ea2a16ff..fb5da9aad2 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -100,6 +100,8 @@ enum zserv_client_capabilities {
extern struct sockaddr_storage zclient_addr;
extern socklen_t zclient_addr_len;
+#define ZAPI_ORR_FLAG_UNICAST 0x01
+
/* Zebra message types. */
typedef enum {
ZEBRA_INTERFACE_ADD,
@@ -1229,6 +1231,10 @@ enum zapi_opaque_registry {
LDP_RLFA_UNREGISTER_ALL = 8,
/* Announce LDP labels associated to a previously registered RLFA */
LDP_RLFA_LABELS = 9,
+ /* Register for IGP METRIC with OSPF/ISIS */
+ ORR_IGP_METRIC_REGISTER = 10,
+ /* Send SPF data to BGP */
+ ORR_IGP_METRIC_UPDATE = 11
};
/* Send the hello message.