XrlRedist4V0p1Client (XrlSender* s)
| XrlRedist4V0p1Client |
~XrlRedist4V0p1Client ()
| ~XrlRedist4V0p1Client |
[virtual]
typedef XorpCallback1<void, const XrlError&>::RefPtr AddRouteCB | AddRouteCB |
bool send_add_route (
const char* dst_xrl_target_name,
const IPv4Net& dst,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& cookie,
const string& protocol_origin,
const AddRouteCB& cb
)
| send_add_route |
Send Xrl intended to:
Add/delete a routing entry.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
dst | destination network. |
nexthop | nexthop router address. |
ifname | interface name associated with nexthop. |
vifname | virtual interface name with nexthop. |
metric | origin routing protocol metric for route. |
admin_distance | administrative distance of origin routing protocol. |
cookie | value set by the requestor to identify redistribution source. Typical value is the originating protocol name. |
protocol_origin | the name of the protocol that originated this routing entry. |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRouteCB | DeleteRouteCB |
bool send_delete_route (
const char* dst_xrl_target_name,
const IPv4Net& dst,
const IPv4& nexthop,
const string& ifname,
const string& vifname,
const uint32_t& metric,
const uint32_t& admin_distance,
const string& cookie,
const string& protocol_origin,
const DeleteRouteCB& cb
)
| send_delete_route |
typedef XorpCallback1<void, const XrlError&>::RefPtr StartingRouteDumpCB | StartingRouteDumpCB |
bool send_starting_route_dump (
const char* dst_xrl_target_name,
const string& cookie,
const StartingRouteDumpCB& cb
)
| send_starting_route_dump |
Send Xrl intended to:
When route redistribution begins, the receiver is sent the existing list of routes. This message marks the beginning of the routes being sent.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
cookie | value set by the requestor to identify redistribution source. Typical value is the originating protocol name. |
typedef XorpCallback1<void, const XrlError&>::RefPtr FinishingRouteDumpCB | FinishingRouteDumpCB |
bool send_finishing_route_dump (
const char* dst_xrl_target_name,
const string& cookie,
const FinishingRouteDumpCB& cb
)
| send_finishing_route_dump |
Send Xrl intended to:
When route redistribution begins, the receiver is sent the existing list of routes. This message marks the end of the existing routes being sent.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination. |
cookie | value set by the requestor to identify redistribution source. Typical value is the originating protocol name. |
XrlSender* _sender | _sender |
[protected]