OpenVPN
Macros | Functions | Variables
ping.h File Reference
#include "init.h"
#include "forward.h"
Include dependency graph for ping.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRE_PULL_INITIAL_PING_RESTART   120 /* in seconds */
 
#define PING_STRING_SIZE   16
 

Functions

static bool is_ping_msg (const struct buffer *buf)
 

Variables

const uint8_t ping_string []
 

Macro Definition Documentation

◆ PING_STRING_SIZE

#define PING_STRING_SIZE   16

Definition at line 38 of file ping.h.

Referenced by is_ping_msg().

◆ PRE_PULL_INITIAL_PING_RESTART

#define PRE_PULL_INITIAL_PING_RESTART   120 /* in seconds */

Definition at line 33 of file ping.h.

Referenced by update_options_ce_post().

Function Documentation

◆ is_ping_msg()

static bool is_ping_msg ( const struct buffer buf)
inlinestatic

Definition at line 41 of file ping.h.

References buf_string_match(), ping_string, and PING_STRING_SIZE.

Referenced by process_incoming_link_part2().

Variable Documentation

◆ ping_string

const uint8_t ping_string[]

Definition at line 45 of file ping.c.

Referenced by check_ping_send_dowork(), and is_ping_msg().