libbgp
0.6
A C++ BGP Library.
|
The base of BgpFilterRule. More...
#include <bgp-filter.h>
Public Member Functions | |
virtual BgpFilterOP | apply (const Prefix &prefix, const std::vector< std::shared_ptr< BgpPathAttrib >> &attribs)=0 |
Apply the rule on a route. More... | |
Public Attributes | |
uint8_t | filter_type |
uint8_t | match_type |
BgpFilterOP | op |
The base of BgpFilterRule.
Definition at line 79 of file bgp-filter.h.
|
pure virtual |
Apply the rule on a route.
prefix | Route prefix. |
attribs | Path attribues. |
Implemented in libbgp::BgpFilterRuleCommunity, and libbgp::BgpFilterRuleAsPath.
Referenced by libbgp::BgpFilterRules::append().