xorp

XrlFeaFibClientV0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AddRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ReplaceRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ResolveRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AddRoute6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ResolveRoute6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ReplaceRoute6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteRoute6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AddRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ReplaceRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ResolveRoute4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
AddRoute6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ResolveRoute6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
ReplaceRoute6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
DeleteRoute6CB

Public Member Functions

 XrlFeaFibClientV0p1Client (XrlSender *s)
bool send_add_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin, const bool &xorp_route, const AddRoute4CB &cb)
 Send Xrl intended to:
bool send_replace_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin, const bool &xorp_route, const ReplaceRoute4CB &cb)
 Send Xrl intended to:
bool send_delete_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const string &ifname, const string &vifname, const DeleteRoute4CB &cb)
 Send Xrl intended to:
bool send_resolve_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const ResolveRoute4CB &cb)
 Send Xrl intended to:
bool send_add_route6 (const char *dst_xrl_target_name, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin, const bool &xorp_route, const AddRoute6CB &cb)
bool send_resolve_route6 (const char *dst_xrl_target_name, const IPv6Net &network, const ResolveRoute6CB &cb)
bool send_replace_route6 (const char *dst_xrl_target_name, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin, const bool &xorp_route, const ReplaceRoute6CB &cb)
bool send_delete_route6 (const char *dst_xrl_target_name, const IPv6Net &network, const string &ifname, const string &vifname, const DeleteRoute6CB &cb)
 XrlFeaFibClientV0p1Client (XrlSender *s)
bool send_add_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin, const bool &xorp_route, const AddRoute4CB &cb)
 Send Xrl intended to:
bool send_replace_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const IPv4 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin, const bool &xorp_route, const ReplaceRoute4CB &cb)
 Send Xrl intended to:
bool send_delete_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const string &ifname, const string &vifname, const DeleteRoute4CB &cb)
 Send Xrl intended to:
bool send_resolve_route4 (const char *dst_xrl_target_name, const IPv4Net &network, const ResolveRoute4CB &cb)
 Send Xrl intended to:
bool send_add_route6 (const char *dst_xrl_target_name, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin, const bool &xorp_route, const AddRoute6CB &cb)
bool send_resolve_route6 (const char *dst_xrl_target_name, const IPv6Net &network, const ResolveRoute6CB &cb)
bool send_replace_route6 (const char *dst_xrl_target_name, const IPv6Net &network, const IPv6 &nexthop, const string &ifname, const string &vifname, const uint32_t &metric, const uint32_t &admin_distance, const string &protocol_origin, const bool &xorp_route, const ReplaceRoute6CB &cb)
bool send_delete_route6 (const char *dst_xrl_target_name, const IPv6Net &network, const string &ifname, const string &vifname, const DeleteRoute6CB &cb)

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_add_route4 (const XrlError &e, XrlArgs *a, AddRoute4CB cb)
static void unmarshall_replace_route4 (const XrlError &e, XrlArgs *a, ReplaceRoute4CB cb)
static void unmarshall_delete_route4 (const XrlError &e, XrlArgs *a, DeleteRoute4CB cb)
static void unmarshall_resolve_route4 (const XrlError &e, XrlArgs *a, ResolveRoute4CB cb)
static void unmarshall_add_route6 (const XrlError &e, XrlArgs *a, AddRoute6CB cb)
static void unmarshall_resolve_route6 (const XrlError &e, XrlArgs *a, ResolveRoute6CB cb)
static void unmarshall_replace_route6 (const XrlError &e, XrlArgs *a, ReplaceRoute6CB cb)
static void unmarshall_delete_route6 (const XrlError &e, XrlArgs *a, DeleteRoute6CB cb)
static void unmarshall_add_route4 (const XrlError &e, XrlArgs *a, AddRoute4CB cb)
static void unmarshall_replace_route4 (const XrlError &e, XrlArgs *a, ReplaceRoute4CB cb)
static void unmarshall_delete_route4 (const XrlError &e, XrlArgs *a, DeleteRoute4CB cb)
static void unmarshall_resolve_route4 (const XrlError &e, XrlArgs *a, ResolveRoute4CB cb)
static void unmarshall_add_route6 (const XrlError &e, XrlArgs *a, AddRoute6CB cb)
static void unmarshall_resolve_route6 (const XrlError &e, XrlArgs *a, ResolveRoute6CB cb)
static void unmarshall_replace_route6 (const XrlError &e, XrlArgs *a, ReplaceRoute6CB cb)
static void unmarshall_delete_route6 (const XrlError &e, XrlArgs *a, DeleteRoute6CB cb)

