xorp

SimpleASFilter< A > Class Template Reference

BGPRouteFilter that drops routes that have a particular AS in their AS path. More...

#include <route_table_filter.hh>

Inheritance diagram for SimpleASFilter< A >:
BGPRouteFilter< A >

List of all members.

Public Member Functions

 SimpleASFilter (const AsNum &as_num)
bool filter (InternalMessage< A > &rtmsg) const

Private Attributes

AsNum _as_num

Detailed Description

template<class A>
class SimpleASFilter< A >

BGPRouteFilter that drops routes that have a particular AS in their AS path.

SimpleASFilter is a BGPRouteFilter that drops routes that have a particular AS in their AS path. This is typically used in loop prevention, where an inbound filter from an EBGP peer drops routes that contain our own AS number

This works on both regular EBGP and CONFEDERATION EBGP sessions


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations