xorp

RibClientTarget Class Reference

Inheritance diagram for RibClientTarget:
XrlRibclientTargetBase

List of all members.

Public Member Functions

 RibClientTarget (XrlRouter *r)
XrlCmdError rib_client_0_1_route_info_changed4 (const IPv4 &addr, const uint32_t &prefix_len, const IPv4 &nexthop, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin)
 Pure-virtual function that needs to be implemented to:
XrlCmdError rib_client_0_1_route_info_changed6 (const IPv6 &, const uint32_t &, const IPv6 &, const uint32_t &, const uint32_t &, const string &)
XrlCmdError rib_client_0_1_route_info_invalid4 (const IPv4 &addr, const uint32_t &prefix_len)
 Pure-virtual function that needs to be implemented to:
XrlCmdError rib_client_0_1_route_info_invalid6 (const IPv6 &, const uint32_t &)
bool verify_invalidated (const string &invalid)
bool verify_changed (const string &changed)
bool verify_no_info ()

Private Attributes

set< string > _invalidated
set< string > _changed

Member Function Documentation

XrlCmdError RibClientTarget::rib_client_0_1_route_info_changed4 ( const IPv4 addr,
const uint32_t &  prefix_len,
const IPv4 nexthop,
const uint32_t &  metric,
const uint32_t &  admin_distance,
const string &  protocol_origin 
) [inline, virtual]

Pure-virtual function that needs to be implemented to:

Route Info Changed route_info_changed is called by the RIB on the RIB client (typically a routing protocol) that had registered an interest in the routing of an address. This can be because the metric and/or nexthop changed.

Parameters:
addrbase address of the subnet that was registered
prefix_lenprefix length of the subnet that was registered
metricthe routing metric toward the address.
admin_distancethe administratively defined distance toward the address.
protocol_originthe name of the protocol that originated this routing entry.

Implements XrlRibclientTargetBase.

XrlCmdError RibClientTarget::rib_client_0_1_route_info_invalid4 ( const IPv4 addr,
const uint32_t &  prefix_len 
) [inline, virtual]

Pure-virtual function that needs to be implemented to:

Route Info Invalid route_info_invalid is called by the RIB on the RIB client (typically a routing protocol) that had registere d an interest in the routing of an address. This can be because the information previously reported as applying no longer applies for any number of reasons. When the RIB sends this message, it has automatically de-registered interest in the route, and the client will normally need to send a register_interest request again.

Implements XrlRibclientTargetBase.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations