OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TimeSkew Struct Reference

#include <skew.hpp>

Public Types

enum  {
  PCT_50 = 0 , PCT_25 = 1 , PCT_12_5 = 2 , PCT_6_25 = 3 ,
  PCT_3_125 = 4 , PCT_1_5625 = 5
}
 

Static Public Member Functions

static Time::Duration skew (const Time::Duration &dur, const unsigned int factor, RandomAPI &prng)
 

Detailed Description

Definition at line 21 of file skew.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PCT_50 
PCT_25 
PCT_12_5 
PCT_6_25 
PCT_3_125 
PCT_1_5625 

Definition at line 25 of file skew.hpp.

Member Function Documentation

◆ skew()

static Time::Duration openvpn::TimeSkew::skew ( const Time::Duration &  dur,
const unsigned int  factor,
RandomAPI prng 
)
inlinestatic

Definition at line 36 of file skew.hpp.

Here is the caller graph for this function:

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