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   "%u"
 
#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 PUSH_BUNDLE_SIZE   1024
 
#define PUSH_REQUEST_INTERVAL   5
 
#define INLINE_FILE_TAG   "[[INLINE]]"
 
#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 unsigned int 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) */

◆ CCD_DEFAULT

#define CCD_DEFAULT   "DEFAULT"

Definition at line 71 of file common.h.

Referenced by multi_connection_established(), and verify_final_auth_checks().

◆ counter_format

#define counter_format   "%u"

◆ fragment_header_format

#define fragment_header_format   "0x%08x"

Definition at line 60 of file common.h.

Referenced by fragment_incoming(), and fragment_prepend_flags().

◆ INLINE_FILE_TAG

#define INLINE_FILE_TAG   "[[INLINE]]"

◆ ptr_format

#define ptr_format   "0x%08lx"

◆ PUSH_BUNDLE_SIZE

#define PUSH_BUNDLE_SIZE   1024

Definition at line 84 of file common.h.

Referenced by send_auth_failed(), and send_push_reply().

◆ PUSH_REQUEST_INTERVAL

#define PUSH_REQUEST_INTERVAL   5

Definition at line 89 of file common.h.

Referenced by check_push_request_dowork(), and send_push_request().

◆ 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 100 of file common.h.

Referenced by openvpn_execve(), openvpn_execve_allowed(), and openvpn_popen().

◆ TLS_CHANNEL_BUF_SIZE

#define TLS_CHANNEL_BUF_SIZE   2048

Definition at line 78 of file common.h.

Referenced by key_state_init(), and tls_process().

Typedef Documentation

◆ counter_type

typedef unsigned int counter_type

Definition at line 38 of file common.h.

◆ interval_t

typedef int interval_t

Definition at line 45 of file common.h.

◆ ptr_type

typedef unsigned long ptr_type

Definition at line 67 of file common.h.