Bewerken

Delen via


NET_PACKET_GSO structure (gsotypes.h)

The NET_PACKET_GSO structure contains Generic Segmentation Offload (GSO) information for a packet.

Syntax

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;

Members

DUMMYUNIONNAME

A union that contains the TCP and UDP member.

DUMMYUNIONNAME.TCP

A structure that holds the TCP GSO information.

DUMMYUNIONNAME.TCP.Mss

The maximum segment size (MSS) for TCP segments.

DUMMYUNIONNAME.TCP.Reserved0

Reserved for system use. Clients must not read or write this member.

DUMMYUNIONNAME.UDP

A structure that holds the UDP GSO information.

DUMMYUNIONNAME.UDP.Mss

The MSS for UDP segments.

DUMMYUNIONNAME.UDP.Reserved0

Reserved for system use. Clients must not read or write this member.

Remarks

Client drivers can obtain this structure for a packet by calling NetExtensionGetPacketGso.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Minimum UMDF version 2.33
Header gsotypes.h (include netadaptercx.h)

See also

Generic Segmentation Offload (GSO)

Packet descriptors and extensions

NetExtensionGetPacketGso