IP_PREFIX_ORIGIN

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

typedef enum {
  IpPrefixOriginOther = 0, 
  IpPrefixOriginManual, 
  IpPrefixOriginWellKnown, 
  IpPrefixOriginDhcp, 
  IpPrefixOriginRouterAdvertisement
} IP_PREFIX_ORIGIN;

Elements

  • IpPrefixOriginOther
    The IPv6 prefix was provided by a source other than those defined in this enumeration.
  • IpPrefixOriginManual
    The IPv6 prefix was manually specified.
  • IpPrefixOriginWellKnown
    The IPv6 prefix is from a well-known source.
  • IpPrefixOriginDhcp
    The IPv6 prefix was provided by DHCP settings.
  • IpPrefixOriginRouterAdvertisement
    The IPv6 prefix was obtained through a router advertisement (RA).

Remarks

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

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Iptypes.h.

See Also

IPHelper Enumerations | IP_ADAPTER_UNICAST_ADDRESS

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.