// ringcollection.h
NET_RING * NetRingCollectionGetFragmentRing(
NET_RING_COLLECTION const *Rings
);
View the official Windows Driver Kit DDI referenceNo description available.
The NetRingCollectionGetFragmentRing gets the fragment 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 fragment NET_RING for the packet queue.
Client drivers typically call this function when they need to work with a fragment ring directly, such as when the driver is posting information to hardware. For example, during transmit a driver might use the fragment ring's ElementIndexMask to retrieve the correct fragment that is being posted to hardware in order to populate the hardware descriptor.
For examples of using this function, see the Realtek sample driver.