// ringcollection.h
NET_RING * NetRingCollectionGetPacketRing(
NET_RING_COLLECTION const *Rings
);
View the official Windows Driver Kit DDI referenceNo description available.
The NetRingCollectionGetPacketRing gets the packet ring for a packet queue.
RingsA pointer to a NET_RING_COLLECTION structure that describes this packet queue's net rings.
Returns a pointer to the packet NET_RING for the packet queue.
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.