NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES_INIT, fonction (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 de NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES allouée par le pilote.

[_In_] Layer3Flags

Indicateurs spécifiant les variantes de protocole de couche 3 que la carte réseau peut effectuer avec succès la somme de contrôle Tx.

[_In_] EvtAdapterOffloadSetTxChecksum

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

Valeur de retour

None

Remarques

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

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 11
Serveur minimal pris en charge Windows Server 2022
Plateforme cible Universal
Version KMDF minimale 1.29
En-tête netadapter.h (inclure netadaptercx.h)
Bibliothèque netadaptercxstub.lib

Voir aussi

Déchargement de la somme de contrôle

NET_ADAPTER_OFFLOAD_TX_CHECKSUM_CAPABILITIES

NetAdapterOffloadSetTxChecksumCapabilities

EVT_NET_ADAPTER_OFFLOAD_SET_TX_CHECKSUM