// ring.h
UINT32 NetRingAdvanceIndex(
[_In_] NET_RING const *Ring,
[_In_] UINT32 Index,
[_In_] INT32 Distance
);
View the official Windows Driver Kit DDI referenceNo description available.
The NetRingAdvanceIndex function advances the index in a net ring forward, wrapping around if necessary.
Ring [_In_]A pointer to a NET_RING to access.
Index [_In_]The index value to advance.
Distance [_In_]The distance to advance the index.
Returns the new index after advancing Distance forward in the net ring.
NetRingAdvanceIndex enables client drivers to move forward multiple indices in the net ring. Client drivers can also call the wrapper function NetRingIncrementIndex to increment the index by 1.