xorp

NexthopPeerCheckFilter< A > Class Template Reference

BGPRouteFilter rewrites the nexthop if it matches the peers address. More...

#include <route_table_filter.hh>

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

List of all members.

Public Member Functions

 NexthopPeerCheckFilter (const A &local_nexthop, const A &peer_address)
bool filter (InternalMessage< A > &rtmsg) const

Private Attributes

_local_nexthop
_peer_address

Detailed Description

template<class A>
class NexthopPeerCheckFilter< A >

BGPRouteFilter rewrites the nexthop if it matches the peers address.

NexthopPeerCheckFilter is a BGPRouteFilter that checks that the nexthop is not equal to the peers address. If the nexthop is equal to the peers address then the nexthop is rewritten to the routers nexthop address.


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