次の方法で共有


Indicating Received Data From a CoNDIS WAN Miniport Driver (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 operations occur when a CoNDIS WAN miniport driver receives a packet:

  1. The driver removes driver-specific encapsulation from the packet, if necessary. For example, the miniport driver adjusts the PacketBuffer and PacketSize parameters before calling NdisMCoIndicateReceivePacket to remove PPPoE encapsulation. However, the miniport driver should leave encapsulated data, such as PPP header and payload, intact.

  2. The driver calls the NdisMCoIndicateReceivePacket function to indicate to NDISWAN that a packet has arrived.

  3. The driver calls the NdisMCoReceiveComplete function to indicate the end of one or more receive indications. As a result, NDIS calls the ProtocolReceiveComplete handler of NDISWAN to begin to process the received data.

  4. NDISWAN processes the packet and calls NdisMIndicateReceivePacket to indicate the arrival of the packet.

  5. To forward the packet, NDIS calls the ProtocolReceive or ProtocolReceivePacket handlers of bound overlying protocol drivers.

For more information about indicating received data from a CoNDIS miniport driver, see Receiving Packets on a VC.

 

 

Send comments about this topic to Microsoft