[Winpcap-users] Re: calculating number of bits per second when gathering statistics

joe kibz chikabanga2005 at yahoo.com
Thu May 18 06:32:42 GMT 2006


Problem:

//this is how calculating bits per second is shown in the winpcap docs... 

Bps.QuadPart=(((*(LONGLONG*)(pkt_data + 8)) * 8 * 1000000) / (delay));
I don't understand the (pkt_data + 8) part ; why is 8 being added ?


joe

		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060518/57af4b68/attachment.htm


More information about the Winpcap-users mailing list