NetRingGetFragmentAtIndex function (ring.h)
The NetRingGetFragmentAtIndex function retrieves a fragment from a net ring.
Syntax
NET_FRAGMENT * NetRingGetFragmentAtIndex(
NET_RING const *Ring,
UINT32 Index
);
Parameters
Ring
A pointer to a NET_RING.
Index
The fragment index, within the range [0, Ring->NumberOfElements).
Return value
Returns a pointer to the NET_FRAGMENT at the specified index in the fragment ring.
Remarks
This function is a convenient wrapper around NetRingGetElementAtIndex. Client drivers should call this function when working with a fragment ring instead of calling NetRingGetElementAtIndex directly.
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