class FilterTable


Definition#include <route_table_filter.hh>
Template formFilterTable<class A>
InheritsBGPRouteTable [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

 FilterTable (string tablename, BGPRouteTable<A> *parent, NextHopResolver<A>& next_hop_resolver)

FilterTable

 ~FilterTable ()

~FilterTable

int  add_route (const InternalMessage<A> &rtmsg, BGPRouteTable<A> *caller)

add_route

Reimplemented from BGPRouteTable.

int  replace_route (const InternalMessage<A> &old_rtmsg, const InternalMessage<A> &new_rtmsg, BGPRouteTable<A> *caller)

replace_route

Reimplemented from BGPRouteTable.

int  delete_route (const InternalMessage<A> &rtmsg, BGPRouteTable<A> *caller)

delete_route

Reimplemented from BGPRouteTable.

int  route_dump (const InternalMessage<A> &rtmsg, BGPRouteTable<A> *caller, const PeerHandler *dump_peer)

route_dump

Reimplemented from BGPRouteTable.

int  push (BGPRouteTable<A> *caller)

push

Reimplemented from BGPRouteTable.

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

lookup_route

[const]

Reimplemented from BGPRouteTable.

void  route_used (const SubnetRoute<A>* route, bool in_use)

route_used

Reimplemented from BGPRouteTable.

RouteTableType  type ()

type

[const]

Reimplemented from BGPRouteTable.

string  str ()

str

[const]

Reimplemented from BGPRouteTable.

void  output_state (bool busy, BGPRouteTable<A> *next_table)

output_state

Reimplemented from BGPRouteTable.

bool  get_next_message (BGPRouteTable<A> *next_table)

get_next_message

Reimplemented from BGPRouteTable.

int  add_simple_AS_filter (const AsNum &asn)

add_simple_AS_filter

int  add_AS_prepend_filter (const AsNum &asn)

add_AS_prepend_filter

int  add_nexthop_rewrite_filter (const A& nexthop)

add_nexthop_rewrite_filter

int  add_ibgp_loop_filter ()

add_ibgp_loop_filter

int  add_localpref_insertion_filter (uint32_t default_local_pref)

add_localpref_insertion_filter

int  add_localpref_removal_filter ()

add_localpref_removal_filter

int  add_med_insertion_filter ()

add_med_insertion_filter

int  add_med_removal_filter ()

add_med_removal_filter


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