Partager via


fonction NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES_INIT (netadapter.h)

La fonction NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES_INIT initialise une structure NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES.

Syntaxe

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
);

Paramètres

[_Out_] Capabilities

Pointeur vers une structure NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES allouée par le pilote.

[_In_] Layer3Flags

Indicateurs spécifiant les variantes de protocole de couche 3 sur laquelle la carte réseau peut effectuer correctement la somme de contrôle Tx.

[_In_] EvtAdapterOffloadSetTxChecksum

Pointeur vers l’implémentation du pilote client de la fonction de rappel EVT_NET_ADAPTER_OFFLOAD_SET_TX_CHECKSUM.

Valeur de retour

Aucun

Remarques

Le pilote client appelle NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES_INIT pour initialiser une structure de NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES. Le pilote transmet la structure de NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES initialisée en tant que paramètre à la fonction NetAdapterOffloadSetTxChecksumCapabilities pour l’inscrire.

Exigences

Exigence Valeur
client minimum pris en charge Windows 11
serveur minimum pris en charge Windows Server 2022
plateforme cible Universel
version minimale de KMDF 1.29
version minimale de UMDF 2.33
d’en-tête netadapter.h (include netadaptercx.h)
bibliothèque netadaptercxstub.lib

Voir aussi

déchargement de somme de contrôle

NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES

NetAdapterOffloadSetTxChecksumCapabilities

EVT_NET_ADAPTER_OFFLOAD_SET_TX_CHECKSUM