Private Attributes

auto_ptr< Xrlap_xrl_add_route4
auto_ptr< Xrlap_xrl_replace_route4
auto_ptr< Xrlap_xrl_delete_route4
auto_ptr< Xrlap_xrl_resolve_route4
auto_ptr< Xrlap_xrl_add_route6
auto_ptr< Xrlap_xrl_resolve_route6
auto_ptr< Xrlap_xrl_replace_route6
auto_ptr< Xrlap_xrl_delete_route6

Member Function Documentation

bool XrlFeaFibClientV0p1Client::send_add_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const IPv4 nexthop,
const string &  ifname,
const string &  vifname,
const uint32_t &  metric,
const uint32_t &  admin_distance,
const string &  protocol_origin,
const bool &  xorp_route,
const AddRoute4CB &  cb 
)

Send Xrl intended to:

Notification of a route being added.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe network address prefix of the route to add.
nexthopthe address of the next-hop router toward the destination.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.
metricthe routing metric toward the destination.
admin_distancethe administratively defined distance toward the destination.
protocol_originthe name of the protocol that originated this route.
xorp_routetrue if this route was installed by XORP.
bool XrlFeaFibClientV0p1Client::send_add_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const IPv4 nexthop,
const string &  ifname,
const string &  vifname,
const uint32_t &  metric,
const uint32_t &  admin_distance,
const string &  protocol_origin,
const bool &  xorp_route,
const AddRoute4CB &  cb 
)

Send Xrl intended to:

Notification of a route being added.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe network address prefix of the route to add.
nexthopthe address of the next-hop router toward the destination.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.
metricthe routing metric toward the destination.
admin_distancethe administratively defined distance toward the destination.
protocol_originthe name of the protocol that originated this route.
xorp_routetrue if this route was installed by XORP.
bool XrlFeaFibClientV0p1Client::send_delete_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const string &  ifname,
const string &  vifname,
const DeleteRoute4CB &  cb 
)

Send Xrl intended to:

Notification of a route being deleted.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe network address prefix of the route to delete.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.
bool XrlFeaFibClientV0p1Client::send_delete_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const string &  ifname,
const string &  vifname,
const DeleteRoute4CB &  cb 
)

Send Xrl intended to:

Notification of a route being deleted.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe network address prefix of the route to delete.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.
bool XrlFeaFibClientV0p1Client::send_replace_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const IPv4 nexthop,
const string &  ifname,
const string &  vifname,
const uint32_t &  metric,
const uint32_t &  admin_distance,
const string &  protocol_origin,
const bool &  xorp_route,
const ReplaceRoute4CB &  cb 
)

Send Xrl intended to:

Notification of a route being replaced.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe network address prefix of the route to replace.
nexthopthe address of the next-hop router toward the destination.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.
metricthe routing metric toward the destination.
admin_distancethe administratively defined distance toward the destination.
protocol_originthe name of the protocol that originated this route.
xorp_routetrue if this route was installed by XORP.
bool XrlFeaFibClientV0p1Client::send_replace_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const IPv4 nexthop,
const string &  ifname,
const string &  vifname,
const uint32_t &  metric,
const uint32_t &  admin_distance,
const string &  protocol_origin,
const bool &  xorp_route,
const ReplaceRoute4CB &  cb 
)

Send Xrl intended to:

Notification of a route being replaced.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe network address prefix of the route to replace.
nexthopthe address of the next-hop router toward the destination.
ifnamethe name of the physical interface toward the destination.
vifnamethe name of the virtual interface toward the destination.
metricthe routing metric toward the destination.
admin_distancethe administratively defined distance toward the destination.
protocol_originthe name of the protocol that originated this route.
xorp_routetrue if this route was installed by XORP.
bool XrlFeaFibClientV0p1Client::send_resolve_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const ResolveRoute4CB &  cb 
)

Send Xrl intended to:

Notification of a route resolution request. This is issued when the forwarding plane cannot find any route to a given destination, even a candidate default.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe address of the destination. forwarding plane requires a route to be resolved by the upper layer.
bool XrlFeaFibClientV0p1Client::send_resolve_route4 ( const char *  dst_xrl_target_name,
const IPv4Net network,
const ResolveRoute4CB &  cb 
)

Send Xrl intended to:

Notification of a route resolution request. This is issued when the forwarding plane cannot find any route to a given destination, even a candidate default.

Parameters:
dst_xrl_target_namethe Xrl target name of the destination.
networkthe address of the destination. forwarding plane requires a route to be resolved by the upper layer.

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