class BGPPlumbing


Definition#include <plumbing.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

 BGPPlumbing (XrlStdRouter *, RibIpcHandler* rib_handler, EventLoop& eventloop)

BGPPlumbing

void  set_my_as_number (const AsNum& my_AS_number)

set_my_as_number

int  add_peering (PeerHandler* peer_handler)

add_peering

int  stop_peering (PeerHandler* peer_handler)

stop_peering

int  peering_went_down (PeerHandler* peer_handler)

peering_went_down

int  peering_came_up (PeerHandler* peer_handler)

peering_came_up

int  delete_peering (PeerHandler* peer_handler)

delete_peering

int  add_route (const InternalMessage<IPv4> &rtmsg, PeerHandler* peer_handler)

add_route

int  add_route (const InternalMessage<IPv6> &rtmsg, PeerHandler* peer_handler)

add_route

int  delete_route (const InternalMessage<IPv4> &rtmsg, PeerHandler* peer_handler)

delete_route

int  delete_route (const InternalMessage<IPv6> &rtmsg, PeerHandler* peer_handler)

delete_route

int  delete_route (const IPNet<IPv4> &net, PeerHandler* peer_handler)

delete_route

int  delete_route (const IPNet<IPv6> &net, PeerHandler* peer_handler)

delete_route

void  push (PeerHandler* peer_handler)

push

void  output_no_longer_busy (PeerHandler* peer_handler)

output_no_longer_busy

const SubnetRoute<IPv4>*  lookup_route (const IPNet<IPv4> &net)

lookup_route

[const]

const SubnetRoute<IPv6>*  lookup_route (const IPNet<IPv6> &net)

lookup_route

[const]

const AsNum&  my_AS_number ()

my_AS_number

[const]

RibIpcHandlerrib_handler ()

rib_handler

[const]

BGPPlumbingAF<IPv4>&  plumbing4 ()

plumbing4

BGPPlumbingAF<IPv6>&  plumbing6 ()

plumbing6

uint32_t  create_ipv4_route_table_reader ()

create_ipv4_route_table_reader

uint32_t  create_ipv6_route_table_reader ()

create_ipv6_route_table_reader

bool  read_next_route (uint32_t token, const SubnetRoute<IPv4>*& route, IPv4& peer_id)

read_next_route

bool  read_next_route (uint32_t token, const SubnetRoute<IPv6>*& route, IPv4& peer_id)

read_next_route

bool  status (string& reason)

status

[const]

Get the status of the Plumbing

Parameters:
reasonthe human-readable reason for any failure

Returns: false if Plumbing 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.