OpenVPN
link_socket Struct Reference

#include <socket.h>

Collaboration diagram for link_socket:

Data Fields

struct link_socket_info info
struct event_arg ev_arg
 this struct will store a pointer to either mi or link_socket, depending on the event type, to keep it accessible it's placed within the same struct it points to.
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

Detailed Description

Definition at line 155 of file socket.h.

Field Documentation

◆ bind_dev

const char* link_socket::bind_dev

Definition at line 209 of file socket.h.

Referenced by create_socket(), and link_socket_init_phase1().

◆ bind_local

bool link_socket::bind_local

◆ ctrl_sd

socket_descriptor_t link_socket::ctrl_sd

◆ dns_cache

struct cached_dns_entry* link_socket::dns_cache

Definition at line 184 of file socket.h.

Referenced by link_socket_init_phase1(), resolve_bind_local(), and resolve_remote().

◆ ev_arg

struct event_arg link_socket::ev_arg

this struct will store a pointer to either mi or link_socket, depending on the event type, to keep it accessible it's placed within the same struct it points to.

Definition at line 159 of file socket.h.

Referenced by link_socket_new(), multi_io_process_flags(), multi_io_set_global_rw_flags(), and multi_io_wait().

◆ http_proxy

struct http_proxy_info* link_socket::http_proxy

Definition at line 217 of file socket.h.

Referenced by link_socket_init_phase1(), and phase2_tcp_client().

◆ info

◆ listen_handle

struct rw_handle link_socket::listen_handle

◆ listen_persistent_queued

bool link_socket::listen_persistent_queued

Definition at line 178 of file socket.h.

Referenced by socket_set_listen_persistent().

◆ local_host

const char* link_socket::local_host

Definition at line 182 of file socket.h.

Referenced by link_socket_init_phase1(), and resolve_bind_local().

◆ local_port

const char* link_socket::local_port

Definition at line 183 of file socket.h.

Referenced by link_socket_init_phase1(), and resolve_bind_local().

◆ mark

int link_socket::mark

Definition at line 208 of file socket.h.

Referenced by create_socket(), and link_socket_init_phase1().

◆ mode

int link_socket::mode

◆ mtu

int link_socket::mtu

Definition at line 197 of file socket.h.

Referenced by frame_adjust_path_mtu(), and x_check_status().

◆ mtu_discover_type

int link_socket::mtu_discover_type

Definition at line 193 of file socket.h.

Referenced by link_socket_init_phase1(), and phase2_set_socket_flags().

◆ proxy_dest_host

const char* link_socket::proxy_dest_host

Definition at line 224 of file socket.h.

Referenced by link_socket_init_phase1(), phase2_socks_client(), and phase2_tcp_client().

◆ proxy_dest_port

const char* link_socket::proxy_dest_port

Definition at line 225 of file socket.h.

Referenced by link_socket_init_phase1(), phase2_socks_client(), and phase2_tcp_client().

◆ reads

◆ remote_host

const char* link_socket::remote_host

◆ remote_port

const char* link_socket::remote_port

Definition at line 181 of file socket.h.

Referenced by link_socket_init_phase1(), phase2_socks_client(), and resolve_remote().

◆ resolve_retry_seconds

int link_socket::resolve_retry_seconds

Definition at line 192 of file socket.h.

Referenced by link_socket_init_phase1(), and resolve_remote().

◆ rw_handle

struct rw_handle link_socket::rw_handle

Definition at line 170 of file socket.h.

Referenced by socket_event_handle(), and socket_frame_init().

◆ rwflags_debug

unsigned int link_socket::rwflags_debug

Definition at line 175 of file socket.h.

Referenced by socket_set(), and socket_stat().

◆ sd

◆ server_poll_timeout

struct event_timeout* link_socket::server_poll_timeout

◆ socket_buffer_sizes

struct socket_buffer_size link_socket::socket_buffer_sizes

◆ sockflags

◆ socks_proxy

◆ socks_relay

struct link_socket_actual link_socket::socks_relay

Definition at line 221 of file socket.h.

Referenced by phase2_socks_client(), and socks_preprocess_outgoing_link().

◆ stream_buf

◆ stream_buf_data

struct buffer link_socket::stream_buf_data

Definition at line 213 of file socket.h.

Referenced by link_socket_close(), and socket_frame_init().

◆ stream_reset

bool link_socket::stream_reset

Definition at line 214 of file socket.h.

Referenced by link_socket_read_tcp(), and socket_connection_reset().

◆ writes

struct overlapped_io link_socket::writes

The documentation for this struct was generated from the following file: