Share via


IP_ADAPTER_PREFIX (Compact 2013)

3/26/2014

This structure stores an IP prefix.

Syntax

typedef struct _IP_ADAPTER_PREFIX {
  union {
    ULONGLONG Alignment;
    struct {
      ULONG Length;
      DWORD Flags;
    };
  };
  struct _IP_ADAPTER_PREFIX* Next;
  SOCKET_ADDRESS Address;
  ULONG PrefixLength;
} IP_ADAPTER_PREFIX, *PIP_ADAPTER_PREFIX;

Members

  • Alignment
    Reserved. Used by the compiler to align the structure.
  • Length
    Length of this structure.
  • Flags
    Index of the IPv4 interface with which these addresses are associated. Contains zero if IPv4 is not available on the interface.
  • Next
    Pointer to the next adapter prefix structure in the list.
  • PrefixLength
    Length of the prefix, in bytes

Remarks

The IP_ADAPTER_ADDRESSES structure is retrieved by the GetAdaptersAddresses function.

Requirements

Header

iptypes.h

See Also

Reference

IP Helper Structures
GetAdaptersAddresses
IP_ADAPTER_ADDRESSES
SOCKET_ADDRESS