xorp

XrlRedist4V0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AddRouteCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteRouteCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
StartingRouteDumpCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
FinishingRouteDumpCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AddRouteCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteRouteCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
StartingRouteDumpCB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
FinishingRouteDumpCB

Public Member Functions

 XrlRedist4V0p1Client (XrlSender *s)
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 Xrl intended to:
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)
bool send_starting_route_dump (const char *dst_xrl_target_name, const string &cookie, const StartingRouteDumpCB &cb)
 Send Xrl intended to:
bool send_finishing_route_dump (const char *dst_xrl_target_name, const string &cookie, const FinishingRouteDumpCB &cb)
 Send Xrl intended to:
 XrlRedist4V0p1Client (XrlSender *s)
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 Xrl intended to:
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)
bool send_starting_route_dump (const char *dst_xrl_target_name, const string &cookie, const StartingRouteDumpCB &cb)
 Send Xrl intended to:
bool send_finishing_route_dump (const char *dst_xrl_target_name, const string &cookie, const FinishingRouteDumpCB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_add_route (const XrlError &e, XrlArgs *a, AddRouteCB cb)
static void unmarshall_delete_route (const XrlError &e, XrlArgs *a, DeleteRouteCB cb)
static void unmarshall_starting_route_dump (const XrlError &e, XrlArgs *a, StartingRouteDumpCB cb)
static void unmarshall_finishing_route_dump (const XrlError &e, XrlArgs *a, FinishingRouteDumpCB cb)
static void unmarshall_add_route (const XrlError &e, XrlArgs *a, AddRouteCB cb)
static void unmarshall_delete_route (const XrlError &e, XrlArgs *a, DeleteRouteCB cb)
static void unmarshall_starting_route_dump (const XrlError &e, XrlArgs *a, StartingRouteDumpCB cb)
static void unmarshall_finishing_route_dump (const XrlError &e, XrlArgs *a, FinishingRouteDumpCB cb)

Private Attributes

auto_ptr< Xrlap_xrl_add_route
auto_ptr< Xrlap_xrl_delete_route
auto_ptr< Xrlap_xrl_starting_route_dump
auto_ptr< Xrlap_xrl_finishing_route_dump

Member Function Documentation

bool XrlRedist4V0p1Client::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 Xrl intended to:

Add/delete a routing entry.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
dstdestination network.
nexthopnexthop router address.
ifnameinterface name associated with nexthop.
vifnamevirtual interface name with nexthop.
metricorigin routing protocol metric for route.
admin_distanceadministrative distance of origin routing protocol.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
protocol_originthe name of the protocol that originated this routing entry.
bool XrlRedist4V0p1Client::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 Xrl intended to:

Add/delete a routing entry.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
dstdestination network.
nexthopnexthop router address.
ifnameinterface name associated with nexthop.
vifnamevirtual interface name with nexthop.
metricorigin routing protocol metric for route.
admin_distanceadministrative distance of origin routing protocol.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
protocol_originthe name of the protocol that originated this routing entry.
bool XrlRedist4V0p1Client::send_finishing_route_dump ( const char *  dst_xrl_target_name,
const string &  cookie,
const FinishingRouteDumpCB &  cb 
)

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_namethe Xrl target name of the destination.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
bool XrlRedist4V0p1Client::send_finishing_route_dump ( const char *  dst_xrl_target_name,
const string &  cookie,
const FinishingRouteDumpCB &  cb 
)

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_namethe Xrl target name of the destination.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
bool XrlRedist4V0p1Client::send_starting_route_dump ( const char *  dst_xrl_target_name,
const string &  cookie,
const StartingRouteDumpCB &  cb 
)

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_namethe Xrl target name of the destination.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.
bool XrlRedist4V0p1Client::send_starting_route_dump ( const char *  dst_xrl_target_name,
const string &  cookie,
const StartingRouteDumpCB &  cb 
)

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_namethe Xrl target name of the destination.
cookievalue set by the requestor to identify redistribution source. Typical value is the originating protocol name.

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