]> git.proxmox.com Git - mirror_frr.git/blobdiff - sharpd/sharp_globals.h
Merge pull request #5083 from zays26/feature/vtysh-master
[mirror_frr.git] / sharpd / sharp_globals.h
index b0d35a91f2d1e20f3d94f8067c994663118fac2d..4e5c933667acd367b501f029fe1aae0457b4c100 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef __SHARP_GLOBAL_H__
 #define __SHARP_GLOBAL_H__
 
+DECLARE_MGROUP(SHARPD)
+
 struct sharp_routes {
        /* The original prefix for route installation */
        struct prefix orig_prefix;
@@ -36,6 +38,7 @@ struct sharp_routes {
        int32_t repeat;
 
        uint8_t inst;
+       vrf_id_t vrf_id;
 
        struct timeval t_start;
        struct timeval t_end;
@@ -44,6 +47,9 @@ struct sharp_routes {
 struct sharp_global {
        /* Global data about route install/deletions */
        struct sharp_routes r;
+
+       /* The list of nexthops that we are watching and data about them */
+       struct list *nhs;
 };
 
 extern struct sharp_global sg;