Hi all,

     I am working on white/black list and trying to understand some part of the 
ntop code in netflowplugin.c & util.c. 

     There is a function in the netflowplugin.c which calls 
isOKtoSave(ntohl(record->srcaddr),
                                 
myGlobals.device[deviceId].netflowGlobals->whiteNetworks,
                                 
myGlobals.device[deviceId].netflowGlobals->blackNetworks,
                                 
myGlobals.device[deviceId].netflowGlobals->numWhiteNets,
                                 
myGlobals.device[deviceId].netflowGlobals->numBlackNets)) 

   the isOKtoSave in util.c calls  __pseudoLocalAddress(&workAddr, 
blackNetworks, numBlackNets, NULL, NULL);

   My question is what is  __pseudoLocalAddress() functionality and what it is 
doing ? Can come one please explain ?

 Thanks
 -Muru




 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to