Partager via


IP_ADAPTER_UNICAST_ADDRESS (Windows Embedded CE 6.0)

1/6/2010

This structure stores a single unicast address in a linked list of addresses for a particular adapter.

Syntax

typedef struct _IP_ADAPTER_UNICAST_ADDRESS {
  union {
    ULONGLONG Alignment;
    struct {
      ULONG Length;
      DWORD Flags;
    }
  };
  struct _IP_ADAPTER_UNICAST_ADDRESS* Next;
  SOCKET_ADDRESS Address;
  IP_PREFIX_ORIGIN PrefixOrigin;
  IP_SUFFIX_ORIGIN SuffixOrigin;
  IP_DAD_STATE DadState;
  ULONG ValidLifetime;
  ULONG PreferredLifetime;
  ULONG LeaseLifetime;
} IP_ADAPTER_UNICAST_ADDRESS*, PIP_ADAPTER_UNICAST_ADDRESS;

Members

  • Alignment
    Reserved. Used by the compiler to align the structure.
  • Length
    The length of this structure.
  • Flags
    Flags for this address. The following table shows the possible values.

    Value Description

    IP_ADAPTER_ADDRESS_DNS_ELIGIBLE

    The address is eligible to appear in DNS.

    IP_ADAPTER_ADDRESS_TRANSIENT

    The address is a cluster address and should not be used by most applications.

  • Next
    Pointer to the next adapter address structure in the list.
  • Address
    The address.
  • PrefixOrigin
    The prefix origin.
  • SuffixOrigin
    The suffix origin.
  • DadState
    The Duplicate Address Detection (DAD) state. Duplicate Address Detection is not available with IPv4.
  • ValidLifetime
    The valid lifetime for the address, in seconds.
  • PreferredLifetime
    The preferred lifetime for the address, in seconds.
  • LeaseLifetime
    The lease lifetime for the address, in seconds.

Requirements

Header iptypes.h
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

IP Helper Structures