NetPacketIteratorGetPacket function

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 NetPacketIteratorGetPacket method gets the NET_PACKET structure at a packet iterator's current Index in the packet ring.

Syntax

NET_PACKET * NetPacketIteratorGetPacket(
  NET_RING_PACKET_ITERATOR const *Iterator
);

Parameters

Iterator

A pointer to a NET_RING_PACKET_ITERATOR structure.

Return Value

Returns a pointer to the NET_PACKET structure at the packet iterator's Index.

Requirements

   
Minimum KMDF version 1.29
Header netringiterator.h
IRQL Any level as long as target memory is resident

See Also

Net rings and net ring iterators

NET_RING_PACKET_ITERATOR

NET_PACKET