I am trying to write a bridge using pcap, and to correctly bridge, I believe I need to remove the IP protocol from the network device.
However, when I do that, the win32 calls GetInterfaceInfo and GetAdaptersInfo will no longer show the interface in the returned list! I notice that winpcap can still find the devices, though it only returns the name and description.
I am hoping that if I can somehow get the device index from pcap as well, or use the pcap name with some win32 API to get the device index, then I can use the GetIfEntry method to retrieve the link state, MAC address and other goodies...
So, could anyone point me to a method of getting the device index given the results of pcap_findalldevs?
Thanks, Ben
-- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[email protected]/
To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================
