Packet Sniffer SDK DLL Edition

Constants Enumerations :: NDIS_OIDs

 Previous Next

NDIS_OID contains the constants specifies the codes of the NDIS request.

General Operational Characteristics

The following chart summarizes the OIDs that are used to get or set the general operational characteristics of miniport drivers and their NICs.

LengthQuerySetValueName
Arr(4)+-0x00010101OID_GEN_SUPPORTED_LIST
List of supported OIDs.
4+-0x00010102OID_GEN_HARDWARE_STATUS
Hardware status.
Arr(4)+-0x00010103OID_GEN_MEDIA_SUPPORTED
Media types supported (encoded).
Arr(4)+-0x00010104OID_GEN_MEDIA_IN_USE
Media types in use (encoded).
4+-0x00010105OID_GEN_MAXIMUM_LOOKAHEAD
Maximum in bytes, receive lookahead size.
4+-0x00010106OID_GEN_MAXIMUM_FRAME_SIZE
Maximum in bytes, frame size.
4+-0x00010107OID_GEN_LINK_SPEED
Link speed in units of 100 bps.
4+-0x00010108OID_GEN_TRANSMIT_BUFFER_SPACE
Transmit buffer space.
4+-0x00010109OID_GEN_RECEIVE_BUFFER_SPACE
Receive buffer space.
4+-0x0001010AOID_GEN_TRANSMIT_BLOCK_SIZE
Minimum amount of storage, in bytes, that a single packet occupies in the transmit buffer space of the NIC.
4+-0x0001010BOID_GEN_RECEIVE_BLOCK_SIZE
Amount of storage, in bytes, that a single packet occupies in the receive buffer space of the NIC.
4+-0x0001010COID_GEN_VENDOR_ID
Vendor NIC code.
Var.+-0x0001010DOID_GEN_VENDOR_DESCRIPTION
Vendor network card description.
4+-0x00010116OID_GEN_VENDOR_DRIVER_VERSION Vendor-assigned version number of the driver.
4++0x0001010EOID_GEN_CURRENT_PACKET_FILTER
Current packet filter (encoded).
4++0x0001010FOID_GEN_CURRENT_LOOKAHEAD
Current lookahead size in bytes.
2+-0x00010110OID_GEN_DRIVER_VERSION
NDIS version number used by the driver.
4+-0x00010111OID_GEN_MAXIMUM_TOTAL_SIZE
Maximum total packet length in bytes.
4-+0x00010112OID_GEN_PROTOCOL_OPTIONS
Optional protocol flags (encoded).
4+-0x00010113OID_GEN_MAC_OPTIONS
Optional NIC flags (encoded).
4+-0x00010114OID_GEN_MEDIA_CONNECT_STATUS
Whether the NIC is connected to the network.
4+-0x00010115OID_GEN_MAXIMUM_SEND_PACKETS
The maximum number of send packets the driver can accept per call to its MiniportSendPackets function.

General Statistics

The following chart summarizes the OIDs that are used to get the general statistics for NDIS drivers and NICs.

LengthQuerySetValueName
4 or 8+-0x00020101OID_GEN_XMIT_OK
Frames transmitted without errors.
4 or 8+-0x00020102OID_GEN_RCV_OK
Frames received without errors.
4 or 8+-0x00020103OID_GEN_XMIT_ERROR
Frames not transmitted or transmitted with errors.
4 or 8+-0x00020104OID_GEN_RCV_ERROR
Frames received with errors.
4 or 8+-0x00020105OID_GEN_RCV_NO_BUFFER
Frame missed, no buffers.

Ethernet Operational Characteristics

The following chart summarizes the OIDs used to get or set Ethernet operational characteristics for underlying NDIS drivers and their NICs.

LengthQuerySetValueName
6+-0x01010101OID_802_3_PERMANENT_ADDRESS
Permanent station address.
6+-0x01010102OID_802_3_CURRENT_ADDRESS
Current station address.
Arr(6)++0x01010103OID_802_3_MULTICAST_LIST
Current multicast address list.
4+-0x01010104OID_802_3_MAXIMUM_LIST_SIZE
Maximum size of multicast address list.
4+/--0x01010105OID_802_3_MAC_OPTIONS
NIC flags (encoded).

Ethernet Statistics

The following chart summarizes the OIDs used to get Ethernet statistics for NICs.

LengthQuerySetValueName
4+-0x01020101OID_802_3_RCV_ERROR_ALIGNMENT
Frames received with alignment error.
4+-0x01020102OID_802_3_XMIT_ONE_COLLISION
Frames transmitted with one collision.
4+-0x01020103OID_802_3_XMIT_MORE_COLLISIONS
Frames transmitted with more than one collision.

Token Ring Operational Characteristics

The following chart summarizes the OIDs used to get or set Token Ring operational characteristics for NDIS drivers and NICs.

