NET_LUID Value

A NET_LUID value is a 64-bit value that identifies an NDIS network interface. The NET_LUID data type is a union that can provide access to the NET_LUID value as a single 64-bit value or as a structure that contains a NET_LUID index and an interface type.

The NetLuidIndex member of the NET_LUID union is a 24-bit NET_LUID index that NDIS allocates when an interface provider calls the NdisIfAllocateNetLuidIndex function. NDIS and interface providers use this index to distinguish between multiple interfaces that have the same interface type. Therefore, this index is unique within a local computer.

The IfType member of the NET_LUID union is a 16-bit value that contains an Internet Assigned Numbers Authority (IANA)-defined interface type. For a list of valid interface types, see NDIS Interface Types.

The NET_LUID data type is equivalent to the ifName object in RFC 2863, because NDIS derives the ifName string from a NET_LUID value.

To create a NET_LUID value, an interface provider calls the NdisIfAllocateNetLuidIndex function to allocate a NET_LUID index and then calls the NDIS_MAKE_NET_LUID macro to build the NET_LUID value. For more information about creating NET_LUID values, see Using NET_LUID Indexes.