MIB_IPFORWARD_TABLE2 structure

The MIB_IPFORWARD_TABLE2 structure contains a table of IP route entries.

Syntax

typedef struct _MIB_IPFORWARD_TABLE2 {
  ULONG              NumEntries;
  MIB_IPFORWARD_ROW2 Table[ANY_SIZE];
} MIB_IPFORWARD_TABLE2, *PMIB_IPFORWARD_TABLE2;

Members

  • NumEntries
    A value that specifies the number of IP route entries in the array.

  • Table
    An array of MIB_IPFORWARD_ROW2 structures that contain IP route entries.

Remarks

The GetIpForwardEntry2 function enumerates the IP route entries on a local computer and returns this information in a MIB_IPFORWARD_TABLE2 structure.

The GetIpForwardEntry2 function retrieves a single IP route entry and returns this information in a MIB_IPFORWARD_ROW2 structure.

The MIB_IPFORWARD_TABLE2 structure might contain padding for alignment between the NumEntries member and the first MIB_IPFORWARD_ROW2 array entry in the Table member. Padding for alignment might also be present between the MIB_IPFORWARD_ROW2 array entries in the Table member. Any access to a MIB_IPFORWARD_ROW2 array entry should assume padding might exist.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Netioapi.h (include Netioapi.h)

See also

GetIpForwardEntry2

GetIpForwardTable2

MIB_IPFORWARD_ROW2