Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > GetIfentry,ifIndex and NDIS
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 23rd May 19:34
arun
External User
 
Posts: 1
Default 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
  Reply With Quote


  sponsored links


2 23rd May 19:34
eugene gershnik [sdk mvp]
External User
 
Posts: 1
Default GetIfentry,ifIndex and NDIS



GetAdapterInfo() gives you a list IP_ADAPTER_INFO which member AdapterName
apparently holds the GUID in string form. The index of the interface is the
Index member of this sturcture.

Eugene
  Reply With Quote
3 23rd May 19:34
arun
External User
 
Posts: 1
Default GetIfentry,ifIndex and NDIS


"Eugene Gershnik [SDK MVP]"


GetAdapterInfo() is only supported on 2000 and above.
(ERROR_NOT_SUPPORTED is returned)

I'm looking for NT support also.

Thanks
arun
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666