|
|
NexthopRewriteFilter is a BGPRouteFilter that changes the nexthop attribute in a route passing though the filter. A typicaly use is when passing a route to an EBGP peer, we change the nexthop attribute to be our own IP address on the appropriate interface to that peer.
NexthopRewriteFilter (const A &local_nexthop)
| NexthopRewriteFilter |
const InternalMessage<A>*
filter (const InternalMessage<A> *rtmsg,
bool &modified)
| filter |
[const]
Reimplemented from BGPRouteFilter.