MIB_IPADDRTABLE (Compact 2013)
3/26/2014
This structure contains a table of IP address entries.
Syntax
typedef struct _MIB_IPADDRTABLE {
DWORD dwNumEntries;
MIB_IPADDRROW table[ANY_SIZE];
} MIB_IPADDRTABLE, *PMIB_IPADDRTABLE;
Members
- dwNumEntries
The number of IP address entries in the table.
- table
Pointer to a table of IP address entries implemented as an array of MIB_IPADDRROW structures.
Remarks
The GetIpAddrTable function retrieves the interface-to-IPv4 address mapping table on a local device and returns this information in an MIB_IPADDRTABLE structure.
The MIB_IPADDRTABLE structure can contain padding for alignment between the dwNumEntries member and the first MIB_IPADDRROW array entry in the table member. Padding for alignment can also be present between the MIB_IPADDRROW array entries in the table member. Any access to a MIB_IPADDRROW array entry should assume padding may exist.
The header files organization has changed and the MIB_IPADDRROW is defined in the Ipmib.h header file instead of in the Iprtrmib.h header file. Be aware that the Ipmib.h header file is automatically included in Iprtrmib.h, which is automatically included in the Iphlpapi.h header file. The Ipmib.h and Iprtrmib.h header files should never be used directly.
Requirements
Header |
iprtrmib.h, |
See Also
Reference
MIB Structures
IP Helper Structures
GetIpAddrTable
MIB_IPADDRROW