X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=zebra%2Fzapi_msg.h;h=996a255ff4beacb1bf2e37cbd73e0d33f8b029e5;hb=61678a82f875a2f584f9602153a2f3f16472b951;hp=8289e33c6a66df85e87847637d2cff6e957af1f8;hpb=79d702c130856b32509394d712cfdb7acb27ee5c;p=mirror_frr.git diff --git a/zebra/zapi_msg.h b/zebra/zapi_msg.h index 8289e33c6..996a255ff 100644 --- a/zebra/zapi_msg.h +++ b/zebra/zapi_msg.h @@ -28,6 +28,13 @@ #include "zebra/rib.h" #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. @@ -58,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, @@ -69,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); @@ -81,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