OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TunWin::Util Namespace Reference

Namespaces

namespace  TunIPHELPER
 
namespace  TunNETSH
 

Classes

class  ActionDeleteAllRoutesOnInterface
 
class  ActionEnableDHCP
 
class  ActionSetAdapterDomainSuffix
 
class  BestGateway
 
struct  DeviceInstanceIdInterfaceList
 
struct  DeviceInstanceIdInterfacePair
 
class  DevInfoSetHelper
 
struct  InterfaceInfoList
 
struct  IPAdaptersInfo
 
struct  IPNetmask4
 
struct  IPPerAdapterInfo
 
class  TAPDriverVersion
 
struct  TapNameGuidPair
 
struct  TapNameGuidPairList
 

Typedefs

using TapGuidLuid = std::pair< std::string, DWORD >
 

Functions

 OPENVPN_EXCEPTION (tun_win_util)
 
std::vector< TapGuidLuidtap_guids (const Type tun_type)
 
std::string tap_path (const TapNameGuidPair &tap)
 
HANDLE tap_open (const Type tun_type, const TapNameGuidPairList &guids, std::string &path_opened, TapNameGuidPair &used)
 
void tap_configure_topology_subnet (HANDLE th, const IP::Addr &local, const unsigned int prefix_len)
 
void tap_configure_topology_net30 (HANDLE th, const IP::Addr &local_addr, const IP::Addr &remote_addr)
 
void tap_set_media_status (HANDLE th, bool media_status)
 
void tap_process_logging (HANDLE th)
 
void dhcp_release (const InterfaceInfoList &ii, const DWORD adapter_index, std::ostream &os)
 
void dhcp_renew (const InterfaceInfoList &ii, const DWORD adapter_index, std::ostream &os)
 
void flush_arp (const DWORD adapter_index, std::ostream &os)
 
const MIB_IPFORWARDTABLE * windows_routing_table ()
 
const MIB_IPFORWARD_TABLE2 * windows_routing_table2 (ADDRESS_FAMILY af)
 

Typedef Documentation

◆ TapGuidLuid

using openvpn::TunWin::Util::TapGuidLuid = typedef std::pair<std::string, DWORD>

Definition at line 94 of file tunutil.hpp.

Function Documentation

◆ dhcp_release()

void openvpn::TunWin::Util::dhcp_release ( const InterfaceInfoList ii,
const DWORD  adapter_index,
std::ostream &  os 
)
inline

Definition at line 706 of file tunutil.hpp.

Here is the caller graph for this function:

◆ dhcp_renew()

void openvpn::TunWin::Util::dhcp_renew ( const InterfaceInfoList ii,
const DWORD  adapter_index,
std::ostream &  os 
)
inline

Definition at line 721 of file tunutil.hpp.

Here is the caller graph for this function:

◆ flush_arp()

void openvpn::TunWin::Util::flush_arp ( const DWORD  adapter_index,
std::ostream &  os 
)
inline

Definition at line 736 of file tunutil.hpp.

Here is the caller graph for this function:

◆ OPENVPN_EXCEPTION()

openvpn::TunWin::Util::OPENVPN_EXCEPTION ( tun_win_util  )

◆ tap_configure_topology_net30()

void openvpn::TunWin::Util::tap_configure_topology_net30 ( HANDLE  th,
const IP::Addr local_addr,
const IP::Addr remote_addr 
)
inline

Definition at line 614 of file tunutil.hpp.

Here is the caller graph for this function:

◆ tap_configure_topology_subnet()

void openvpn::TunWin::Util::tap_configure_topology_subnet ( HANDLE  th,
const IP::Addr local,
const unsigned int  prefix_len 
)
inline

Definition at line 589 of file tunutil.hpp.

Here is the caller graph for this function:

◆ tap_guids()

std::vector< TapGuidLuid > openvpn::TunWin::Util::tap_guids ( const Type  tun_type)
inline

Definition at line 98 of file tunutil.hpp.

Here is the caller graph for this function:

◆ tap_open()

HANDLE openvpn::TunWin::Util::tap_open ( const Type  tun_type,
const TapNameGuidPairList guids,
std::string &  path_opened,
TapNameGuidPair used 
)
inline

Definition at line 528 of file tunutil.hpp.

Here is the caller graph for this function:

◆ tap_path()

std::string openvpn::TunWin::Util::tap_path ( const TapNameGuidPair tap)
inline

Definition at line 522 of file tunutil.hpp.

Here is the caller graph for this function:

◆ tap_process_logging()

void openvpn::TunWin::Util::tap_process_logging ( HANDLE  th)
inline

Definition at line 657 of file tunutil.hpp.

Here is the caller graph for this function:

◆ tap_set_media_status()

void openvpn::TunWin::Util::tap_set_media_status ( HANDLE  th,
bool  media_status 
)
inline

Definition at line 638 of file tunutil.hpp.

Here is the caller graph for this function:

◆ windows_routing_table()

const MIB_IPFORWARDTABLE * openvpn::TunWin::Util::windows_routing_table ( )
inline

Definition at line 952 of file tunutil.hpp.

Here is the caller graph for this function:

◆ windows_routing_table2()

const MIB_IPFORWARD_TABLE2 * openvpn::TunWin::Util::windows_routing_table2 ( ADDRESS_FAMILY  af)
inline

Definition at line 974 of file tunutil.hpp.

Here is the caller graph for this function: