NETWORKINFO
The NETWORKINFO structure describes a NIC.
typedef struct _NETWORKINFO {
BYTE PermanentAddr[6];
BYTE CurrentAddr[6];
ADDRESS OtherAddress;
DWORD LinkSpeed;
DWORD MacType;
DWORD MaxFrameSize;
DWORD Flags;
DWORD TimestampScaleFactor;
BYTE NodeName[32];
BOOL PModeSupported;
BYTE Comment[ADAPTER_COMMENT_LENGTH];
} NETWORKINFO,
*LPNETWORKINFO;
Members
PermanentAddr
Permanent MAC address.CurrentAddr
Current MAC address.OtherAddress
Other address that support this (for example IP, IPX).LinkSpeed
Link speed, in Mbps.MacType
Media type.MaxFrameSize
Maximum frame size allowed.Flags
This parametere can be one of the following informational flags:Value Meaning NETWORKINFO_FLAGS_PMODE_NOT_SUPPORTED The network card does not support promiscuous mode, meaning that it will only capture traffic which is broadcast in nature or only involves the local machine. NETWORKINFO_FLAGS_RAS This is a virtual network card that is a RAS (Remote Access Server) connection through a modem or another network card. NETWORKINFO_FLAGS_REMOTE_CARD The network card is not on the local computer, but is capturing on a remote machine at the bequest of the local computer. NETWORKINFO_FLAGS_REMOTE_NAL Obsolete; do not use. NETWORKINFO_FLAGS_REMOTE_NAL_CONNECTED Obsolete; do not use. TimestampScaleFactor
For example, a value of 1 indicates 1/1 ms, 10 indicates 1/10 ms, 100 indicates 1/100 ms, and so on.NodeName
Name of remote workstation.PModeSupported
NIC P-mode support indicator.Comment
Adapter comment field.
Requirements
Client | Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0. |
Server | Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0. |
Header | Declared in Netmon.h. |