Condividi tramite


General Operational Characteristics (NDIS 5.1)

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

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

Length Q S Name

Arr(4)

M

OID_GEN_SUPPORTED_LIST

List of supported OIDs

4

M

OID_GEN_HARDWARE_STATUS

Hardware status

Arr(4)

M

OID_GEN_MEDIA_SUPPORTED

Media types supported (encoded)

Arr(4)

M

OID_GEN_MEDIA_IN_USE

Media types in use (encoded)

4

M

OID_GEN_MAXIMUM_LOOKAHEAD

Maximum in bytes, receive lookahead size

4

M

OID_GEN_MAXIMUM_FRAME_SIZE

Maximum in bytes, frame size

4

M

OID_GEN_LINK_SPEED

Link speed in units of 100 bps

4

M

OID_GEN_TRANSMIT_BUFFER_SPACE

Transmit buffer space

4

M

OID_GEN_RECEIVE_BUFFER_SPACE

Receive buffer space

4

M

OID_GEN_TRANSMIT_BLOCK_SIZE

Minimum amount of storage, in bytes, that a single packet occupies in the transmit buffer space of the NIC

4

M

OID_GEN_RECEIVE_BLOCK_SIZE

Amount of storage, in bytes, that a single packet occupies in the receive buffer space of the NIC

4

M

OID_GEN_VENDOR_ID

Vendor NIC code

Var.

M

OID_GEN_VENDOR_DESCRIPTION

Vendor network card description

4

M

OID_GEN_VENDOR_DRIVER_VERSION

Vendor-assigned version number of the driver

4

M

M

OID_GEN_CURRENT_PACKET_FILTER

Current packet filter (encoded)

4

M

M

OID_GEN_CURRENT_LOOKAHEAD

Current lookahead size in bytes

2

M

OID_GEN_DRIVER_VERSION

NDIS version number used by the driver

4

M

OID_GEN_MAXIMUM_TOTAL_SIZE

Maximum total packet length in bytes

4

M

OID_GEN_PROTOCOL_OPTIONS

Optional protocol flags (encoded)

4

M

OID_GEN_MAC_OPTIONS

Optional NIC flags (encoded)

4

M

OID_GEN_MEDIA_CONNECT_STATUS

Whether the NIC is connected to the network

4

M

OID_GEN_MAXIMUM_SEND_PACKETS

The maximum number of send packets the driver can accept per call to its MiniportSendPacketsfunction

Arr

O

OID_GEN_SUPPORTED_GUIDS

The custom GUIDs (Globally Unique Identifier) supported by the miniport driver

Arr

O

OID_GEN_NETWORK_LAYER_ADDRESSES

List of network-layer addresses associated with the binding between a transport and the driver

4

O

OID_GEN_TRANSPORT_HEADER_OFFSET

Size of packets' additional headers

4

O

OID_GEN_PHYSICAL_MEDIUM

Physical media supported by the miniport driver (encoded)

Var.

O

OID_GEN_MACHINE_NAME

The system name.

4

O

O

OID_GEN_VLAN_ID

The VLAN identifier (ID) for a NIC that the miniport driver handles

30

O

OID_GEN_RNDIS_CONFIG_PARAMETER

Device-specific configuration parameter (RNDIS only).

 

 

 

Send comments about this topic to Microsoft