次の方法で共有


NdisCopyReceiveNetBufferListInfo (Compact 2013)

3/26/2014

Intermediate drivers call this function to copy the NET_BUFFER_LIST information in a received NET_BUFFER_LIST structure.

Syntax

VOID
  NdisCopyReceiveNetBufferListInfo(
    IN PNET_BUFFER_LIST  DestNetBufferList,
    IN PNET_BUFFER_LIST  SrcNetBufferList
    );

Parameters

  • DestNetBufferList
    A pointer to the destination NET_BUFFER_LIST structure.
  • SrcNetBufferList
    A pointer to the source NET_BUFFER_LIST structure.

Return Value

None

Remarks

When an intermediate driver or filter driver gets receive indications from an underlying driver, it can, for example, clone the NET_BUFFER_LIST structure or allocate a new structure to propagate the request to overlying drivers. The driver should use NdisCopyReceiveNetBufferListInfo to copy the NET_BUFFER_LIST information, including private NDIS information, to the new structure.

To copy the NET_BUFFER_LIST information on the send path, use the NdisCopySendNetBufferListInfo function.

Requirements

Header

ndis.h

See Also

Reference

NDIS NET_BUFFER Functions
NET_BUFFER_LIST
NdisCopyReceiveNetBufferListInfo