libbgp  0.6
A C++ BGP Library.
Public Member Functions | List of all members
libbgp::BgpFilterRuleRoute6 Class Reference

The IPv6 route filtering rule. More...

#include <bgp-filter.h>

Inheritance diagram for libbgp::BgpFilterRuleRoute6:
Inheritance graph
[legend]
Collaboration diagram for libbgp::BgpFilterRuleRoute6:
Collaboration graph
[legend]

Public Member Functions

 BgpFilterRuleRoute6 (BgpFilterOP op, BgpFilterRuleRouteMatchType type, const Prefix6 &prefix)
 Construct a new IPv6 route filtering object. More...
 
- Public Member Functions inherited from libbgp::BgpFilterRuleRoute< Prefix6 >
 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< Prefix6 >
Prefix6 prefix
 The route prefix.
 
- Public Attributes inherited from libbgp::BgpFilterRule
uint8_t filter_type
 
uint8_t match_type
 
BgpFilterOP op
 

Detailed Description

The IPv6 route filtering rule.

Definition at line 157 of file bgp-filter.h.

Constructor & Destructor Documentation

◆ BgpFilterRuleRoute6()

libbgp::BgpFilterRuleRoute6::BgpFilterRuleRoute6 ( BgpFilterOP  op,
BgpFilterRuleRouteMatchType  type,
const Prefix6 prefix 
)

Construct a new IPv6 route filtering object.

Parameters
opAction to take if the prefix matched.
typeType of matching.
prefixPrefix to match.

Definition at line 39 of file bgp-filter.cc.


The documentation for this class was generated from the following files: