función NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES_INIT (netadapter.h)

La función NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES_INIT inicializa una estructura NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES .

Sintaxis

void NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES_INIT(
  [_Out_] NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES *Capabilities,
  [_In_]  NET_ADAPTER_OFFLOAD_LAYER3_FLAGS             Layer3Flags,
  [_In_]  PFN_NET_ADAPTER_OFFLOAD_SET_TX_CHECKSUM      EvtAdapterOffloadSetTxChecksum
);

Parámetros

[_Out_] Capabilities

Puntero a una estructura de NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES asignada por el controlador.

[_In_] Layer3Flags

Marcas que especifican las variaciones del protocolo de capa 3 en las que la NIC puede realizar correctamente la suma de comprobación tx.

[_In_] EvtAdapterOffloadSetTxChecksum

Puntero a la implementación del controlador de cliente de la EVT_NET_ADAPTER_OFFLOAD_SET_TX_CHECKSUM función de devolución de llamada.

Valor devuelto

None

Observaciones

El controlador cliente llama a NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES_INIT para inicializar una estructura de NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES . El controlador pasa la estructura NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES inicializada como parámetro a la función NetAdapterOffloadSetTxChecksumCapabilities para registrarla.

Requisitos

Requisito Value
Cliente mínimo compatible Windows 11
Servidor mínimo compatible Windows Server 2022
Plataforma de destino Universal
Versión mínima de KMDF 1.29
Encabezado netadapter.h (include netadaptercx.h)
Library netadaptercxstub.lib

Consulte también

Descarga de suma de comprobación

NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES

NetAdapterOffloadSetTxChecksumCapabilities

EVT_NET_ADAPTER_OFFLOAD_SET_TX_CHECKSUM