]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zserv.h
zebra: Allow zebra_find_client to match on instance as well
[mirror_frr.git] / zebra / zserv.h
index a62f1c89fc4adef6a0e708103840e04281383d7a..6077dc105a42e26cb50c55d2d14d03ae42bf9302 100644 (file)
@@ -185,8 +185,8 @@ extern int zsend_interface_vrf_update(struct zserv *, struct interface *,
 extern int zsend_interface_link_params(struct zserv *, struct interface *);
 extern int zsend_pw_update(struct zserv *, struct zebra_pw *);
 
-extern int zsend_route_notify_owner(u_char proto, vrf_id_t vrf_id,
-                                   struct prefix *p,
+extern int zsend_route_notify_owner(u_char proto, u_short instance,
+                                   vrf_id_t vrf_id, struct prefix *p,
                                    enum zapi_route_notify_owner note);
 
 extern pid_t pid;
@@ -197,7 +197,7 @@ extern void zserv_nexthop_num_warn(const char *, const struct prefix *,
                                   const unsigned int);
 extern int zebra_server_send_message(struct zserv *client);
 
-extern struct zserv *zebra_find_client(u_char proto);
+extern struct zserv *zebra_find_client(u_char proto, u_short instance);
 
 #if defined(HANDLE_ZAPI_FUZZING)
 extern void zserv_read_file(char *input);