ListAdapters
This
sample demonstrates the basic usage of CNdisApi object,
CNdisApi::GetTcpipBoundAdaptersInfo, adapter name conversion
functions and CNdisApi::GetMTUDecrement. It dumps all information
requested from helper driver on the console screen. Network
interfaces indexes dumped by this utility can be passed to
PacketSniffer and PassThru.
Notes:
- Displayed MTU value
is a real network interface MTU (size of maximum IP packet) without
system wide MTU decrement
- On Windows
NT/2000/XP MTU is not defined for \Device\NDISWANIP (dial-up
interface) before connection was established
- When multiply
NDISWAN connections established (Windows 2000/XP supports more then
one active NDISWAN device) it also displays available information
on WAN links.
|