次の方法で共有


MIB_ANYCASTIPADDRESS_ROW (Compact 2013)

3/26/2014

This structure stores information about an anycast IP address.

Syntax

typedef struct _MIB_ANYCASTIPADDRESS_ROW {
  SOCKADDR_INET Address;
  NET_LUID InterfaceLuid;
  NET_IFINDEX InterfaceIndex;
  SCOPE_ID ScopeId;
} MIB_ANYCASTIPADDRESS_ROW,
  *PMIB_ANYCASTIPADDRESS_ROW;

Members

  • Address
    The anycast IP address. This member can be an IPv6 address or an IPv4 address.
  • InterfaceLuid
    The LUID for the network interface associated with this IP address.
  • InterfaceIndex
    The local index value for the network interface associated with this IP address. This index value may change when a network adapter is disabled and then enabled, or under other circumstances, and should not be considered persistent.
  • ScopeId
    The scope ID of the anycast IP address. This member is applicable only to an IPv6 address. This member cannot be set. It is automatically determined by the interface on which the address was added.

Remarks

The GetAnycastIpAddressTable function enumerates the anycast IP addresses on a local device and returns this information in a MIB_ANYCASTIPADDRESS_TABLE structure.

The MIB_ANYCASTIPADDRESS_TABLE structure might contain padding for alignment between the NumEntries member and the first MIB_ANYCASTIPADDRESS_ROW array entry in the Table member. Padding for alignment might also be present between the MIB_ANYCASTIPADDRESS_ROW array entries in the Table member. Any access to a MIB_ANYCASTIPADDRESS_ROW array entry should assume padding might exist.

Requirements

Header

ws2def.h,
ws2ipdef.h

See Also

Reference

MIB Structures
CreateAnycastIpAddressEntry
DeleteAnycastIpAddressEntry
GetAnycastIpAddressTable
GetAnycastIpAddressEntry
MIB_ANYCASTIPADDRESS_TABLE
SOCKADDR_INET