NetPacketIteratorGetIndex 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 NetPacketIteratorGetIndex method gets the current Index of a packet iterator in the packet ring.

Syntax

UINT32 NetPacketIteratorGetIndex(
  NET_RING_PACKET_ITERATOR const *Iterator
);

Parameters

Iterator

A pointer to a NET_RING_PACKET_ITERATOR structure.

Return Value

Returns the packet iterator's current 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