OpenVPN 3 Core Library
Loading...
Searching...
No Matches
AddRoute Struct Referencefinal
Inheritance diagram for AddRoute:
[legend]
Collaboration diagram for AddRoute:
[legend]

Public Member Functions

 AddRoute ()
 
auto apply (TunBuilderCaptureModel &model) const -> void override
 
auto run (const TunBuilderCaptureModel &model, TunBuilderCapture &sut) const -> void override
 
auto show (std::ostream &os) const -> void override
 

Public Attributes

std::string address
 
unsigned char prefix_length {0}
 
int metric {-1}
 
std::string gateway
 
bool ipv6 {false}
 
bool net30 {false}
 

Detailed Description

Definition at line 1283 of file test_capture.cpp.

Constructor & Destructor Documentation

◆ AddRoute()

AddRoute::AddRoute ( )
inlineexplicit

Definition at line 1292 of file test_capture.cpp.

Member Function Documentation

◆ apply()

auto AddRoute::apply ( TunBuilderCaptureModel &  model) const -> void
inlineoverride

Definition at line 1297 of file test_capture.cpp.

◆ run()

auto AddRoute::run ( const TunBuilderCaptureModel &  model,
TunBuilderCapture sut 
) const -> void
inlineoverride

Definition at line 1307 of file test_capture.cpp.

◆ show()

auto AddRoute::show ( std::ostream &  os) const -> void
inlineoverride

Definition at line 1318 of file test_capture.cpp.

Member Data Documentation

◆ address

std::string AddRoute::address

Definition at line 1285 of file test_capture.cpp.

◆ gateway

std::string AddRoute::gateway

Definition at line 1288 of file test_capture.cpp.

◆ ipv6

bool AddRoute::ipv6 {false}

Definition at line 1289 of file test_capture.cpp.

◆ metric

int AddRoute::metric {-1}

Definition at line 1287 of file test_capture.cpp.

◆ net30

bool AddRoute::net30 {false}

Definition at line 1290 of file test_capture.cpp.

◆ prefix_length

unsigned char AddRoute::prefix_length {0}

Definition at line 1286 of file test_capture.cpp.


The documentation for this struct was generated from the following file: