NET_PACKET_GSO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// gsotypes.h

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-gsotypes-net_packet_gso)

Description

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

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.

See also

Generic Segmentation Offload (GSO)

Packet descriptors and extensions

NetExtensionGetPacketGso