MIB_IPNETROW_LH structure (ipmib.h)

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

Syntax

typedef struct _MIB_IPNETROW_LH {
  IF_INDEX dwIndex;
  DWORD    dwPhysAddrLen;
  UCHAR    bPhysAddr[MAXLEN_PHYSADDR];
  DWORD    dwAddr;
  union {
    DWORD          dwType;
    MIB_IPNET_TYPE Type;
  };
} MIB_IPNETROW_LH, *PMIB_IPNETROW_LH;

Members

dwIndex

Type: DWORD

The index of the adapter.

dwPhysAddrLen

Type: DWORD

The length, in bytes, of the physical address.

bPhysAddr[MAXLEN_PHYSADDR]

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.

Value Meaning
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.

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 (include Iphlpapi.h)

See also

CreateIpNetEntry

DeleteIpNetEntry

MIB_IPNETTABLE

SetIpNetEntry