Update of /export/home/ntop/ntop/plugins
In directory jabber:/tmp/cvs-serv8545/plugins

Modified Files:
        icmpPlugin.c lastSeenPlugin.c nfsPlugin.c rrdPlugin.c 
Log Message:
Major code change: this snapshot is versioned 2.2.2.

1. Changed the way hashes are working. The HostTraffic struct is now
   a linked list.
2. The 'old' (<= 2.2.1) ntop used to wirk using indexes. The new one
   works with pure pointers for better performance.
3. Removed **hashList and hashListBucket.
4. Added functions getFirstHost() and getNextHost() for walking
   the hash without having to deal with hash internals.
5. Removed regex.[ch] stuff (no longer needed).

This is a major code change that will likely introduces new bugs.
Nevertheless it was necessary because:
1. it removes some structures (hashList) that take memory
2. it should improve the overall performance
3. the hash size is now static and tuned for both small and large nets
   (i.e. no more hash extension).

Luca



_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to