| OpenVPN 3 Core Library
    | 
Route address class that may use non-canonical form. More...
#include <capture.hpp>
| Public Member Functions | |
| void | validate (const std::string &title) const | 
| Validates the route address. | |
|  Public Member Functions inherited from openvpn::TunBuilderCapture::RouteBase | |
| std::string | to_string () const | 
| Converts the route to a human-readable string. | |
| Json::Value | to_json () const | 
| Serializes the route to a JSON object. | |
| void | from_json (const Json::Value &root, const std::string &title) | 
| Deserializes the route from a JSON object. | |
| Additional Inherited Members | |
|  Public Attributes inherited from openvpn::TunBuilderCapture::RouteBase | |
| std::string | address | 
| unsigned char | prefix_length = 0 | 
| int | metric = -1 | 
| std::string | gateway | 
| bool | ipv6 = false | 
| bool | net30 = false | 
|  Protected Member Functions inherited from openvpn::TunBuilderCapture::RouteBase | |
| void | validate_ (const std::string &title, const bool require_canonical) const | 
| Protected validation method used by derived classes. | |
|  Static Protected Attributes inherited from openvpn::TunBuilderCapture::RouteBase | |
| static constexpr int | net30_prefix_length = 30 | 
Route address class that may use non-canonical form.
Extends RouteBase to represent a route address that doesn't necessarily need to be in canonical form.
Definition at line 294 of file capture.hpp.
| 
 | inline | 
Validates the route address.
Performs validation using false for the canonical parameter, allowing non-canonical forms. 
| title | A string identifier used in validation messages. | 
Definition at line 302 of file capture.hpp.