2.2.1.2.32 MIB_IPADDRROW

The MIB_IPADDRROW structure specifies information for a specific IPv4 address. This structure is used in the following methods:

  • MIB_OPAQUE_INFO (section 2.2.1.2.52)

  • MIB_IPADDRTABLE (section 2.2.1.2.33)

     typedef struct _MIB_IPADDRROW {
       DWORD dwAddr;
       DWORD dwIndex;
       DWORD dwMask;
       DWORD dwBCastAddr;
       DWORD dwReasmSize;
       unsigned short unused1;
       unsigned short wType;
     } MIB_IPADDRROW,
      *PMIB_IPADDRROW;
    

dwAddr: The IPv4 address.

dwIndex: The index of the interface associated with this IPv4 address.

dwMask: The subnet mask for the IPv4 address. See [RFC950].

dwBCastAddr: The broadcast address. A broadcast address is typically the IPv4 address with the host portion set to either all zeros or all ones.

dwReasmSize: The maximum reassembly size for received datagrams.

unused1: This member is reserved and SHOULD be set to 0.

wType: The address type or state.<33>

Value

Meaning

MIB_IPADDR_PRIMARY

0x0001

Primary IP address.

MIB_IPADDR_DYNAMIC

0x0004

Dynamic IP address.

MIB_IPADDR_DISCONNECTED

0x0008

Address is on a disconnected interface.

MIB_IPADDR_DELETED

0x0040

Address is being deleted.

MIB_IPADDR_TRANSIENT

0x0080

Transient address.