NetRingAdvanceIndex function (ring.h)
The NetRingAdvanceIndex function advances the index in a net ring forward, wrapping around if necessary.
Syntax
UINT32 NetRingAdvanceIndex(
[_In_] NET_RING const *Ring,
[_In_] UINT32 Index,
[_In_] INT32 Distance
);
Parameters
[_In_] Ring
A pointer to a NET_RING to access.
[_In_] Index
The index value to advance.
[_In_] Distance
The distance to advance the index.
Return value
Returns the new index after advancing Distance forward in the net ring.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Header | ring.h |
IRQL | Any level as long as target memory is resident |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for