class FilterVersion

specific version of a static route filter. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

When a peering is reconfigured, we need to change the filter, but still maintain consistency for downstream tables. We keep the old filter around until there are no more routes that need it, and only then delete it. FilterVersion holds a specific version of a static route filter bank.

 FilterVersion (NextHopResolver<A>& next_hop_resolver)

FilterVersion

 ~FilterVersion ()

~FilterVersion

void  set_genid (uint32_t genid)

set_genid

int  add_aggregation_filter (bool is_ibgp)

add_aggregation_filter

int  add_simple_AS_filter (const AsNum &asn)

add_simple_AS_filter

int  add_route_reflector_input_filter (IPv4 bgp_id, IPv4 cluster_id)

add_route_reflector_input_filter

int  add_AS_prepend_filter (const AsNum &asn, bool is_confederation_peer)

add_AS_prepend_filter

int  add_nexthop_rewrite_filter (const A& nexthop, bool directly_connected, const IPNet<A> &subnet)

add_nexthop_rewrite_filter

int  add_nexthop_peer_check_filter (const A& nexthop, const A& peer_address)

add_nexthop_peer_check_filter

int  add_ibgp_loop_filter ()

add_ibgp_loop_filter

int  add_route_reflector_ibgp_loop_filter (bool client, IPv4 bgp_id, IPv4 cluster_id)

add_route_reflector_ibgp_loop_filter

int  add_route_reflector_purge_filter ()

add_route_reflector_purge_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

int  add_known_community_filter (PeerType peer_type)

add_known_community_filter

int  add_unknown_filter ()

add_unknown_filter

int  add_originate_route_filter (const AsNum &asn, PeerType peer_type)

add_originate_route_filter

const InternalMessage<A> *  apply_filters (const InternalMessage<A> *rtmsg, int ref_change)

apply_filters

int  ref_count ()

ref_count

[const]

uint32_t  genid ()

genid

[const]

bool  used ()

used

[const]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:33 2006, using kdoc $.