]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zserv.h
Merge pull request #3465 from donaldsharp/nexthop_active_update
[mirror_frr.git] / zebra / zserv.h
index aaefd78eeab76bb3b1b897595c3cbeaf3edd0f9d..f7967f54f00b18e6afa5da7b5e4db12950ad21bd 100644 (file)
@@ -133,6 +133,10 @@ struct zserv {
        uint32_t macipdel_cnt;
        uint32_t prefixadd_cnt;
        uint32_t prefixdel_cnt;
+       uint32_t v4_nh_watch_add_cnt;
+       uint32_t v4_nh_watch_rem_cnt;
+       uint32_t v6_nh_watch_add_cnt;
+       uint32_t v6_nh_watch_rem_cnt;
 
        time_t nh_reg_time;
        time_t nh_dereg_time;
@@ -153,9 +157,9 @@ struct zserv {
        /* monotime of last message sent */
        _Atomic uint32_t last_write_time;
        /* command code of last message read */
-       _Atomic uint16_t last_read_cmd;
+       _Atomic uint32_t last_read_cmd;
        /* command code of last message written */
-       _Atomic uint16_t last_write_cmd;
+       _Atomic uint32_t last_write_cmd;
 };
 
 #define ZAPI_HANDLER_ARGS                                                      \
@@ -251,4 +255,7 @@ extern void zserv_close_client(struct zserv *client);
 extern void zserv_read_file(char *input);
 #endif
 
+/* TODO */
+int zebra_finalize(struct thread *event);
+
 #endif /* _ZEBRA_ZEBRA_H */