![]() |
Kea 3.0.0
|
Filter all IA_PD so that no option is matched by the expression. More...
Public Member Functions | |
TokenFilterIA_PD (const RepresentationType &rep_type) | |
Constructor. | |
virtual OptionPtr | getOption (Pkt &) |
Get no option regardless of what the packet contains. | |
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. | |
virtual unsigned | evaluate (Pkt &pkt, ValueStack &values) |
Evaluates the values of the option. | |
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. |
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 Attributes inherited from isc::dhcp::TokenOption | |
uint16_t | option_code_ |
Code of the option to be extracted. | |
RepresentationType | representation_type_ |
Representation type. |
Filter all IA_PD so that no option is matched by the expression.
Definition at line 300 of file lease6_callouts.cc.
|
inline |
Constructor.
rep_type | Token representation type. |
Definition at line 305 of file lease6_callouts.cc.
References isc::dhcp::TokenOption::TokenOption(), and D6O_IA_PD.
Referenced by isc::dhcp::TokenFilterIA_PDSuboption::TokenFilterIA_PDSuboption().
Get no option regardless of what the packet contains.
pkt | The packet containing options. |
Reimplemented from isc::dhcp::TokenOption.
Reimplemented in isc::dhcp::TokenFilterIA_PDSuboption.
Definition at line 312 of file lease6_callouts.cc.
Referenced by isc::dhcp::TokenFilterIA_PDSuboption::getOption().