NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES - NtDoc

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

typedef struct _NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES {
  ULONG                            Size;
  NET_ADAPTER_OFFLOAD_LAYER3_FLAGS Layer3Flags;
  NET_ADAPTER_OFFLOAD_LAYER4_FLAGS Layer4Flags;
  BOOLEAN                          TcpTimestampOption;
  PFN_NET_ADAPTER_OFFLOAD_SET_RSC  EvtAdapterOffloadSetRsc;
} NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-netadapteroffload-_net_adapter_offload_rsc_capabilities)

NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES structure

Description

The NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES structure describes a network interface card (NIC)'s capabilities for receive segment coalescence (RSC).

Members

Size

The size of this structure, in bytes.

Layer3Flags

Flags specifying the layer 3 protocols that the NIC can successfully perform RSC on. NetAdapterOffloadLayer3FlagIPv4NoOptions and NetAdapterOffloadLayer3FlagIPv6NoExtensions are the only valid values.

Layer4Flags

Flags specifying the layer 4 protocols that the NIC can successfully perform RSC on. NetAdapterOffloadLayer4FlagTcpNoOptions and NetAdapterOffloadLayer4FlagUdp are the only valid values. Layer 3 flags must be set if the NetAdapterOffloadLayer4FlagTcpNoOptions flag is set.

TcpTimestampOption

Optional. A flag specifying whether the hardware can perform RSC on packets with a timestamp.

EvtAdapterOffloadSetRsc

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

Remarks

Call NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES_INIT to initialize this structure. The client driver passes an initialized NET_ADAPTER_OFFLOAD_RSC_CAPABILITIES structure as a parameter to NetAdapterOffloadSetRscCapabilities.

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_INIT

NetAdapterOffloadSetRscCapabilities

EVT_NET_ADAPTER_OFFLOAD_SET_RSC