NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// netadapteroffload.h

void NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES_INIT(
  [_Out_] NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES *RscCapabilities,
  [_In_]  NET_ADAPTER_OFFLOAD_LAYER3_FLAGS     Layer3Flags,
  [_In_]  NET_ADAPTER_OFFLOAD_LAYER4_FLAGS     Layer4Flags,
  [_In_]  PFN_NET_ADAPTER_OFFLOAD_SET_RSC      EvtAdapterOffloadSetRsc
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netadapteroffload-net_adapter_offload_rsc_capabilities_init)

NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES_INIT function

Description

The NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES_INIT function initializes a NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES structure.

Parameters

RscCapabilities [_Out_]

A pointer to a driver-allocated NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES structure.

Layer3Flags [_In_]

Flags specifying the layer 3 protocols that the NIC can successfully perform RSC on.

Layer4Flags [_In_]

Flags specifying the layer 4 protocols that the NIC can successfully perform RSC on.

EvtAdapterOffloadSetRsc [_In_]

A pointer to the client driver's implementation of the EVT_NET_ADAPTER_OFFLOAD_SET_RSC callback function.

Remarks

The client driver calls NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES_INIT to initialize a NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES structure. The driver passes the initialized NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES structure as a parameter to the NetAdapterOffloadSetRscCapabilities function to register it.

To see an example of how a client driver might set up its RSC hardware offload capabilities, see Receive Segment Coalescing offload.

See also

Receive Segment Coalescing offload

NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES

NetAdapterOffloadSetRscCapabilities