// ntddndis.h
typedef struct _NDIS_NDK_LOCAL_ENDPOINTS {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
ULONG Count;
BOOLEAN NDLocalEndpointsMappedtoTCPLocalEndpoints;
NDIS_NDK_LOCAL_ENDPOINT_ENTRY LocalEndpoints[1];
} NDIS_NDK_LOCAL_ENDPOINTS;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_NDK_LOCAL_ENDPOINTS structure describes the NDK local endpoints that are on a miniport adapter.
HeaderAn NDIS_OBJECT_HEADER structure that describes this NDIS_NDK_LOCAL_ENDPOINTS structure. Set the members of the NDIS_OBJECT_HEADER structure as follows:
FlagsCountThe number of elements in the endpoints array that is passed in the LocalEndpoints member. Each element in the array is an NDIS_NDK_LOCAL_ENDPOINT_ENTRY structure.
NDLocalEndpointsMappedtoTCPLocalEndpointsA BOOLEAN value that specifies how the endpoints are mapped. If the RDMA technology for the NDK provider requires the provider to map ND local endpoints to TCP local endpoints, the NDK provider must set the NDLocalEndpointsMappedtoTCPLocalEndpoints member to TRUE. Otherwise, NDLocalEndpointsMappedtoTCPLocalEndpoints is FALSE.
LocalEndpointsA variable-sized array of NDIS_NDK_LOCAL_ENDPOINT_ENTRY structures where the size of the array is determined by the number of local endpoints being returned. The Count member specifies the number of elements in the local endpoint array.
The NDIS_NDK_LOCAL_ENDPOINTS structure is returned with the OID_NDK_LOCAL_ENDPOINTS OID. The InformationBuffer member of the NDIS_OID_REQUEST structure contains a pointer to this structure.
This structure is variable-sized and contains elements equal in number to the number of local endpoints that are returned. The actual size of the local endpoint array as an element count is indicated by the Count member.
If the RDMA technology for the NDK provider requires the provider to map ND local endpoints to TCP local endpoints, the NDK provider must also report the underlying TCP local endpoint for each ND local endpoint as follows: