xorp

XrlRibClientV0p1Client Class Reference

List of all members.

Public Types

typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RouteInfoChanged4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RouteInfoInvalid4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RouteInfoChanged6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RouteInfoInvalid6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RouteInfoChanged4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RouteInfoInvalid4CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RouteInfoChanged6CB
typedef XorpCallback1< void,
const XrlError & >::RefPtr 
RouteInfoInvalid6CB

Public Member Functions

 XrlRibClientV0p1Client (XrlSender *s)
bool send_route_info_changed4 (const char *dst_xrl_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 Xrl intended to:
bool send_route_info_invalid4 (const char *dst_xrl_target_name, const IPv4 &addr, const uint32_t &prefix_len, const RouteInfoInvalid4CB &cb)
 Send Xrl intended to:
bool send_route_info_changed6 (const char *dst_xrl_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_invalid6 (const char *dst_xrl_target_name, const IPv6 &addr, const uint32_t &prefix_len, const RouteInfoInvalid6CB &cb)
 XrlRibClientV0p1Client (XrlSender *s)
bool send_route_info_changed4 (const char *dst_xrl_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 Xrl intended to:
bool send_route_info_invalid4 (const char *dst_xrl_target_name, const IPv4 &addr, const uint32_t &prefix_len, const RouteInfoInvalid4CB &cb)
 Send Xrl intended to:
bool send_route_info_changed6 (const char *dst_xrl_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_invalid6 (const char *dst_xrl_target_name, const IPv6 &addr, const uint32_t &prefix_len, const RouteInfoInvalid6CB &cb)

Protected Attributes

XrlSender_sender

Static Private Member Functions

static void unmarshall_route_info_changed4 (const XrlError &e, XrlArgs *a, RouteInfoChanged4CB cb)
static void unmarshall_route_info_invalid4 (const XrlError &e, XrlArgs *a, RouteInfoInvalid4CB cb)
static void unmarshall_route_info_changed6 (const XrlError &e, XrlArgs *a, RouteInfoChanged6CB cb)
static void unmarshall_route_info_invalid6 (const XrlError &e, XrlArgs *a, RouteInfoInvalid6CB cb)
static void unmarshall_route_info_changed4 (const XrlError &e, XrlArgs *a, RouteInfoChanged4CB cb)
static void unmarshall_route_info_invalid4 (const XrlError &e, XrlArgs *a, RouteInfoInvalid4CB cb)
static void unmarshall_route_info_changed6 (const XrlError &e, XrlArgs *a, RouteInfoChanged6CB cb)
static void unmarshall_route_info_invalid6 (const XrlError &e, XrlArgs *a, RouteInfoInvalid6CB cb)

Private Attributes

auto_ptr< Xrlap_xrl_route_info_changed4
auto_ptr< Xrlap_xrl_route_info_invalid4
auto_ptr< Xrlap_xrl_route_info_changed6
auto_ptr< Xrlap_xrl_route_info_invalid6

Member Function Documentation

bool XrlRibClientV0p1Client::send_route_info_changed4 ( const char *  dst_xrl_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 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:
dst_xrl_target_namethe Xrl target name of the destination.
addrbase address of the subnet that was registered
prefix_lenprefix length of the subnet that was registered
metricthe routing metric toward the address.
admin_distancethe administratively defined distance toward the address.
protocol_originthe name of the protocol that originated this routing entry.
bool XrlRibClientV0p1Client::send_route_info_changed4 ( const char *  dst_xrl_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 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:
dst_xrl_target_namethe Xrl target name of the destination.
addrbase address of the subnet that was registered
prefix_lenprefix length of the subnet that was registered
metricthe routing metric toward the address.
admin_distancethe administratively defined distance toward the address.
protocol_originthe name of the protocol that originated this routing entry.
bool XrlRibClientV0p1Client::send_route_info_invalid4 ( const char *  dst_xrl_target_name,
const IPv4 addr,
const uint32_t &  prefix_len,
const RouteInfoInvalid4CB &  cb 
)

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:
dst_xrl_target_namethe Xrl target name of the destination.
bool XrlRibClientV0p1Client::send_route_info_invalid4 ( const char *  dst_xrl_target_name,
const IPv4 addr,
const uint32_t &  prefix_len,
const RouteInfoInvalid4CB &  cb 
)

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:
dst_xrl_target_namethe Xrl target name of the destination.

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