class XrlRibClientV0p1Client
|
|
|
|
Public Types
Public Methods
- XrlRibClientV0p1Client (XrlSender* s)
- virtual ~XrlRibClientV0p1Client ()
- bool send_route_info_changed4 (
const char* target_name,
const IPv4& addr,
const uint32_t& prefix_len,
const IPv4& nexthop,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin,
const RouteInfoChanged4CB& cb
)
- bool send_route_info_changed6 (
const char* target_name,
const IPv6& addr,
const uint32_t& prefix_len,
const IPv6& nexthop,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin,
const RouteInfoChanged6CB& cb
)
- bool send_route_info_invalid4 (
const char* target_name,
const IPv4& addr,
const uint32_t& prefix_len,
const RouteInfoInvalid4CB& cb
)
- bool send_route_info_invalid6 (
const char* target_name,
const IPv6& addr,
const uint32_t& prefix_len,
const RouteInfoInvalid6CB& cb
)
Protected Members
XrlRibClientV0p1Client (XrlSender* s)
| XrlRibClientV0p1Client |
~XrlRibClientV0p1Client ()
| ~XrlRibClientV0p1Client |
[virtual]
typedef XorpCallback1<void, const XrlError&>::RefPtr RouteInfoChanged4CB | RouteInfoChanged4CB |
bool send_route_info_changed4 (
const char* target_name,
const IPv4& addr,
const uint32_t& prefix_len,
const IPv4& nexthop,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin,
const RouteInfoChanged4CB& cb
)
| send_route_info_changed4 |
Send Xrl intended 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:
tgt_name | Xrl Target name
|
addr | base address of the subnet that was registered
|
prefix_len | prefix length of the subnet that was registered
|
metric | the routing metric toward the address.
|
admin_distance | the administratively defined distance toward the
address.
|
protocol_origin | the name of the protocol that originated this
routing entry.
|
typedef XorpCallback1<void, const XrlError&>::RefPtr RouteInfoChanged6CB | RouteInfoChanged6CB |
bool send_route_info_changed6 (
const char* target_name,
const IPv6& addr,
const uint32_t& prefix_len,
const IPv6& nexthop,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& protocol_origin,
const RouteInfoChanged6CB& cb
)
| send_route_info_changed6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr RouteInfoInvalid4CB | RouteInfoInvalid4CB |
bool send_route_info_invalid4 (
const char* target_name,
const IPv4& addr,
const uint32_t& prefix_len,
const RouteInfoInvalid4CB& cb
)
| send_route_info_invalid4 |
Send Xrl intended 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.
Parameters:
typedef XorpCallback1<void, const XrlError&>::RefPtr RouteInfoInvalid6CB | RouteInfoInvalid6CB |
bool send_route_info_invalid6 (
const char* target_name,
const IPv6& addr,
const uint32_t& prefix_len,
const RouteInfoInvalid6CB& cb
)
| send_route_info_invalid6 |
[protected]
Generated by: pavlin on possum.icir.org on Wed Apr 13 21:52:55 2005, using kdoc $.