NetRingGetFragmentAtIndex - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ring.h

NET_FRAGMENT * NetRingGetFragmentAtIndex(
  NET_RING const *Ring,
  UINT32         Index
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ring-netringgetfragmentatindex)

NetRingGetFragmentAtIndex function

Description

The NetRingGetFragmentAtIndex function retrieves a fragment from a net ring.

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.

See also

NET_FRAGMENT

NetRingGetElementAtIndex