xorp

ASPrependFilter< A > Class Template Reference

BGPRouteFilter that prepends an AS to the AS path. More...

#include <route_table_filter.hh>

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

List of all members.

Public Member Functions

 ASPrependFilter (const AsNum &as_num, bool is_confederation_peer)
bool filter (InternalMessage< A > &rtmsg) const

Private Attributes

AsNum _as_num
bool _is_confederation_peer

Detailed Description

template<class A>
class ASPrependFilter< A >

BGPRouteFilter that prepends an AS to the AS path.

ASPrependFilter is a BGPRouteFilter that prepends an AS to the AS path. This is typically used when sending a route to an EBGP peer to add our own AS number to the path.

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