Partager via


SCOPE_LEVEL (Compact 2013)

3/26/2014

This 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,
  ScopeLevelCount         = 16
} SCOPE_LEVEL;

Elements

  • 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.
  • ScopeLevelCount
    Indicates the number of scope levels available.

Remarks

This enumeration is used in the ZoneIndices member of the IP_ADAPTER_ADDRESSES structure.

Requirements

Header

iptypes.h

See Also

Reference

IP Helper Enumerations
IP_ADAPTER_ADDRESSES