Bewerken

Delen via


NET_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE enumeration (netadapter.h)

The NET_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE enumeration identifies how the operating system should pre-attach NET_FRAGMENT buffers to NET_PACKETs for a net adapter client driver's receive queues.

Syntax

typedef enum _NET_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE {
  NetRxFragmentBufferAttachmentModeSystem = 0,
  NetRxFragmentBufferAttachmentModeDriver = 1
} NET_RX_FRAGMENT_BUFFER_ATTACHMENT_MODE;

Constants

 
NetRxFragmentBufferAttachmentModeSystem
Value: 0
The operating system attaches receive NET_FRAGMENTs to NET_PACKETs automatically. This value is valid only when receive fragment buffer allocation, identified by the NET_RX_FRAGMENT_BUFFER_ALLOCATION_MODE enumeration, is also set to NetRxFragmentBufferAllocationModeSystem.
NetRxFragmentBufferAttachmentModeDriver
Value: 1
The client driver is responsible for attaching NET_FRAGMENT receive buffers to NET_PACKETs.

Remarks

This enumeration is a value of the NET_ADAPTER_RX_CAPABILITIES structure. Together with NET_RX_FRAGMENT_BUFFER_ALLOCATION_MODE, it specifies how a net adapter client driver would like to configure its receive queue fragment buffers. For more information, see NET_ADAPTER_RX_CAPABILITIES.

Requirements

Requirement Value
Minimum KMDF version 1.25
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)