Export (0) Print
Expand All
Expand Minimize

MIB_IPNETROW structure

The MIB_IPNETROW structure contains information for an Address Resolution Protocol (ARP) table entry for an IPv4 address.

Syntax


typedef struct _MIB_IPNETROW {
  DWORD dwIndex;
  DWORD dwPhysAddrLen;
  BYTE  bPhysAddr[MAXLEN_PHYSADDR];
  DWORD dwAddr;
  DWORD dwType;
} MIB_IPNETROW, *PMIB_IPNETROW;

Members

dwIndex

Type: DWORD

The index of the adapter.

dwPhysAddrLen

Type: DWORD

The length, in bytes, of the physical address.

bPhysAddr

Type: BYTE[MAXLEN_PHYSADDR]

The physical address.

dwAddr

Type: DWORD

The IPv4 address.

dwType

Type: DWORD

The type of ARP entry.

This member can be one of the values from the MIB_IPNET_TYPE enumeration type defined in the Ipmib.h header file included in the Windows SDK released for Windows Vista and later. For use with versions of the earlier Platform SDK, this enumeration is not defined and the constants must be used.

ValueMeaning
MIB_IPNET_TYPE_OTHER
1

Other

MIB_IPNET_TYPE_INVALID
2

An invalid ARP type. This can indicate an unreachable or incomplete ARP entry.

MIB_IPNET_TYPE_DYNAMIC
3

A dynamic ARP type.

MIB_IPNET_TYPE_STATIC
4

A static ARP type.

 

Remarks

On the Windows SDK released for Windows Vista and later, the organization of header files has changed and the MIB_IPNETROW structure is defined in the Ipmib.h header file not in the Iprtrmib.h header file. Note 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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ipmib.h on Windows Server 2008 and Windows Vista (include Iphlpapi.h);
Iprtrmib.h on Windows Server 2003, Windows XP, and Windows 2000 (include Iphlpapi.h)

See also

CreateIpNetEntry
DeleteIpNetEntry
MIB_IPNETTABLE
SetIpNetEntry

 

 

Community Additions

ADD
Show:
© 2014 Microsoft