* Use std::map instead of hand-written hashtable

* Use handwritten inode-to-process-mapping instead of the
  one taken from netstat
* Use a #define for using assertions
This commit is contained in:
Arnout Engelen
2005-01-15 12:28:35 +00:00
parent 2eae80fd74
commit 4a3a21a5df
12 changed files with 83 additions and 186 deletions

View File

@@ -62,7 +62,7 @@ u_int32_t PackList::sumanddel (timeval t)
Connection::Connection (Packet * packet)
{
if (DEBUG)
if (ROBUST)
assert (packet != NULL);
connections = new ConnList (this, connections);
sent_packets = new PackList ();