Condividi tramite


struttura NET_PACKET_GSO (gsotypes.h)

La struttura NET_PACKET_GSO contiene informazioni di offload segmentazione generica (GSO) per un pacchetto.

Sintassi

typedef struct _NET_PACKET_GSO {
  union {
    struct {
      UINT32 Mss : 20;
      UINT32 Reserved0 : 12;
    } TCP;
    struct {
      UINT32 Mss : 20;
      UINT32 Reserved0 : 12;
    } UDP;
  } DUMMYUNIONNAME;
} NET_PACKET_GSO;

Membri

DUMMYUNIONNAME

Unione che contiene il membro TCP e UDP.

DUMMYUNIONNAME.TCP

Struttura che contiene le informazioni GSO TCP.

DUMMYUNIONNAME.TCP.Mss

Dimensione massima del segmento (MSS) per i segmenti TCP.

DUMMYUNIONNAME.TCP.Reserved0

Riservato per l'uso del sistema. I client non devono leggere o scrivere questo membro.

DUMMYUNIONNAME.UDP

Struttura che contiene le informazioni GSO UDP.

DUMMYUNIONNAME.UDP.Mss

MSS per i segmenti UDP.

DUMMYUNIONNAME.UDP.Reserved0

Riservato per l'uso del sistema. I client non devono leggere o scrivere questo membro.

Osservazioni

I driver client possono ottenere questa struttura per un pacchetto chiamando NetExtensionGetPacketGso.

Fabbisogno

Requisito Valore
client minimo supportato Windows 11
server minimo supportato Windows Server 2022
versione minima di UMDF 2.33
intestazione gsotypes.h (include netadaptercx.h)

Vedere anche

segmentazione generica

descrittori di pacchetti ed estensioni

NetExtensionGetPacketGso