[Winpcap-users] WinPCAP Tx pkts not counted in GetIfTable() stats?

Srivats P pstavirs at gmail.com
Thu Jul 28 08:41:26 PDT 2011

2nd try ... can someone confirm if pkts tx by pcap_sendpacket() will
not be counted by the stats returned by the IP Helper GetIfTable()

If so, what's the alternative? the NDIS stats OIDs?


On Mon, Jul 18, 2011 at 9:38 PM, Srivats P <pstavirs at gmail.com> wrote:
> Hi,
> On Windows XP, I'm retreiving interface stats using the IP Helper API
> - GetIfTable(). However, it looks like packets transmitted using
> WinPCAP APIs - pcap_sendpacket()/pcap_sendqueue_transmit() are not
> being counted. Is this expected? I'm using WinPcap 4.1.2.
> Isn't the stats returned by GetIfTable() equivalent to the IfMIB
> stats? If not, would anyone know which Win32 API would return the
> same?
> Regards,
> Srivats
> (http://ostinato.org)

More information about the Winpcap-users mailing list