]> git.tdb.fi Git - netvis.git/blobdiff - source/netvis.h
Improve the algorithm for deleting hosts
[netvis.git] / source / netvis.h
index 9e8661e58307c43ed9efe5d289fcb1e9eaacde8a..50170386c9ece06ab538295541e5937a58b3f9b1 100644 (file)
@@ -30,6 +30,8 @@ private:
        std::string iface;
        pcap_t *pcap;
        std::list<Packet *> packets;
+       unsigned max_hosts;
+       unsigned max_visible_hosts;
        std::map<unsigned, Host *> hosts;
        std::map<unsigned, Host *> disabled_hosts;
        Msp::Graphics::Display *dpy;