class RibIpcHandler


Definition#include <rib_ipc_handler.hh>
InheritsPeerHandler [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

 RibIpcHandler (XrlStdRouter *xrl_router, EventLoop& eventloop, 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 (bool ibgp)

start_packet

Reimplemented from PeerHandler.

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

add_route

Reimplemented from PeerHandler.

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

add_route

Reimplemented from PeerHandler.

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

replace_route

Reimplemented from PeerHandler.

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

replace_route

Reimplemented from PeerHandler.

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

delete_route

Reimplemented from PeerHandler.

int  delete_route (const SubnetRoute<IPv6> &rt, 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  insert_static_route (const OriginType origin, const AsPath& aspath, const IPv4& next_hop, const IPNet<IPv4>& nlri)

insert_static_route

bool  delete_static_route (const IPNet<IPv4>& nlri)

delete_static_route

EventLoop&  eventloop ()

eventloop

Reimplemented from PeerHandler.

void  fatal_error (const string& reason)

fatal_error

bool  status (string& reason)

status

[const]

Get the status of the RibIpcHandler

Parameters:
reasonthe human-readable reason for any failure

Returns: false if RibIpcHandler has suffered a fatal error, true otherwise

const IPv4&  id ()

id

[const]

Reimplemented from PeerHandler.


Generated by: pavlin on possum.icir.org on Thu Nov 6 23:47:04 2003, using kdoc 2.0a54+XORP.