NETWORKINFO structure

The NETWORKINFO structure describes a NIC.

Syntax

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 parameter 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

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h