SCOPE_LEVEL

SCOPE_LEVEL enumeration

The SCOPE_LEVEL enumeration is used with the IP_ADAPTER_ADDRESSES structure to identify scope levels for IPv6 addresses.

Syntax


typedef enum  { 
  ScopeLevelInterface     = 1,
  ScopeLevelLink          = 2,
  ScopeLevelSubnet        = 3,
  ScopeLevelAdmin         = 4,
  ScopeLevelSite          = 5,
  ScopeLevelOrganization  = 8,
  ScopeLevelGlobal        = 14
} SCOPE_LEVEL;

Constants

ScopeLevelInterface

The scope is interface-level.

ScopeLevelLink

The scope is link-level.

ScopeLevelSubnet

The scope is subnet-level.

ScopeLevelAdmin

The scope is admin-level.

ScopeLevelSite

The scope is site-level.

ScopeLevelOrganization

The scope is organization-level.

ScopeLevelGlobal

The scope is global.

Remarks

The SCOPE_LEVEL enumeration is used in the ZoneIndices member of the IP_ADAPTER_ADDRESSES structure.

On Windows Vista and later as well as on the Microsoft Windows Software Development Kit (SDK), the organization of header files has changed and the SCOPE_LEVEL enumeration type is defined in the Ws2def.h header file. Note that the Ws2def.h header file is automatically included in Winsock2.h, and should never be used directly.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ws2def.h on Windows Server 2008 and Windows Vista (include Winsock2.h);
Iptypes.h on Windows Server 2003 and Windows XP

See also

IP_ADAPTER_ADDRESSES

 

 

Show:
© 2016 Microsoft