]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/memory.h
zebra, lib: fix the ZEBRA_INTERFACE_VRF_UPDATE zapi message
[mirror_frr.git] / lib / memory.h
index c39f34e3a7f8a313f2c3c5d9497b5e18650a4468..2d6c1447786a467d39fc147acb981947380ad996 100644 (file)
@@ -34,9 +34,11 @@ struct memtype {
        struct memtype *next, **ref;
        const char *name;
        _Atomic size_t n_alloc;
+       _Atomic size_t n_max;
        _Atomic size_t size;
 #ifdef HAVE_MALLOC_USABLE_SIZE
        _Atomic size_t total;
+       _Atomic size_t max_size;
 #endif
 };