Share via


IP_PER_ADAPTER_INFO (Compact 2013)

3/26/2014

This structure contains information that is specific to a particular adapter.

Syntax

typedef struct _IP_PER_ADAPTER_INFO {
  UINT AutoconfigEnabled;
  UINT AutoconfigActive;
  PIP_ADDR_STRING CurrentDnsServer;
  IP_ADDR_STRING DnsServerList;
} IP_PER_ADAPTER_INFO, *PIP_PER_ADAPTER_INFO;

Members

  • AutoconfigEnabled
    Specifies whether IP address auto-configuration (APIPA) is enabled on this adapter. See Remarks.
  • AutoconfigActive
    Specifies whether this adapter's IP address is currently auto-configured by APIPA.
  • CurrentDnsServer
    Reserved. Use the DnsServerList member to obtain the DNS servers for the local device.
  • DnsServerList
    A linked list of IP_ADDR_STRING structures that specify the set of DNS servers that are used by the local device.

Remarks

APIPA enables automatic IP address configuration on networks without DHCP servers that uses the IANA-reserved Class B network 169.254.0.0, with a subnet mask of 255.255.0.0. Clients send ARP messages to make sure that the selected address is currently not in use. Clients auto-configured in this manner continue to poll for a valid DHCP server every five minutes, and if found, the DHCP server configuration overrides all auto-configuration settings.

Requirements

Header

iptypes.h

See Also

Reference

IP Helper Structures
GetPerAdapterInfo
IP_ADDR_STRING