NET_BUFFER_SHARED_MEM_NEXT_SEGMENT macro

The NET_BUFFER_SHARED_MEM_NEXT_SEGMENT macro gets the next shared memory segment from a NET_BUFFER_SHARED_MEMORY structure.

Syntax

void NET_BUFFER_SHARED_MEM_NEXT_SEGMENT(
   _SHI
);

Parameters

_SHI

A pointer to a NET_BUFFER_SHARED_MEMORY structure.

Return Value

NET_BUFFER_SHARED_MEM_NEXT_SEGMENT returns a pointer to a NET_BUFFER_SHARED_MEMORY structure or returns NULL.

Remarks

An NDIS 6.20 or later driver can use the NET_BUFFER_SHARED_MEM_NEXT_SEGMENT macro to get the next shared memory segment in a linked list of NET_BUFFER_SHARED_MEMORY structures that are associated with a NET_BUFFER structure. NET_BUFFER_SHARED_MEM_NEXT_SEGMENT gets a pointer to the next NET_BUFFER_SHARED_MEMORY structure from the NextSharedMemorySegment member of the NET_BUFFER_SHARED_MEMORY structure. The SharedMemoryInfo member of the NET_BUFFER structure contains the first NET_BUFFER_SHARED_MEMORY structure in the linked list.

Requirements

   
Minimum supported client Supported in NDIS 6.20 and later.
Target Platform Universal
Header ndis.h

See Also

NET_BUFFER

NET_BUFFER_SHARED_MEMORY