Sending Data (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.
A connectionless miniport driver can have either of two functions for sending packets:
-
NDIS passes MiniportSendPackets one or more packets at a time as an array of pointers to the packet descriptors.
-
NDIS always passes MiniportSend a single packet descriptor at a time.
A connection-oriented miniport driver must have a MiniportCoSendPacketsfunction to send packets. NDIS passes MiniportCoSendPacketsone or more packets at a time as an array of pointers to the packet descriptors.
For an overview of multipacket sends from connectionless and connection-oriented drivers, see Multipacket Sends.
For an overview of single-packets sends from connectionless drivers, see Single-Packet Sends.