[Winpcap-users] problem to determine the active ports present in my NIC cards

rajath kumara rajathkumara at gmail.com
Tue Jul 5 00:37:42 PDT 2011


Hi,

There were some problems and confusion in my previous post, and i did get
some reply, for the query, but the problem i defined still remained
unanswered.


However guess, its better to restate my problem, so that i can make you
people clear about my query.

I am using some  3 NICS ( network interface cards), which together get me 10
ports.
2 NICs are are from D-Link NIC cards which have 4 ports each in them, and
another is NETGEAR NIC, which has 2 ports in it.

with the help of pcap_findalldevs() , i can obtain the list of all ports ,
along with details of NIC cards, their MAC_ addresses and others.

But my question is , pcap_findalldevs( ), gives me list of all 10 ports i am
using,

assume i use a cross-cable and connect any 2 ports to form a loopback
condition,then  is their any function in wpcap, which tells me
which 2 ports are in loopback state among the 10 ports i am using.

or any other function is their apart from wpcap, which helps me to do this.


please help me to figure out this problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20110705/172bbefe/attachment.html>


More information about the Winpcap-users mailing list