NetRingCollectionGetPacketRing - NtDoc

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

NET_RING * NetRingCollectionGetPacketRing(
  NET_RING_COLLECTION const *Rings
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ringcollection-netringcollectiongetpacketring)

NetRingCollectionGetPacketRing function

Description

The NetRingCollectionGetPacketRing gets the packet ring for a packet queue.

Parameters

Rings

A pointer to a NET_RING_COLLECTION structure that describes this packet queue's net rings.

Return value

Returns a pointer to the packet NET_RING for the packet queue.

Remarks

Client drivers typically call this function when they need information about a packet ring, such as the number of elements in the ring. For example, during its queue initialization routines a client driver might need to allocate memory for hardware descriptors in a one-to-one ratio to the number of packets in the packet ring.

See also

Introduction to net rings