OpenVPN
|
Go to the source code of this file.
Macros | |
#define | CONNECTION_ESTABLISHED(c) (get_link_socket_info(c)->connection_established) |
Functions | |
static void | check_tls (struct context *c) |
static void | check_tls_errors (struct context *c) |
static void | check_incoming_control_channel (struct context *c) |
static void | check_connection_established (struct context *c) |
static void | check_add_routes (struct context *c) |
static void | check_inactivity_timeout (struct context *c) |
static void | check_server_poll_timeout (struct context *c) |
static void | check_scheduled_exit (struct context *c) |
static void | check_status_file (struct context *c) |
static void | check_fragment (struct context *c) |
static void | check_push_request (struct context *c) |
static void | check_packet_id_persist_flush (struct context *c) |
static void | context_immediate_reschedule (struct context *c) |
static void | context_reschedule_sec (struct context *c, int sec) |
static struct link_socket_info * | get_link_socket_info (struct context *c) |
static void | register_activity (struct context *c, const int size) |
static unsigned int | p2p_iow_flags (const struct context *c) |
static void | io_wait (struct context *c, const unsigned int flags) |
#define CONNECTION_ESTABLISHED | ( | c | ) | (get_link_socket_info(c)->connection_established) |
Definition at line 333 of file forward-inline.h.
Referenced by check_connection_established_dowork(), check_send_occ_load_test_dowork(), and multi_process_post().
|
inlinestatic |
Definition at line 111 of file forward-inline.h.
References context::c2, check_add_routes_dowork(), ETT_DEFAULT, event_timeout_trigger(), context_2::route_wakeup, and context_2::timeval.
Referenced by process_coarse_timers().
|
inlinestatic |
Definition at line 97 of file forward-inline.h.
References context::c2, check_connection_established_dowork(), event_timeout_defined(), and context_2::wait_for_connect.
Referenced by process_coarse_timers().
|
inlinestatic |
Definition at line 190 of file forward-inline.h.
References context::c2, check_fragment_dowork(), and context_2::fragment.
Referenced by pre_select().
|
inlinestatic |
Definition at line 125 of file forward-inline.h.
References context::c2, check_inactivity_timeout_dowork(), ETT_DEFAULT, event_timeout_trigger(), context_2::inactivity_interval, options::inactivity_timeout, context::options, and context_2::timeval.
Referenced by process_coarse_timers().
|
inlinestatic |
Definition at line 80 of file forward-inline.h.
References context::c2, check_incoming_control_channel_dowork(), context_2::tls_multi, and tls_test_payload_len().
Referenced by pre_select().
|
inlinestatic |
Definition at line 223 of file forward-inline.h.
References context::c1, context::c2, ETT_DEFAULT, event_timeout_trigger(), packet_id_persist_enabled(), context_2::packet_id_persist_interval, packet_id_persist_save(), context_1::pid_persist, and context_2::timeval.
Referenced by process_coarse_timers().
|
inlinestatic |
Definition at line 207 of file forward-inline.h.
References context::c2, check_push_request_dowork(), ETT_DEFAULT, event_timeout_trigger(), context_2::push_request_interval, and context_2::timeval.
Referenced by process_coarse_timers().
|
inlinestatic |
Definition at line 154 of file forward-inline.h.
References context::c2, check_scheduled_exit_dowork(), ETT_DEFAULT, event_timeout_defined(), event_timeout_trigger(), context_2::scheduled_exit, and context_2::timeval.
Referenced by process_coarse_timers().
|
inlinestatic |
Definition at line 139 of file forward-inline.h.
References context::c2, options::ce, check_server_poll_timeout_dowork(), connection_entry::connect_timeout, ETT_DEFAULT, event_timeout_trigger(), context::options, context_2::server_poll_interval, and context_2::timeval.
Referenced by process_coarse_timers().
|
inlinestatic |
Definition at line 172 of file forward-inline.h.
References context::c1, context::c2, check_status_file_dowork(), context_1::status_output, status_trigger_tv(), and context_2::timeval.
Referenced by process_coarse_timers().
|
inlinestatic |
Definition at line 35 of file forward-inline.h.
References context::c2, check_tls_dowork(), and context_2::tls_multi.
Referenced by pre_select().
|
inlinestatic |
Definition at line 50 of file forward-inline.h.
References context::c2, check_tls_errors_co(), check_tls_errors_nco(), context_2::link_socket, link_socket_connection_oriented(), tls_multi::n_hard_errors, tls_multi::n_soft_errors, context_2::tls_exit_signal, and context_2::tls_multi.
Referenced by pre_select().
|
inlinestatic |
Definition at line 237 of file forward-inline.h.
References context::c2, and context_2::timeval.
Referenced by send_control_channel_string().
|
inlinestatic |
Definition at line 244 of file forward-inline.h.
References context::c2, and context_2::timeval.
Referenced by check_coarse_timers(), and check_tls_dowork().
|
static |
Definition at line 258 of file forward-inline.h.
References context::c2, link_socket::info, context_2::link_socket, and context_2::link_socket_info.
Referenced by check_fragment_dowork(), check_tls_dowork(), encrypt_sign(), initialization_sequence_completed(), multi_client_connect_setenv(), multi_client_disconnect_setenv(), multi_process_incoming_link(), and process_incoming_link().
|
inlinestatic |
Definition at line 308 of file forward-inline.h.
References context::c2, context_2::event_set_status, context_2::fast_io, io_wait_dowork(), IOW_MBUF, IOW_TO_LINK, IOW_TO_TUN, SOCKET_WRITE, and TUN_WRITE.
Referenced by multi_tcp_wait_lite(), tunnel_point_to_point(), and tunnel_server_udp_single_threaded().
|
inlinestatic |
Definition at line 289 of file forward-inline.h.
References context::c2, flags, IOW_CHECK_RESIDUAL, IOW_FRAG, IOW_READ, IOW_SHAPER, IOW_TO_LINK, IOW_TO_TUN, IOW_WAIT_SIGNAL, buffer::len, context_2::to_link, and context_2::to_tun.
Referenced by tunnel_point_to_point().
|
inlinestatic |
Definition at line 271 of file forward-inline.h.
References context::c2, event_timeout_reset(), context_2::inactivity_bytes, context_2::inactivity_interval, options::inactivity_minimum_bytes, options::inactivity_timeout, and context::options.
Referenced by multi_process_incoming_link(), process_outgoing_link(), and process_outgoing_tun().