summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2017-02-01 13:10:56 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-04-06 10:29:19 -0400
commit5aba114af433e92403859beaa48e133baf93ffc2 (patch)
tree275d6610f550d97bf8268deead50df044acf5656 /lib/zclient.h
parentf31e084c7c0e6699926ad72bc4f9a8ca2663f50b (diff)
zebra: fec register
Implement interface that allows a client to register a FEC for obtaining a label binding (in-label). Update client whenever the label binding is updated and cleanup when client goes away. Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index d3d0a202c5..a5a1b530c5 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -94,6 +94,9 @@ typedef enum {
ZEBRA_LABEL_MANAGER_CONNECT,
ZEBRA_GET_LABEL_CHUNK,
ZEBRA_RELEASE_LABEL_CHUNK,
+ ZEBRA_FEC_REGISTER,
+ ZEBRA_FEC_UNREGISTER,
+ ZEBRA_FEC_UPDATE,
} zebra_message_types_t;
struct redist_proto
@@ -164,6 +167,7 @@ struct zclient
int (*redistribute_route_ipv4_del) (int, struct zclient *, uint16_t, vrf_id_t);
int (*redistribute_route_ipv6_add) (int, struct zclient *, uint16_t, vrf_id_t);
int (*redistribute_route_ipv6_del) (int, struct zclient *, uint16_t, vrf_id_t);
+ int (*fec_update) (int, struct zclient *, uint16_t);
};
/* Zebra API message flag. */