xorp

XrlPolicyRedist4V0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AddRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AddRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteRoute4CB

Public Member Functions

 XrlPolicyRedist4V0p1Client (XrlSender *s)
bool send_add_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const bool &unicast, const bool &multicast, const IPv4 &nexthop, const uint32_t &metric, const XrlAtomList &policytags, const AddRoute4CB &cb)
 Send Xrl intended to:
bool send_delete_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const bool &unicast, const bool &multicast, const DeleteRoute4CB &cb)
 Send Xrl intended to:
 XrlPolicyRedist4V0p1Client (XrlSender *s)
bool send_add_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const bool &unicast, const bool &multicast, const IPv4 &nexthop, const uint32_t &metric, const XrlAtomList &policytags, const AddRoute4CB &cb)
 Send Xrl intended to:
bool send_delete_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const bool &unicast, const bool &multicast, const DeleteRoute4CB &cb)
 Send Xrl intended to:

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_add_route4 (const XrlError &e, XrlArgs *a, AddRoute4CB cb)
static void unmarshall_delete_route4 (const XrlError &e, XrlArgs *a, DeleteRoute4CB cb)
static void unmarshall_add_route4 (const XrlError &e, XrlArgs *a, AddRoute4CB cb)
static void unmarshall_delete_route4 (const XrlError &e, XrlArgs *a, DeleteRoute4CB cb)

Private Attributes

auto_ptr< Xrlap_xrl_add_route4
auto_ptr< Xrlap_xrl_delete_route4

Member Function Documentation

bool XrlPolicyRedist4V0p1Client::send_add_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const bool &  unicast,
const bool &  multicast,
const IPv4 nexthop,
const uint32_t &  metric,
const XrlAtomList policytags,
const AddRoute4CB &  cb 
)

Send Xrl intended to:

Start route redistribution for an IPv4 route.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe route to advertise.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
nexthopthe nexthop of the route.
metricthe metric of the route.
policytagsthe set of policy-tags associated with the route.
bool XrlPolicyRedist4V0p1Client::send_add_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const bool &  unicast,
const bool &  multicast,
const IPv4 nexthop,
const uint32_t &  metric,
const XrlAtomList policytags,
const AddRoute4CB &  cb 
)

Send Xrl intended to:

Start route redistribution for an IPv4 route.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe route to advertise.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
nexthopthe nexthop of the route.
metricthe metric of the route.
policytagsthe set of policy-tags associated with the route.
bool XrlPolicyRedist4V0p1Client::send_delete_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const bool &  unicast,
const bool &  multicast,
const DeleteRoute4CB &  cb 
)

Send Xrl intended to:

Terminate route redistribution for an IPv4 route.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe route for which advertisements should cease.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
bool XrlPolicyRedist4V0p1Client::send_delete_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const bool &  unicast,
const bool &  multicast,
const DeleteRoute4CB &  cb 
)

Send Xrl intended to:

Terminate route redistribution for an IPv4 route.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe route for which advertisements should cease.
unicastwhether the route is unicast.
multicastwhether the route is multicast.

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