다음을 통해 공유


NET_LUID (Compact 2013)

3/26/2014

This structure is the locally unique identifier (LUID) for a network interface.

Syntax

typedef union _NET_LUID {
  ULONG64 Value;
  struct {
    ULONG64 Reserved  :24;
    ULONG64 NetLuidIndex  :24;
    ULONG64 IfType  :16;
  } Info;
} NET_LUID,
  *PNET_LUID;

Members

  • Value
    A 64-bit value that represents the LUID.
  • Info
    A named union that contains the component fields in the 64-bit LUID Value member.

    • Reserved
      This field is reserved.
    • NetLuidIndex
      The network interface LUID index.
    • IfType
      The interface type as defined by the Internet Assigned Names Authority (IANA). Possible values for the interface type are listed in the Ipifcons.h include file.

      The following table lists common values for the interface type although many other values are possible.

      Value

      Meaning

      IF_TYPE_OTHER

      1

      Some other type of network interface.

      IF_TYPE_ETHERNET_CSMACD

      6

      An Ethernet network interface.

      IF_TYPE_ISO88025_TOKENRING

      9

      A token ring network interface.

      IF_TYPE_PPP

      23

      A PPP network interface.

      IF_TYPE_SOFTWARE_LOOPBACK

      24

      A software loopback network interface.

      IF_TYPE_ATM

      37

      An ATM network interface.

      IF_TYPE_IEEE80211

      71

      An IEEE 802.11 wireless network interface.

      IF_TYPE_TUNNEL

      131

      A tunnel type encapsulation network interface.

      IF_TYPE_IEEE1394

      144

      An IEEE 1394 (Firewire) high performance serial bus network interface.

Remarks

The NET_LUID structure is protocol independent and works with network interfaces for both the IPv6 and IPv4 protocol.

The values for the IfType bitfield are defined in the Ipifcons.h include file. Only the possible values listed in the description of the IfType member are currently supported.

See Also

Reference

IP Helper Structures
ConvertInterfaceAliasToLuid
ConvertInterfaceGuidToLuid
ConvertInterfaceIndexToLuid
ConvertInterfaceLuidToGuid
ConvertInterfaceLuidToIndex
ConvertInterfaceLuidToNameA
ConvertInterfaceLuidToNameW
ConvertInterfaceNameToLuidA
ConvertInterfaceNameToLuidW
MIB_IF_ROW2
MIB_IPINTERFACE_ROW