Поделиться через


NdisCopySendNetBufferListInfo (Compact 2013)

3/26/2014

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

Syntax

VOID
  NdisCopySendNetBufferListInfo(
    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 receives a transmit request from an overlying driver, it can, for example, clone the NET_BUFFER_LIST structure or allocate a new structure to propagate the request to underlying drivers. The driver should use NdisCopySendNetBufferListInfo to copy the NET_BUFFER_LIST information. This includes private NDIS information, to the new structure.

To copy the NET_BUFFER_LIST information on the receive path, use the NdisCopyReceiveNetBufferListInfo function.

Requirements

Header

ndis.h

See Also

Reference

NDIS NET_BUFFER Functions
NET_BUFFER_LIST
NdisCopyReceiveNetBufferListInfo