OpenVPN
|
#include <socket.h>
Data Fields | |
struct link_socket_info | info |
socket_descriptor_t | sd |
socket_descriptor_t | ctrl_sd |
struct overlapped_io | reads |
struct overlapped_io | writes |
struct rw_handle | rw_handle |
struct rw_handle | listen_handle |
unsigned int | rwflags_debug |
bool | listen_persistent_queued |
const char * | remote_host |
const char * | remote_port |
const char * | local_host |
const char * | local_port |
struct cached_dns_entry * | dns_cache |
bool | bind_local |
int | mode |
int | resolve_retry_seconds |
int | mtu_discover_type |
struct socket_buffer_size | socket_buffer_sizes |
int | mtu |
unsigned int | sockflags |
int | mark |
const char * | bind_dev |
struct stream_buf | stream_buf |
struct buffer | stream_buf_data |
bool | stream_reset |
struct http_proxy_info * | http_proxy |
struct socks_proxy_info * | socks_proxy |
struct link_socket_actual | socks_relay |
const char * | proxy_dest_host |
const char * | proxy_dest_port |
struct event_timeout * | server_poll_timeout |
const char* link_socket::bind_dev |
Definition at line 212 of file socket.h.
Referenced by create_socket(), and link_socket_init_phase1().
bool link_socket::bind_local |
Definition at line 190 of file socket.h.
Referenced by bind_local(), create_socket_dco_win(), link_socket_init_phase1(), link_socket_init_phase2(), and linksock_print_addr().
socket_descriptor_t link_socket::ctrl_sd |
Definition at line 170 of file socket.h.
Referenced by bind_local(), create_socket(), link_socket_close(), link_socket_new(), and phase2_socks_client().
struct cached_dns_entry* link_socket::dns_cache |
Definition at line 189 of file socket.h.
Referenced by link_socket_init_phase1(), resolve_bind_local(), and resolve_remote().
struct http_proxy_info* link_socket::http_proxy |
Definition at line 220 of file socket.h.
Referenced by link_socket_init_phase1(), and phase2_tcp_client().
struct link_socket_info link_socket::info |
Definition at line 167 of file socket.h.
Referenced by bind_local(), create_socket(), create_socket_dco_win(), do_open_tun(), get_link_socket_info(), inherit_context_child(), link_socket_connection_oriented(), link_socket_init_phase1(), link_socket_init_phase2(), link_socket_read(), link_socket_read_udp_win32(), link_socket_write(), linksock_print_addr(), multi_tcp_instance_specific_init(), phase2_set_socket_flags(), phase2_socks_client(), phase2_tcp_client(), phase2_tcp_server(), process_outgoing_link(), resolve_bind_local(), resolve_remote(), socket_frame_init(), socket_recv_queue(), socket_send_queue(), socks_postprocess_incoming_link(), socks_preprocess_outgoing_link(), and x_check_status().
struct rw_handle link_socket::listen_handle |
Definition at line 176 of file socket.h.
Referenced by link_socket_close(), socket_listen_event_handle(), and socket_reset_listen_persistent().
bool link_socket::listen_persistent_queued |
Definition at line 183 of file socket.h.
Referenced by socket_set_listen_persistent().
const char* link_socket::local_host |
Definition at line 187 of file socket.h.
Referenced by link_socket_init_phase1(), and resolve_bind_local().
const char* link_socket::local_port |
Definition at line 188 of file socket.h.
Referenced by link_socket_init_phase1(), and resolve_bind_local().
int link_socket::mark |
Definition at line 211 of file socket.h.
Referenced by create_socket(), and link_socket_init_phase1().
int link_socket::mode |
Definition at line 195 of file socket.h.
Referenced by link_socket_init_phase1(), linksock_print_addr(), multi_tcp_instance_specific_init(), and phase2_tcp_server().
int link_socket::mtu |
Definition at line 202 of file socket.h.
Referenced by frame_adjust_path_mtu(), and x_check_status().
int link_socket::mtu_discover_type |
Definition at line 198 of file socket.h.
Referenced by link_socket_init_phase1(), and phase2_set_socket_flags().
const char* link_socket::proxy_dest_host |
Definition at line 227 of file socket.h.
Referenced by link_socket_init_phase1(), phase2_socks_client(), and phase2_tcp_client().
const char* link_socket::proxy_dest_port |
Definition at line 228 of file socket.h.
Referenced by link_socket_init_phase1(), phase2_socks_client(), and phase2_tcp_client().
struct overlapped_io link_socket::reads |
Definition at line 173 of file socket.h.
Referenced by link_socket_close(), link_socket_read_tcp(), link_socket_read_udp_win32(), socket_frame_init(), socket_recv_queue(), and socket_stat().
const char* link_socket::remote_host |
Definition at line 185 of file socket.h.
Referenced by link_socket_init_phase1(), link_socket_init_phase2(), phase2_socks_client(), and resolve_remote().
const char* link_socket::remote_port |
Definition at line 186 of file socket.h.
Referenced by link_socket_init_phase1(), phase2_socks_client(), and resolve_remote().
int link_socket::resolve_retry_seconds |
Definition at line 197 of file socket.h.
Referenced by link_socket_init_phase1(), link_socket_init_phase2(), and resolve_remote().
struct rw_handle link_socket::rw_handle |
Definition at line 175 of file socket.h.
Referenced by socket_event_handle(), and socket_frame_init().
unsigned int link_socket::rwflags_debug |
Definition at line 180 of file socket.h.
Referenced by socket_set(), and socket_stat().
socket_descriptor_t link_socket::sd |
Definition at line 169 of file socket.h.
Referenced by bind_local(), create_socket(), create_socket_dco_win(), do_close_link_socket(), do_up(), initialization_sequence_completed(), link_socket_close(), link_socket_init_phase1(), link_socket_init_phase2(), link_socket_new(), link_socket_read_tcp(), link_socket_read_udp_win32(), link_socket_update_buffer_sizes(), link_socket_update_flags(), link_socket_write_win32(), phase2_set_socket_flags(), phase2_socks_client(), phase2_tcp_client(), phase2_tcp_server(), socket_event_handle(), socket_listen_event_handle(), socket_recv_queue(), socket_reset_listen_persistent(), socket_send_queue(), and x_check_status().
struct event_timeout* link_socket::server_poll_timeout |
Definition at line 232 of file socket.h.
Referenced by create_socket_dco_win(), link_socket_init_phase1(), phase2_socks_client(), and phase2_tcp_client().
struct socket_buffer_size link_socket::socket_buffer_sizes |
Definition at line 200 of file socket.h.
Referenced by create_socket(), link_socket_init_phase1(), and link_socket_update_buffer_sizes().
unsigned int link_socket::sockflags |
Definition at line 210 of file socket.h.
Referenced by create_socket(), create_socket_dco_win(), link_socket_init_phase1(), link_socket_update_flags(), phase2_set_socket_flags(), resolve_remote(), socket_frame_init(), and socket_is_dco_win().
struct socks_proxy_info* link_socket::socks_proxy |
Definition at line 223 of file socket.h.
Referenced by bind_local(), create_socket(), link_socket_init_phase1(), link_socket_init_phase2(), phase2_socks_client(), phase2_tcp_client(), socks_postprocess_incoming_link(), and socks_preprocess_outgoing_link().
struct link_socket_actual link_socket::socks_relay |
Definition at line 224 of file socket.h.
Referenced by phase2_socks_client(), and socks_preprocess_outgoing_link().
struct stream_buf link_socket::stream_buf |
Definition at line 215 of file socket.h.
Referenced by link_socket_close(), link_socket_read_tcp(), phase2_tcp_client(), socket_connection_reset(), socket_frame_init(), socket_read_residual(), socket_recv_queue(), and stream_buf_read_setup_dowork().
struct buffer link_socket::stream_buf_data |
Definition at line 216 of file socket.h.
Referenced by link_socket_close(), and socket_frame_init().
bool link_socket::stream_reset |
Definition at line 217 of file socket.h.
Referenced by link_socket_read_tcp(), and socket_connection_reset().
struct overlapped_io link_socket::writes |
Definition at line 174 of file socket.h.
Referenced by link_socket_close(), link_socket_write_win32(), socket_frame_init(), socket_send_queue(), and socket_stat().