OpenVPN 3 Core Library
Loading...
Searching...
No Matches
route.hpp File Reference
#include <string>
#include <sstream>
#include <vector>
#include <cstdint>
#include <tuple>
#include <openvpn/common/size.hpp>
#include <openvpn/common/exception.hpp>
#include <openvpn/common/number.hpp>
#include <openvpn/common/to_string.hpp>
#include <openvpn/common/split.hpp>
#include <openvpn/common/hash.hpp>
#include <openvpn/addr/ip.hpp>
Include dependency graph for route.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openvpn::IP::RouteType< ADDR >
 
struct  openvpn::IP::RouteTypeList< ADDR >
 

Namespaces

namespace  openvpn
 
namespace  openvpn::IP
 

Typedefs

using openvpn::IP::Route = RouteType< IP::Addr >
 
using openvpn::IP::Route4 = RouteType< IPv4::Addr >
 
using openvpn::IP::Route6 = RouteType< IPv6::Addr >
 
using openvpn::IP::RouteList = RouteTypeList< IP::Addr >
 
using openvpn::IP::Route4List = RouteTypeList< IPv4::Addr >
 
using openvpn::IP::Route6List = RouteTypeList< IPv6::Addr >
 

Functions

 openvpn::IP::OPENVPN_OSTREAM (Route, to_string)
 
 openvpn::IP::OPENVPN_OSTREAM (RouteList, to_string)
 
template<typename TITLE >
Route openvpn::IP::route_from_string_prefix (const std::string &addrstr, const unsigned int prefix_len, const TITLE &title, const IP::Addr::Version required_version=IP::Addr::UNSPEC)
 
template<typename TITLE >
Route openvpn::IP::route_from_string (const std::string &rtstr, const TITLE &title, const IP::Addr::Version required_version=IP::Addr::UNSPEC)