// 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 referenceNo description available.
The NET_PACKET_GSO structure contains Generic Segmentation Offload (GSO) information for a packet.
DUMMYUNIONNAMEA union that contains the TCP and UDP member.
DUMMYUNIONNAME.TCPA structure that holds the TCP GSO information.
DUMMYUNIONNAME.TCP.MssThe maximum segment size (MSS) for TCP segments.
DUMMYUNIONNAME.TCP.Reserved0Reserved for system use. Clients must not read or write this member.
DUMMYUNIONNAME.UDPA structure that holds the UDP GSO information.
DUMMYUNIONNAME.UDP.MssThe MSS for UDP segments.
DUMMYUNIONNAME.UDP.Reserved0Reserved for system use. Clients must not read or write this member.
Client drivers can obtain this structure for a packet by calling NetExtensionGetPacketGso.
Generic Segmentation Offload (GSO)
Packet descriptors and extensions