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

Public Member Functions

 AddAddress ()
 
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 1154 of file test_capture.cpp.

Constructor & Destructor Documentation

◆ AddAddress()

AddAddress::AddAddress ( )
inlineexplicit

Definition at line 1163 of file test_capture.cpp.

Member Function Documentation

◆ apply()

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

Definition at line 1168 of file test_capture.cpp.

◆ run()

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

Definition at line 1187 of file test_capture.cpp.

◆ show()

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

Definition at line 1219 of file test_capture.cpp.

Member Data Documentation

◆ address

std::string AddAddress::address

Definition at line 1156 of file test_capture.cpp.

◆ gateway

std::string AddAddress::gateway

Definition at line 1159 of file test_capture.cpp.

◆ ipv6

bool AddAddress::ipv6 {false}

Definition at line 1160 of file test_capture.cpp.

◆ metric

int AddAddress::metric {-1}

Definition at line 1158 of file test_capture.cpp.

◆ net30

bool AddAddress::net30 {false}

Definition at line 1161 of file test_capture.cpp.

◆ prefix_length

unsigned char AddAddress::prefix_length {0}

Definition at line 1157 of file test_capture.cpp.


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