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)

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)

add_route

Reimplemented from PeerHandler.

int  add_route (const SubnetRoute<IPv6> &rt)

add_route

Reimplemented from PeerHandler.

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

replace_route

Reimplemented from PeerHandler.

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

replace_route

Reimplemented from PeerHandler.

int  delete_route (const SubnetRoute<IPv4> &rt)

delete_route

Reimplemented from PeerHandler.

int  delete_route (const SubnetRoute<IPv6> &rt)

delete_route

Reimplemented from PeerHandler.

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

callback

PeerOutputState  push_packet ()

push_packet

Reimplemented from PeerHandler.

void  set_plumbing (BGPPlumbing *plumbing)

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


Generated by: pavlin on possum.icir.org on Mon Jun 9 13:23:59 2003, using kdoc 2.0a54+XORP.