]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zapi_msg.h
Merge pull request #5793 from ton31337/fix/formatting_show_bgp_summary_failed
[mirror_frr.git] / zebra / zapi_msg.h
index 29fe59babfdaf89113a2b0e7b98ec9364658aaa5..996a255ff4beacb1bf2e37cbd73e0d33f8b029e5 100644 (file)
 #include "zebra/zserv.h"
 #include "zebra/zebra_pbr.h"
 #include "zebra/zebra_errors.h"
+#include "zebra/label_manager.h"
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /*
  * This is called to process inbound ZAPI messages.
@@ -59,7 +65,8 @@ extern int zsend_interface_update(int cmd, struct zserv *client,
 extern int zsend_redistribute_route(int cmd, struct zserv *zclient,
                                    const struct prefix *p,
                                    const struct prefix *src_p,
-                                   struct route_entry *re);
+                                   const struct route_entry *re);
+
 extern int zsend_router_id_update(struct zserv *zclient, struct prefix *p,
                                  vrf_id_t vrf_id);
 extern int zsend_interface_vrf_update(struct zserv *zclient,
@@ -70,6 +77,8 @@ extern int zsend_pw_update(struct zserv *client, struct zebra_pw *pw);
 extern int zsend_route_notify_owner(struct route_entry *re,
                                    const struct prefix *p,
                                    enum zapi_route_notify_owner note);
+extern int zsend_route_notify_owner_ctx(const struct zebra_dplane_ctx *ctx,
+                                       enum zapi_route_notify_owner note);
 
 extern void zsend_rule_notify_owner(struct zebra_pbr_rule *rule,
                                    enum zapi_rule_notify_owner note);
@@ -82,3 +91,17 @@ extern void zsend_iptable_notify_owner(struct zebra_pbr_iptable *iptable,
                                       enum zapi_iptable_notify_owner note);
 extern void zserv_nexthop_num_warn(const char *caller, const struct prefix *p,
                                   const unsigned int nexthop_num);
+
+extern void zsend_capabilities_all_clients(void);
+extern int zsend_assign_label_chunk_response(struct zserv *client,
+                                            vrf_id_t vrf_id, uint8_t proto,
+                                            uint16_t instance,
+                                            struct label_manager_chunk *lmc);
+extern int zsend_label_manager_connect_response(struct zserv *client,
+                                               vrf_id_t vrf_id,
+                                               unsigned short result);
+
+
+#ifdef __cplusplus
+}
+#endif