Partager via


IP_SUFFIX_ORIGIN (Compact 2013)

3/26/2014

This enumeration specifies the origin of an IP address suffix, and is used with the IP_ADAPTER_UNICAST_ADDRESS structure.

Syntax

typedef enum {
  IpSuffixOriginOther = 0, 
  IpSuffixOriginManual, 
  IpSuffixOriginWellKnown, 
  IpSuffixOriginDhcp, 
  IpSuffixOriginLinkLayerAddress, 
  IpSuffixOriginRandom,
  IpSuffixOriginUnchanged = 1 << 4
} IP_SUFFIX_ORIGIN;

Elements

  • IpSuffixOriginOther
    The IPv6 suffix was provided by a source other than those that are defined in this enumeration.
  • IpSuffixOriginManual
    The IPv6 suffix was manually specified.
  • IpSuffixOriginWellKnown
    The IPv6 suffix is from a well-known source.
  • IpSuffixOriginDhcp
    The IPv6 suffix was provided by DHCP settings.
  • IpSuffixOriginLinkLayerAddress
    The IPv6 suffix was obtained from the link-layer address.
  • IpSuffixOriginRandom
    The IPv6 suffix was obtained from a random source.
  • IpSuffixOriginUnchanged
    The IP address suffix should be unchanged. This value is used when setting the properties for a unicast IP interface when the value for the IP suffix origin should be unchanged.

Remarks

This enumeration is used in the SuffixOrigin member of the IP_ADAPTER_UNICAST_ADDRESS structure.

Requirements

Header

iptypes.h

See Also

Reference

IP Helper Enumerations
IP_ADAPTER_UNICAST_ADDRESS