Bewerken

Delen via


ring.h header

This header is used by network. For more information, see:

ring.h contains the following programming interfaces:

Functions

 
NetRingAdvanceIndex

The NetRingAdvanceIndex function advances the index in a net ring forward, wrapping around if necessary.
NetRingGetElementAtIndex

The NetRingGetElementAtIndex function retrieves an element from a net ring.
NetRingGetFragmentAtIndex

The NetRingGetFragmentAtIndex function retrieves a fragment from a net ring.
NetRingGetPacketAtIndex

The NetRingGetPacketAtIndex function retrieves a packet from a net ring.
NetRingGetRangeCount

Calculates the number of elements contained in a range of the specified net ring buffer.
NetRingIncrementIndex

Returns the next index value after the specified index value, wrapping around to the beginning of the ring buffer if necessary.

Structures

 
NET_RING

The _NET_RING structure specifies a buffer comprised of one or more NET_PACKET or NET_FRAGMENT structures.