GetIfentry,ifIndex and NDIS
Hi,
Iam tryin to get some extra traffic and error
information from my network adapters that
is not given in the GetIfEntry interface
(or the SNMP interface by querying
inetmib1.dll directly).
Specifically iam trying to get the mib2-transmission
group of SNMP information
I have found how to get the required stats from
NDIS using IOCTL_NDIS_QUERY_GLOBAL_STATS
but i cant find the IfIndex number of an interface from
NDIS - still tryiing - all i have is the name of the card and
its GUID that i have to browse from the registry to call
NDIS.
I couldnt find any IPHelper API's that does tie the
ifIndex number to the GUID of an interface
(Assuming the name can be duplicated). Without this
information i will not be able to correlate the information
from NDIS and the GetIfEntry information
If someone knows how this ifIndex number is found by
the IPHelper api or inetmib1.dll or from where I can get
the mib2-transmission group information in windows please
tell me about it
Thank you
arun
|