Export (0) Print
Expand All
Expand Minimize

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 containing IP route entries.

Remarks

The MIB_IPFORWARD_TABLE2 structure is defined on Windows Vista and later.

The GetIpForwardTable2 function enumerates the IP route entries on a local system 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 may contain padding for alignment between the NumEntries member and the first MIB_IPFORWARD_ROW2 array entry in the Table member. Padding for alignment may 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 may exist.

Note that the Netioapi.h header file is automatically included in the Iphlpapi.h header file. The Netioapi.h header file should never be used directly.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Netioapi.h (include Iphlpapi.h)

See also

GetIpForwardEntry2
GetIpForwardTable2
MIB_IPFORWARD_ROW2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft