class RibIpcHandler


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 RibIpcHandler (XrlStdRouter& xrl_router, BGPMain& bgp)

RibIpcHandler

 ~RibIpcHandler ()

~RibIpcHandler

bool  register_ribname (const string& r)

register_ribname

Set the rib's name, allows for having a dummy rib or not having a RIB at all.

int  start_packet ()

start_packet

Reimplemented from PeerHandler.

int  add_route (const SubnetRoute<IPv4> &rt, bool ibgp, Safi safi)

add_route

Reimplemented from PeerHandler.

int  add_route (const SubnetRoute<IPv6> &rt, bool ibgp, Safi safi)

add_route

Reimplemented from PeerHandler.

int  replace_route (const SubnetRoute<IPv4> &old_rt, bool old_ibgp, const SubnetRoute<IPv4> &new_rt, bool new_ibgp, Safi safi)

replace_route

Reimplemented from PeerHandler.

int  replace_route (const SubnetRoute<IPv6> &old_rt, bool old_ibgp, const SubnetRoute<IPv6> &new_rt, bool new_ibgp, Safi safi)

replace_route

Reimplemented from PeerHandler.

int  delete_route (const SubnetRoute<IPv4> &rt, bool ibgp, Safi safi)

delete_route

Reimplemented from PeerHandler.

int  delete_route (const SubnetRoute<IPv6> &rt, bool ibgp, Safi safi)

delete_route

Reimplemented from PeerHandler.

void  rib_command_done (const XrlError& error, const char *comment)

rib_command_done

PeerOutputState  push_packet ()

push_packet

Reimplemented from PeerHandler.

void  set_plumbing (BGPPlumbing *plumbing_unicast, BGPPlumbing *plumbing_multicast)

set_plumbing

bool  busy ()

busy

Returns: true if routes are being sent to the RIB.

bool  originate_route (const OriginType origin, const ASPath& aspath, const IPv4Net& nlri, const IPv4& next_hop, const bool& unicast, const bool& multicast, const PolicyTags& policytags)

originate_route

Originate an IPv4 route

Parameters:

originof the path information
nlrisubnet to announce
next_hopto forward to
unicastif true install in unicast routing table
multicastif true install in multicast routing table
policytagspolicy-tags associated with the route

Returns: true on success

bool  originate_route (const OriginType origin, const ASPath& aspath, const IPv6Net& nlri, const IPv6& next_hop, const bool& unicast, const bool& multicast, const PolicyTags& policytags)

originate_route

Originate an IPv6 route

Parameters:

originof the path information
nlrisubnet to announce
next_hopto forward to
unicastif true install in unicast routing table
multicastif true install in multicast routing table
policytagspolicy-tags associated with the route

Returns: true on success

bool  withdraw_route (const IPv4Net& nlri, const bool& unicast, const bool& multicast)

withdraw_route

Withdraw an IPv4 route

Parameters:

nlrisubnet to withdraw
unicastif true withdraw from unicast routing table
multicastif true withdraw from multicast routing table

Returns: true on success

bool  withdraw_route (const IPv6Net& nlri, const bool& unicast, const bool& multicast)

withdraw_route

Withdraw an IPv6 route

Returns: true on success

uint32_t  get_unique_id ()

get_unique_id

[const virtual]

Reimplemented from PeerHandler.

const IPv4&  id ()

id

[const]

Reimplemented from PeerHandler.

PeerType  get_peer_type ()

get_peer_type

[const virtual]

Reimplemented from PeerHandler.

bool  originate_route_handler ()

originate_route_handler

[const virtual]

This is the handler that deals with originating routes.

Returns: true

Reimplemented from PeerHandler.

EventLoop&  eventloop ()

eventloop

[const virtual]

Returns: the main eventloop

Reimplemented from PeerHandler.


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:01 2008, using kdoc 2.0a54+XORP.