LengthQuerySetValueName
6+-0x02010101OID_802_5_PERMANENT_ADDRESS
Permanent station address.
6+-0x02010102OID_802_5_CURRENT_ADDRESS
Current station address.
4++0x02010103OID_802_5_CURRENT_FUNCTIONAL
Current functional address.
4++0x02010104OID_802_5_CURRENT_GROUP
Current group address.
4++0x02010105OID_802_5_LAST_OPEN_STATUS
Last open status.
4+-0x02010106OID_802_5_CURRENT_RING_STATUS
Current ring status.
4+-0x02010107OID_802_5_CURRENT_RING_STATE
Current ring state.

Token Ring Statistics

The following chart summarizes the OIDs used to get Token Ring statistics for NICs.

LengthQuerySetValueName
4+-0x02020101OID_802_5_LINE_ERRORS
FCS or code violations detected in repeated frame.
4+-0x02020102OID_802_5_LOST_FRAMES
Frames transmitted that have failed to return.

FDDI Operational Characteristics

The following chart summarizes the mandatory OIDs used to get or set FDDI operational characteristics for NDIS drivers and NICs.

LengthQuerySetValueName
6+-0x03010101OID_FDDI_LONG_PERMANENT_ADDR
Permanent station address.
6+-0x03010102OID_FDDI_LONG_CURRENT_ADDR
Current station address.
Arr(6)++0x03010103OID_FDDI_LONG_MULTICAST_LIST
Multicast list.
4+-0x03010104OID_FDDI_LONG_MAX_LIST_SIZE
Maximum list size.
2+-0x03010105OID_FDDI_SHORT_PERMANENT_ADDR
Permanent station address. This OID is not supported in Microsoft Windows XP (SP1 and later), Microsoft Windows Server 2003, and later operating systems.
2+-0x03010106OID_FDDI_SHORT_CURRENT_ADDR
Current station address. This OID is not supported in Microsoft Windows XP (SP1 and later), Microsoft Windows Server 2003, and later operating systems.
Arr(2)++0x03010107OID_FDDI_SHORT_MULTICAST_LIST
Multicast list. This OID is not supported in Microsoft Windows XP (SP1 and later), Microsoft Windows Server 2003, and later operating systems.
4+-0x03010108OID_FDDI_SHORT_MAX_LIST_SIZE
Maximum list size. This OID is not supported in Microsoft Windows XP (SP1 and later), Microsoft Windows Server 2003, and later operating systems.

FDDI Statistics

The following chart summarizes the mandatory OIDs used to get FDDI statistics from underlying NIC drivers (or from NDIS).

LengthQuerySetValueName
4+-0x03020101OID_FDDI_ATTACHMENT_TYPE
The direction of traffic on the ring.
6+-0x03020102OID_FDDI_UPSTREAM_NODE_LONG
The long address of the station above this NIC on the ring.
6+-0x03020103OID_FDDI_DOWNSTREAM_NODE_LONG
The long address of the station below this NIC on the ring.
4+-0x03020104OID_FDDI_FRAME_ERRORS
The number of frames transmitted by this NIC that returned with errors.
4+-0x03020105OID_FDDI_FRAMES_LOST
The number of frames transmitted by this NIC that were not returned within an acceptable interval.
4+-0x03020106OID_FDDI_RING_MGT_STATE
The current state of the ring-management state machine.
4+-0x03020107OID_FDDI_LCT_FAILURES
The number of times the link confidence test has failed during connection management.
4+-0x03020108OID_FDDI_LEM_REJECTS
The link error monitor count of the times that a link was rejected.
4+-0x03020109OID_FDDI_LCONNECTION_STATE
The state of this ports physical connection management state machine.

Standard WAN Objects

The following chart summarizes the OIDs used to get or set operational characteristics for standard WAN miniport drivers.

LengthQuerySetValueName
6+-0x04010101OID_WAN_PERMANENT_ADDRESS
Permanent station address.
6+-0x04010102OID_WAN_CURRENT_ADDRESS
Current station.
4+-0x04010103OID_WAN_QUALITY_OF_SERVICE
Quality of service.
1 or 6-+0x04010104OID_WAN_PROTOCOL_TYPE
Protocol type.
4+-0x04010105OID_WAN_MEDIUM_SUBTYPE
Medium subtype.
4-+0x04010106OID_WAN_HEADER_FORMAT
Header format.
4+-0x04010107OID_WAN_GET_INFO
Get information.
4-+0x04010108OID_WAN_SET_LINK_INFO
Set link information.
4+-0x04010109OID_WAN_GET_LINK_INFO
Get link information.
4+-0x0401010AOID_WAN_LINE_COUNT
Line count.
See also:AdpSyncRequest, AdpAsyncRequest, AdpSetOnAsyncRequest, HNFN_ASYNCREQUEST