xorp

LocalPrefInsertionFilter< A > Class Template Reference

BGPRouteFilter that inserts a LocalPref attribute. More...

#include <route_table_filter.hh>

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

List of all members.

Public Member Functions

 LocalPrefInsertionFilter (uint32_t default_local_pref)
bool filter (InternalMessage< A > &rtmsg) const

Private Attributes

uint32_t _default_local_pref

Detailed Description

template<class A>
class LocalPrefInsertionFilter< A >

BGPRouteFilter that inserts a LocalPref attribute.

LocalPrefInsertionFilter is a BGPRouteFilter that inserts a LocalPref attribute into routes passing though the filter. This is typically used in an incoming filter bank from an EBGP peer to add LocalPref.


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