次の方法で共有


MIB_IPNETTABLE (Compact 2013)

3/26/2014

This structure contains a table of Address Resolution Protocol (ARP) entries.

Syntax

typedef struct _MIB_IPNETTABLE {
  DWORD dwNumEntries; 
  MIB_IPNETROW table[ANY_SIZE]; 
} MIB_IPNETTABLE, *PMIB_IPNETTABLE;

Members

  • dwNumEntries
    The number of ARP entries in the table
  • table
    Pointer to a table of ARP entries implemented as an array of MIB_IPNETROW structures.

Remarks

The GetIpNetTable function retrieves the IPv4-to-physical address mapping table on a local system and returns this information in a MIB_IPNETTABLE structure.

The MIB_IPNETTABLE structure can contain padding for alignment between the dwNumEntries member and the first MIB_IPNETROW array entry in the table member. Padding for alignment can also be present between the MIB_IPNETROW array entries in the table member. Any access to a MIB_IPNETROW array entry should assume padding may exist.

The header file organization has changed and the MIB_IPNETTABLE structure 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,
ws2def.h,
ws2ipdef.h

See Also

Reference

MIB Structures
IP Helper Structures
GetIpNetTable
MIB_IPNETROW