RTM_IP_ROUTE

[This is preliminary documentation and subject to change.]

The RTM_IP_ROUTE structure contains information that describes a route for the IP protocol family.

typedef struct _RTM_IP_ROUTE {
    FILETIME                  RR_TimeStamp;
    DWORD                     RR_RoutingProtocol;
    DWORD                     RR_InterfaceID;
    PROTOCOL_SPECIFIC_DATA    RR_ProtocolSpecificData;
    IP_NETWORK                RR_Network;
    IP_NEXT_HOP_ADDRESS       RR_NextHopAddress;
    IP_SPECIFIC_DATA          RR_FamilySpecificData;
} RTM_IP_ROUTE, * PRTM_IP_ROUTE;
 

Members

RR_TimeStamp
Contains the time that the route entry was created or last updated. This member is set by the Routing Table Manager (RTM). The time is expressed as an NT file time.
RR_RoutingProtocol
Identifies the routing protocol that added the route.
RR_InterfaceID
Identifies the interface through which the route was obtained.
RR_ProtocolSpecificData
A PROTOCOL_SPECIFIC_DATA structure containing memory reserved for routing protocol specific data.
RR_Network
An IP_NETWORK structure containing an IP network address.
RR_NextHopAddress
An IP_NEXT_HOP_ADDRESS structure containing the address of the next hop router.
RR_FamilySpecificData
An IP_SPECIFIC_DATA structure containing IP protocol-family-specific data.

Remarks

The members of the RTM_IP_ROUTE structure are all DWORD aligned.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in rtm.h.

See Also

IP_NETWORK, IP_NEXT_HOP_ADDRESS, IP_SPECIFIC_DATA