OpenVPN
Macros | Typedefs
common.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define counter_format   "%" PRIu64
 
#define BIG_TIMEOUT   (60*60*24*7) /* one week (in seconds) */
 
#define ptr_format   "0x%08lx"
 
#define fragment_header_format   "0x%08x"
 
#define CCD_DEFAULT   "DEFAULT"
 
#define TLS_CHANNEL_BUF_SIZE   2048
 
#define TLS_CHANNEL_MTU_MIN   154
 
#define PUSH_BUNDLE_SIZE   1024
 
#define PUSH_REQUEST_INTERVAL   5
 
#define SCRIPT_SECURITY_WARNING   "WARNING: External program may not be called unless '--script-security 2' or higher is enabled. See --help text or man page for detailed info."
 

Typedefs

typedef uint64_t counter_type
 
typedef int interval_t
 
typedef unsigned long ptr_type
 

Macro Definition Documentation

◆ BIG_TIMEOUT

#define BIG_TIMEOUT   (60*60*24*7) /* one week (in seconds) */

Definition at line 41 of file common.h.

◆ CCD_DEFAULT

#define CCD_DEFAULT   "DEFAULT"

Definition at line 62 of file common.h.

◆ counter_format

#define counter_format   "%" PRIu64

Definition at line 31 of file common.h.

◆ fragment_header_format

#define fragment_header_format   "0x%08x"

Definition at line 51 of file common.h.

◆ ptr_format

#define ptr_format   "0x%08lx"

Definition at line 49 of file common.h.

◆ PUSH_BUNDLE_SIZE

#define PUSH_BUNDLE_SIZE   1024

Definition at line 88 of file common.h.

◆ PUSH_REQUEST_INTERVAL

#define PUSH_REQUEST_INTERVAL   5

Definition at line 93 of file common.h.

◆ SCRIPT_SECURITY_WARNING

#define SCRIPT_SECURITY_WARNING   "WARNING: External program may not be called unless '--script-security 2' or higher is enabled. See --help text or man page for detailed info."

Definition at line 98 of file common.h.

◆ TLS_CHANNEL_BUF_SIZE

#define TLS_CHANNEL_BUF_SIZE   2048

Definition at line 69 of file common.h.

◆ TLS_CHANNEL_MTU_MIN

#define TLS_CHANNEL_MTU_MIN   154

Definition at line 82 of file common.h.

Typedef Documentation

◆ counter_type

typedef uint64_t counter_type

Definition at line 30 of file common.h.

◆ interval_t

typedef int interval_t

Definition at line 36 of file common.h.

◆ ptr_type

typedef unsigned long ptr_type

Definition at line 58 of file common.h.