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