Partager via


MIB_IPFORWARD_TABLE2 (Compact 7)

3/12/2014

This 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

Remarks

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 can contain padding for alignment between the NumEntries member and the first MIB_IPFORWARD_ROW2 array entry in the Table member. Padding for alignment can 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 can exist.

Requirements

Header

ws2def.h,
ws2ipdef.h

See Also

Reference

MIB Structures
GetIpForwardEntry2
GetIpForwardTable2
MIB_IPFORWARD_ROW2