NDIS_NBL_MEDIA_SPECIFIC_INFORMATION (Compact 2013)

3/26/2014

This structure specifies media-specific data that is associated with a NET_BUFFER_LIST structure.

Syntax

typedef struct _NDIS_NBL_MEDIA_MEDIA_SPECIFIC_INFORMATION NDIS_NBL_MEDIA_SPECIFIC_INFORMATION, *PNDIS_NBL_MEDIA_SPECIFIC_INFORMATION; 
struct _NDIS_NBL_MEDIA_MEDIA_SPECIFIC_INFORMATION {
  PNDIS_NBL_MEDIA_SPECIFIC_INFORMATION NextEntry;
  ULONG  Tag;
  DECLSPEC_ALIGN(MEMORY_ALLOCATION_ALIGNMENT) UCHAR  Data[1];
};

Members

  • NextEntry
    A pointer to the next media-specific information structure in a linked list.
  • Tag
    A unique pre-assigned value that identifies the type of the media-specific information. Reserved for system use.
  • Data
    A variable sized UCHAR array that contains the media-specific information.

Remarks

Any driver in an NDIS driver stack can allocate and manage media-specific information. The media-specific information is in a linked list of NDIS_NBL_MEDIA_SPECIFIC_INFORMATION structures that contain driver-allocated and driver-defined data. Structures in the list contain any media-specific out-of-band (OOB) data that accompanies the NET_BUFFER structures associated with a NET_BUFFER_LIST structure.

If a protocol driver allocated the OOB data, it configured the data for a send operation. If a miniport driver allocated the data, it configured the data for a receive indication.

To access NDIS_NBL_MEDIA_SPECIFIC_INFORMATION structures in a linked list, use the NDIS_NBL_ADD_MEDIA_SPECIFIC_INFO, NDIS_NBL_GET_MEDIA_SPECIFIC_INFO, and NDIS_NBL_REMOVE_MEDIA_SPECIFIC_INFO macros.

Requirements

Header

ndis.h

See Also

Reference

NDIS NET_BUFFER Structures
NDIS_NBL_ADD_MEDIA_SPECIFIC_INFO
NDIS_NBL_GET_MEDIA_SPECIFIC_INFO
NDIS_NBL_REMOVE_MEDIA_SPECIFIC_INFO
NET_BUFFER
NET_BUFFER_LIST