OpenVPN
Data Fields
link_socket Struct Reference

#include <socket.h>

Collaboration diagram for link_socket:
Collaboration graph
[legend]

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_entrydns_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_infohttp_proxy
 
struct socks_proxy_infosocks_proxy
 
struct link_socket_actual socks_relay
 
const char * proxy_dest_host
 
const char * proxy_dest_port
 
struct event_timeoutserver_poll_timeout
 

Detailed Description

Definition at line 165 of file socket.h.

Field Documentation

◆ bind_dev

const char* link_socket::bind_dev

Definition at line 212 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 189 of file socket.h.

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

◆ http_proxy

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().

◆ info

struct link_socket_info link_socket::info

◆ listen_handle

struct rw_handle link_socket::listen_handle

◆ listen_persistent_queued

bool link_socket::listen_persistent_queued

Definition at line 183 of file socket.h.

Referenced by socket_set_listen_persistent().

◆ local_host

const char* link_socket::local_host

Definition at line 187 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 188 of file socket.h.

Referenced by link_socket_init_phase1(), and resolve_bind_local().

◆ mark

int link_socket::mark

Definition at line 211 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 202 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 198 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 227 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 228 of file socket.h.

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

◆ reads

struct overlapped_io link_socket::reads

◆ remote_host

const char* link_socket::remote_host

◆ remote_port

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().

◆ resolve_retry_seconds

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().

◆ rw_handle

struct rw_handle link_socket::rw_handle

Definition at line 175 of file socket.h.

Referenced by socket_event_handle(), and socket_frame_init().

◆ rwflags_debug

unsigned int link_socket::rwflags_debug

Definition at line 180 of file socket.h.

Referenced by socket_set(), and socket_stat().

◆ sd

socket_descriptor_t link_socket::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

unsigned int link_socket::sockflags

◆ socks_proxy

struct socks_proxy_info* link_socket::socks_proxy

◆ socks_relay

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().

◆ stream_buf

struct stream_buf link_socket::stream_buf

◆ stream_buf_data

struct buffer link_socket::stream_buf_data

Definition at line 216 of file socket.h.

Referenced by link_socket_close(), and socket_frame_init().

◆ stream_reset

bool link_socket::stream_reset

Definition at line 217 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: