libbgp
0.6
A C++ BGP Library.
|
The IPv4 route filtering rule. More...
#include <bgp-filter.h>
Public Member Functions | |
BgpFilterRuleRoute4 (BgpFilterOP op, BgpFilterRuleRouteMatchType type, const Prefix4 &prefix) | |
Construct a new IPv4 route filtering object. More... | |
Public Member Functions inherited from libbgp::BgpFilterRuleRoute< Prefix4 > | |
BgpFilterRuleRoute () | |
Construct a new BgpFilterRuleRoute object. | |
BgpFilterOP | apply (const Prefix &prefix, __attribute__((unused)) const std::vector< std::shared_ptr< BgpPathAttrib >> &attribs) |
virtual | ~BgpFilterRuleRoute () |
Destroy the BgpFilterRuleRoute object. | |
Public Member Functions inherited from libbgp::BgpFilterRule | |
virtual BgpFilterOP | apply (const Prefix &prefix, const std::vector< std::shared_ptr< BgpPathAttrib >> &attribs)=0 |
Apply the rule on a route. More... | |
Additional Inherited Members | |
Public Attributes inherited from libbgp::BgpFilterRuleRoute< Prefix4 > | |
Prefix4 | prefix |
The route prefix. | |
Public Attributes inherited from libbgp::BgpFilterRule | |
uint8_t | filter_type |
uint8_t | match_type |
BgpFilterOP | op |
The IPv4 route filtering rule.
Definition at line 148 of file bgp-filter.h.
libbgp::BgpFilterRuleRoute4::BgpFilterRuleRoute4 | ( | BgpFilterOP | op, |
BgpFilterRuleRouteMatchType | type, | ||
const Prefix4 & | prefix | ||
) |
Construct a new IPv4 route filtering object.
op | Action to take if the prefix matched. |
type | Type of matching. |
prefix | Prefix to match. |
Definition at line 26 of file bgp-filter.cc.