OpenVPN
|
Go to the source code of this file.
Functions | |
void | trigger_ping_timeout_signal (struct context *c) |
Trigger the correct signal on a –ping timeout depending if –ping-exit is set (SIGTERM) or not (SIGUSR1) More... | |
void | check_ping_send_dowork (struct context *c) |
Variables | |
const uint8_t | ping_string [] |
void check_ping_send_dowork | ( | struct context * | c | ) |
Definition at line 75 of file ping.c.
References ASSERT, context_buffers::aux_buf, frame::buf, context_2::buf, buf_init, buf_safe(), buf_write(), context_2::buffers, context::c2, D_PING, dmsg, encrypt_sign(), context_2::frame, frame::headroom, buffer::len, frame::payload_size, and ping_string.
Referenced by check_ping_send().
void trigger_ping_timeout_signal | ( | struct context * | c | ) |
Trigger the correct signal on a –ping timeout depending if –ping-exit is set (SIGTERM) or not (SIGUSR1)
Definition at line 48 of file ping.c.
References ASSERT, format_common_name(), gc_free(), gc_new(), M_INFO, msg, context::options, PING_EXIT, options::ping_rec_timeout_action, PING_RESTART, register_signal(), and context::sig.
Referenced by check_ping_restart(), process_incoming_dco(), and read_incoming_link().
const uint8_t ping_string[] |
Definition at line 42 of file ping.c.
Referenced by check_ping_send_dowork(), and is_ping_msg().