WAN_CO_MTULINKPARAMS structure

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 WAN_CO_MTULINKPARAMS structure describes changes in the link speed and send window associated with the virtual connection (VC) on a WAN NIC.

Syntax


typedef struct _WAN_CO_MTULINKPARAMS {
  ULONG Version;
  ULONG TransmitSpeed;
  ULONG ReceiveSpeed;
  ULONG SendWindow;
  ULONG MTU;
} WAN_CO_MTULINKPARAMS, *PWAN_CO_MTULINKPARAMS;

Members

Version

Miniport drivers should set this to 1.

TransmitSpeed

Specifies the speed at which the WAN miniport driver can transmit data over the network on this VC. This speed is in units of bytes per second.

NDISWAN defaults a TransmitSpeed of zero to 28.8 kilobits per second (Kbps).

ReceiveSpeed

Specifies the speed at which the WAN miniport driver can receive data from the network on this VC. This speed is in units of bytes per second.

NDISWAN defaults a ReceiveSpeed of zero to 28.8 Kbps.

SendWindow

Specifies the number of send packets the WAN miniport driver (or its NIC) can accept at a time. This is effectively how many NDIS_PACKET-type send packets the WAN miniport driver queues internally. Zero indicates that the WAN miniport driver cannot queue any send packets. That is, the "send window" between NDISWAN and the miniport driver is closed. If SendWindow is set to zero, the WAN miniport driver indicates that it cannot accept packets for the particular VC. Therefore, NDISWAN must stop sending packets for that VC.

MTU

Specifies the maximum transmission unit (MTU) size, in bytes, for this VC.

Requirements

Header

Ndiswan.h (include Ndiswan.h)

See also

NDIS_STATUS_WAN_CO_MTULINKPARAMS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft