![]() |
Kea 3.0.0
|
Filter all IA_PD so that no sub-option is matched by the expression. More...
Public Member Functions | |
| TokenFilterIA_PDSuboption (const RepresentationType &rep_type) | |
| Constructor. | |
| unsigned | evaluate (Pkt &pkt, ValueStack &values) |
| Evaluate the expression using the TokenSubOption implementation. | |
| virtual OptionPtr | getOption (Pkt &pkt) |
| Get no option regardless of what the packet contains. | |
| Public Member Functions inherited from isc::dhcp::TokenFilterIA_PD | |
| TokenFilterIA_PD (const RepresentationType &rep_type) | |
| Constructor. | |
| Public Member Functions inherited from isc::dhcp::TokenOption | |
| TokenOption (const uint16_t option_code, const RepresentationType &rep_type) | |
| Constructor that takes an option code as a parameter. | |
| uint16_t | getCode () const |
| Returns option-code. | |
| RepresentationType | getRepresentation () const |
| Returns representation-type. | |
| Public Member Functions inherited from isc::dhcp::Token | |
| virtual | ~Token () |
| Virtual destructor. | |
| virtual unsigned | getLabel () const |
| Return the label of this token. | |
| Public Member Functions inherited from isc::dhcp::TokenSubOption | |
| TokenSubOption (const uint16_t option_code, const uint16_t sub_option_code, const RepresentationType &rep_type) | |
| Constructor that takes an option and sub-option codes as parameter. | |
| uint16_t | getSubCode () const |
| Returns sub-option-code. | |
Additional Inherited Members | |
| Public Types inherited from isc::dhcp::TokenOption | |
| enum | RepresentationType { TEXTUAL , HEXADECIMAL , EXISTS } |
| Token representation type. More... | |
| Static Public Member Functions inherited from isc::dhcp::Token | |
| static bool | toBool (std::string value) |
| Coverts a (string) value to a boolean. | |
| Protected Member Functions inherited from isc::dhcp::TokenOption | |
| virtual std::string | pushFailure (ValueStack &values) |
| Auxiliary method that puts string representing a failure. | |
| Protected Member Functions inherited from isc::dhcp::TokenSubOption | |
| virtual OptionPtr | getSubOption (const OptionPtr &parent) |
| Attempts to retrieve a sub-option. | |
| Protected Attributes inherited from isc::dhcp::TokenOption | |
| uint16_t | option_code_ |
| Code of the option to be extracted. | |
| RepresentationType | representation_type_ |
| Representation type. | |
| Protected Attributes inherited from isc::dhcp::TokenSubOption | |
| uint16_t | sub_option_code_ |
| Code of the sub-option to be extracted. | |
Filter all IA_PD so that no sub-option is matched by the expression.
Definition at line 354 of file lease6_callouts.cc.
|
inline |
Constructor.
| rep_type | Token representation type. |
Definition at line 359 of file lease6_callouts.cc.
References isc::dhcp::TokenFilterIA_PD::TokenFilterIA_PD(), isc::dhcp::TokenSubOption::TokenSubOption(), D6O_IA_PD, and D6O_IAPREFIX.
|
inlinevirtual |
Evaluate the expression using the TokenSubOption implementation.
| pkt | specified parent option will be extracted from this packet |
| values | value of the sub-option will be pushed here (or "") |
Reimplemented from isc::dhcp::TokenOption.
Definition at line 378 of file lease6_callouts.cc.
References isc::dhcp::TokenSubOption::evaluate().
Get no option regardless of what the packet contains.
| pkt | The packet containing options. |
Reimplemented from isc::dhcp::TokenFilterIA_PD.
Definition at line 368 of file lease6_callouts.cc.
References isc::dhcp::TokenFilterIA_PD::getOption().