NET_EXTENSION structure

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

The NET_EXTENSION structure represents a packet extension for all packets in a packet queue.

Syntax

typedef struct _NET_EXTENSION {
  void  *Reserved[4];
  union {
    BOOLEAN Enabled;
    void    *Reserved1;
  } DUMMYUNIONNAME;
} NET_EXTENSION;

Members

Reserved

Reserved. Client drivers must not read or write to this value.

DUMMYUNIONNAME

A union that contains the Enabled and Reserved1 members.

DUMMYUNIONNAME.Enabled

A boolean value that indicates if this extension is currently enabled for the packets in this queue.

field DUMMYUNIONNAME.Reserved1

Reserved. Client drivers must not read or write to this value.

DUMMYUNIONNAME.Reserved1

Remarks

Client drivers typically store packet extensions in the context space for each queue during queue creation, reducing calls out of the driver. Later, to retrieve packet extension information for a particular packet, the driver calls one of the wrapper methods around NetExtensionGetData.

For examples of creating packet queues, see Transmit and receive queues.

Requirements

   
Minimum KMDF version 1.29
Header extension.h

See Also

Transmit and receive queues

NetExtensionGetPacketChecksum

NetExtensionGetPacketLargeSendSegmentation

NetExtensionGetPacketReceiveSegmentCoalescence