[Winpcap-users] Is there a way to get the 'adapter' field in winpcap 4.1.2?

Ben Greear greearb at candelatech.com
Thu Jun 20 12:52:46 PDT 2013

I'm trying to upgrade from an older (OEM) winpcap to winpcap OME 4.1.2.

I have been using code like this:

       oid->Length = 1024 - (sizeof(oid->Oid) - sizeof(oid->Length));
       if (PacketRequest(np->adapter, false, oid)) {

But, it seems that the 'struct pcap' is no longer defined anywhere,
and I cannot find anything equivalent to get the adapter.

Anyone have any ideas?


Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

More information about the Winpcap-users mailing list