Hello there,
I bet this is a sort of known issue/question, but I haven’t yet found
any 100% solutions, so here it comes…
I have a packet processing service that runs on 9x/2000 and a set of
kernel mode drivers for the above platforms. The service needs to know
what adapter a packet is coming from, so I pass the adapter name from
kernel mode in each packet.
Adapter names 9x: 4 chars (0000)
Adapter names 2000: GUID (6CE4D070-2F63-4bfb-81CB-AF1AEB651EFE)
Now about the problem - every time ip address for some adapter changes
I need to know about it. The only reliable way to monitor IP address
changes that I have found so far is to create a listening socket and
attach an event to it (winsock2 stuff).
On 2000+ I can call GetAdaptersInfo() which gives me the adapter
name(guid) and description(string). However, on 9x, I have to resort
to snmp calls using WsControl() - the winipcfg.exe functionality.
So, the question is - how do I link adapters’ names(0000) to the
descriptions or indexes of adapters that snmp calls return on 9x? The
tricky thing here is the fact that snmp descriptions are different to
the descriptions in the registry. (the ones displayed in the control
panel -> networs)
Thanks in advance,
Oleg Smolsky
Senior Software Engineer
Allied Telesyn Research
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Use the MAC address to tie the information from the two sources together?
Good luck,
–
Thomas F. Divine
PCAUSA - Tools & Resources For Network Software Developers
NDIS Protocol/Intermediate/Hooking - TDI Client/Filter
http: - http:
“Oleg Smolsky” wrote in message
news:xxxxx@ntdev…
>
> Hello there,
>
> I bet this is a sort of known issue/question, but I haven’t yet found
> any 100% solutions, so here it comes…
>
> I have a packet processing service that runs on 9x/2000 and a set of
> kernel mode drivers for the above platforms. The service needs to know
> what adapter a packet is coming from, so I pass the adapter name from
> kernel mode in each packet.
>
> Adapter names 9x: 4 chars (0000)
> Adapter names 2000: GUID (6CE4D070-2F63-4bfb-81CB-AF1AEB651EFE)
>
> Now about the problem - every time ip address for some adapter changes
> I need to know about it. The only reliable way to monitor IP address
> changes that I have found so far is to create a listening socket and
> attach an event to it (winsock2 stuff).
>
> On 2000+ I can call GetAdaptersInfo() which gives me the adapter
> name(guid) and description(string). However, on 9x, I have to resort
> to snmp calls using WsControl() - the winipcfg.exe functionality.
>
> So, the question is - how do I link adapters’ names(0000) to the
> descriptions or indexes of adapters that snmp calls return on 9x? The
> tricky thing here is the fact that snmp descriptions are different to
> the descriptions in the registry. (the ones displayed in the control
> panel -> networs)
>
> Thanks in advance,
>
> Oleg Smolsky
> Senior Software Engineer
> Allied Telesyn Research
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:></http:>
Hello Thomas,
Thomas F. Divine wrote on Friday, February 8, 2002:
OS>> So, the question is - how do I link adapters’ names(0000) to the
OS>> descriptions or indexes of adapters that snmp calls return on 9x?
OS>> The tricky thing here is the fact that snmp descriptions are
OS>> different to the descriptions in the registry. (the ones
OS>> displayed in the control panel -> networs)
TFD> Use the MAC address to tie the information from the two sources
TFD> together?
thanks, that will probably work 
Best regards,
Oleg Smolsky
Senior Software Engineer
Allied Telesyn Research
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com