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 NetPacketIteratorSet method completes a client driver's post or drain operation on the packet ring.
void NetPacketIteratorSet( NET_RING_PACKET_ITERATOR const *Iterator );
A pointer to a NET_RING_PACKET_ITERATOR structure.
NetPacketIteratorSet sets the packet iterator's IndexToSet to its Index, which indicates to the OS that the client driver has finished processing the packets from IndexToSet to Index - 1 inclusive. Client drivers call this method to finish posting packets to hardware, or to finish draining packets to the OS.
For an animation and code example of draining packets back to the OS, see Net rings and net ring iterators.
|Minimum KMDF version||1.29|
|IRQL||Any level as long as target memory is resident|