亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? openvpn.h

?? OpenVPN is a robust and highly flexible tunneling application that uses all of the encryption, authe
?? H
字號:
/* *  OpenVPN -- An application to securely tunnel IP networks *             over a single TCP/UDP port, with support for SSL/TLS-based *             session authentication and key exchange, *             packet encryption, packet authentication, and *             packet compression. * *  Copyright (C) 2002-2004 James Yonan <jim@yonan.net> * *  This program is free software; you can redistribute it and/or modify *  it under the terms of the GNU General Public License as published by *  the Free Software Foundation; either version 2 of the License, or *  (at your option) any later version. * *  This program is distributed in the hope that it will be useful, *  but WITHOUT ANY WARRANTY; without even the implied warranty of *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *  GNU General Public License for more details. * *  You should have received a copy of the GNU General Public License *  along with this program (see the file COPYING included with this *  distribution); if not, write to the Free Software Foundation, Inc., *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */#ifndef OPENVPN_H#define OPENVPN_H#include "buffer.h"#include "options.h"#include "socket.h"#include "crypto.h"#include "ssl.h"#include "packet_id.h"#include "lzo.h"#include "tun.h"#include "interval.h"#include "status.h"#include "fragment.h"#include "route.h"#include "proxy.h"#include "socks.h"#include "sig.h"#include "misc.h"/* * Our global key schedules, packaged thusly * to facilitate --persist-key. */struct key_schedule{#ifdef USE_CRYPTO  /* which cipher, HMAC digest, and key sizes are we using? */  struct key_type key_type;  /* pre-shared static key, read from a file */  struct key_ctx_bi static_key;#ifdef USE_SSL  /* our global SSL context */  SSL_CTX *ssl_ctx;  /* optional authentication HMAC key for TLS control channel */  struct key_ctx_bi tls_auth_key;#endif				/* USE_SSL */#else				/* USE_CRYPTO */  int dummy;#endif				/* USE_CRYPTO */};/* * struct packet_id_persist should be empty if we are not * building with crypto. */#ifndef PACKET_ID_Hstruct packet_id_persist{  int dummy;};static inline voidpacket_id_persist_init (struct packet_id_persist *p){}#endif/* * Packet processing buffers. */struct context_buffers{  /* miscellaneous buffer, used by ping, occ, etc. */  struct buffer aux_buf;  /* workspace buffers used by crypto routines */#ifdef USE_CRYPTO  struct buffer encrypt_buf;  struct buffer decrypt_buf;#endif  /* workspace buffers for LZO compression */#ifdef USE_LZO  struct buffer lzo_compress_buf;  struct buffer lzo_decompress_buf;#endif  /*   * Buffers used to read from TUN device   * and TCP/UDP port.   */  struct buffer read_link_buf;  struct buffer read_tun_buf;};/* * Contains the persist-across-restart OpenVPN tunnel instance state. * Reset only for SIGHUP restarts. */struct context_1{  struct link_socket_addr link_socket_addr;  struct key_schedule ks;  struct packet_id_persist pid_persist;  struct remote_list *remote_list;  struct tuntap *tuntap;  bool tuntap_owned;  struct route_list *route_list;  struct status_output *status_output;  bool status_output_owned;  struct http_proxy_info *http_proxy;  struct socks_proxy_info *socks_proxy;};/* * Contains the OpenVPN tunnel instance state, wiped across * SIGUSR1 and SIGHUP restarts. */struct context_2{  /* garbage collection arena for context_2 scope */  struct gc_arena gc;  /* our global wait events */  struct event_set *event_set;  int event_set_max;  bool event_set_owned;# define SOCKET_READ   (1<<0)# define SOCKET_WRITE  (1<<1)# define TUN_READ      (1<<2)# define TUN_WRITE     (1<<3)# define ES_ERROR      (1<<4)# define ES_TIMEOUT    (1<<6)  unsigned int event_set_status;#if PASSTOS_CAPABILITY  /* used to get/set TOS. */  uint8_t ptos;  bool ptos_defined;#endif  struct link_socket *link_socket;	 /* socket used for TCP/UDP connection to remote */  bool link_socket_owned;  struct link_socket_info *link_socket_info;  const struct link_socket *accept_from; /* possibly do accept() on a parent link_socket */  struct sockaddr_in to_link_addr;	 /* IP address of remote */  struct sockaddr_in from;               /* address of incoming datagram */  /* MTU frame parameters */  struct frame frame;  /* Object to handle advanced MTU negotiation and datagram fragmentation */  struct fragment_master *fragment;  struct frame frame_fragment;  struct frame frame_fragment_omit;#ifdef HAVE_GETTIMEOFDAY  /*   * Traffic shaper object.   */  struct shaper shaper;#endif  /*   * Statistics   */  counter_type tun_read_bytes;  counter_type tun_write_bytes;  counter_type link_read_bytes;  counter_type link_read_bytes_auth;  counter_type link_write_bytes;  /*   * Timer objects for ping and inactivity   * timeout features.   */  struct event_timeout wait_for_connect;  struct event_timeout inactivity_interval;  struct event_timeout ping_send_interval;  struct event_timeout ping_rec_interval;  /* the option strings must match across peers */  char *options_string_local;  char *options_string_remote;  int occ_op;			/* INIT to -1 */  int occ_n_tries;  struct event_timeout occ_interval;  /*   * Keep track of maximum packet size received so far   * (of authenticated packets).   */  int original_recv_size;	/* temporary */  int max_recv_size_local;	/* max packet size received */  int max_recv_size_remote;	/* max packet size received by remote */  int max_send_size_local;	/* max packet size sent */  int max_send_size_remote;	/* max packet size sent by remote */  /* remote wants us to send back a load test packet of this size */  int occ_mtu_load_size;  struct event_timeout occ_mtu_load_test_interval;  int occ_mtu_load_n_tries;#ifdef USE_CRYPTO  /*   * TLS-mode crypto objects.   */#ifdef USE_SSL  /* master OpenVPN SSL/TLS object */  struct tls_multi *tls_multi;  /* check --tls-auth signature without needing     a full-size tls_multi object */  struct tls_auth_standalone *tls_auth_standalone;  /* used to optimize calls to tls_multi_process */  struct interval tmp_int;#endif /* USE_SSL */  /* passed to encrypt or decrypt, contains all     crypto-related command line options related     to data channel encryption/decryption */  struct crypto_options crypto_options;  /* used to keep track of data channel packet sequence numbers */  struct packet_id packet_id;  struct event_timeout packet_id_persist_interval;#endif /* USE_CRYPTO */  /*   * LZO compression library workspace.   */#ifdef USE_LZO  struct lzo_compress_workspace lzo_compwork;#endif  /*   * Buffers used for packet processing.   */  struct context_buffers *buffers;  bool buffers_owned; /* if true, we should free all buffers on close */  /*   * These buffers don't actually allocate storage, they are used   * as pointers to the allocated buffers in   * struct context_buffers.   */  struct buffer buf;  struct buffer to_tun;  struct buffer to_link;  /*   * IPv4 TUN device?   */  bool ipv4_tun;  /* workspace for get_pid_file/write_pid */  struct pid_state pid_state;  /* workspace for --user/--group */  struct user_state user_state;  struct group_state group_state;  /* temporary variable */  bool did_we_daemonize;  /* should we print R|W|r|w to console on packet transfers? */  bool log_rw;  /* route stuff */  struct event_timeout route_wakeup;  /* did we open tun/tap dev during this cycle? */  bool did_open_tun;  /*   * Event loop info   */  /* how long to wait on link/tun read before we will need to be serviced */  struct timeval timeval;  /* next wakeup for processing coarse timers (>1 sec resolution) */  time_t coarse_timer_wakeup;  /* maintain a random delta to add to timeouts to avoid contexts     waking up simultaneously */  time_t update_timeout_random_component;  struct timeval timeout_random_component;  /* indicates that the do_up_delay function has run */  bool do_up_ran;#if P2MP  /* --ifconfig endpoints to be pushed to client */  bool push_reply_deferred;  bool push_ifconfig_defined;  in_addr_t push_ifconfig_local;  in_addr_t push_ifconfig_remote_netmask;  struct event_timeout push_request_interval;#endif};/* * Contains all state information for one tunnel. */struct context{  /* command line or config file options */  struct options options;  /* true on initial VPN iteration */  bool first_time;  /* used by multi-client code to lock the context */  //MUTEX_DEFINE (mutex);  /* context modes */# define CM_P2P         0 /* standalone point-to-point session */# define CM_TOP         1 /* top level of a multi-client or point-to-multipoint server */# define CM_THREAD      2 /* clone of a CM_TOP context for one thread */# define CM_CHILD_UDP   3 /* child context of a CM_TOP or CM_THREAD */# define CM_CHILD_TCP   4 /* child context of a CM_TOP or CM_THREAD */  int mode;  /* garbage collection for context scope     allocations */  struct gc_arena gc;  /* signal info */  struct signal_info *sig;  /* level 1 context is preserved for     SIGUSR1 restarts, but initialized     for SIGHUP restarts */  struct context_1 c1;  /* level 2 context is initialized for all     restarts (SIGUSR1 and SIGHUP) */  struct context_2 c2;};/* * Macros for referencing objects which may not * have been compiled in. */#if defined(USE_CRYPTO) && defined(USE_SSL)#define TLS_MODE (c->c2.tls_multi != NULL)#define PROTO_DUMP_FLAGS (check_debug_level (D_LINK_RW_VERBOSE) ? (PD_SHOW_DATA|PD_VERBOSE) : 0)#define PROTO_DUMP(buf, gc) protocol_dump((buf), \				      PROTO_DUMP_FLAGS | \				      (c->c2.tls_multi ? PD_TLS : 0) | \				      (c->options.tls_auth_file ? c->c1.ks.key_type.hmac_length : 0), \				      gc)#else#define TLS_MODE (false)#define PROTO_DUMP(buf, gc) format_hex (BPTR (buf), BLEN (buf), 80, gc)#endif#ifdef USE_CRYPTO#define MD5SUM(buf, len, gc) md5sum((buf), (len), 0, (gc))#else#define MD5SUM(buf, len, gc) "[unavailable]"#endif#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美日韩一区二区三区| 一区二区三区蜜桃网| 欧美日韩精品高清| 日本高清无吗v一区| 99久久精品国产观看| 成人影视亚洲图片在线| 成人av电影在线网| 成人爱爱电影网址| 97久久精品人人做人人爽| 成人性生交大片免费| 91丝袜国产在线播放| 色综合亚洲欧洲| 欧洲国内综合视频| 欧美美女激情18p| 51精品国自产在线| 日韩精品一区国产麻豆| 久久这里都是精品| 国产天堂亚洲国产碰碰| 综合婷婷亚洲小说| 亚洲欧洲综合另类在线| 视频一区二区三区入口| 韩国在线一区二区| 99精品一区二区三区| 欧美在线一区二区三区| 在线观看一区二区精品视频| 日韩亚洲电影在线| 日本一区二区三区四区| 中文字幕综合网| 性久久久久久久久| 国产一区二区导航在线播放| 91在线一区二区| 欧美日韩在线电影| 久久久久久久电影| 综合色中文字幕| 天天综合日日夜夜精品| 国产成人自拍高清视频在线免费播放| 99精品1区2区| 91精品免费观看| 中文在线资源观看网站视频免费不卡 | 欧美国产丝袜视频| 亚洲欧美在线另类| 亚洲免费观看高清在线观看| 日本成人超碰在线观看| av在线综合网| 精品少妇一区二区三区视频免付费| 中文av一区特黄| 日韩av网站免费在线| 成人综合在线网站| 精品久久一区二区| 亚洲午夜一区二区| 成人激情免费视频| 欧美成人一区二区三区在线观看 | 欧美日韩视频在线观看一区二区三区 | 一本久道久久综合中文字幕| 一本久道久久综合中文字幕| 日韩精品中午字幕| 亚洲成人在线免费| 91性感美女视频| 久久九九全国免费| 精品写真视频在线观看| 538prom精品视频线放| 亚洲日本一区二区| 成人av综合在线| 久久久久久久电影| 国产精一区二区三区| 日韩一二三区不卡| 奇米一区二区三区av| 欧美精品1区2区3区| 亚洲视频每日更新| 99热在这里有精品免费| 最新欧美精品一区二区三区| 国产麻豆视频一区| 精品久久国产字幕高潮| 久久精品免费看| 欧美一区二区精品| 日本特黄久久久高潮 | 天堂蜜桃一区二区三区| 91福利国产精品| 亚洲精品中文字幕乱码三区| 91在线免费视频观看| 国产精品久久久久久久第一福利 | 91精品国产91久久久久久一区二区| 亚洲女人****多毛耸耸8| 不卡的av在线播放| 国产精品传媒入口麻豆| av亚洲精华国产精华精华 | 色婷婷久久一区二区三区麻豆| 日韩一区精品字幕| 91精品国产综合久久久久久久 | 欧美成人三级在线| 国产一区二区视频在线| 国产日韩成人精品| 97se亚洲国产综合自在线不卡 | 欧美日韩你懂得| 奇米色一区二区三区四区| 精品sm捆绑视频| 成人免费视频视频| 一级做a爱片久久| 欧美三电影在线| 麻豆精品视频在线观看| 国产欧美日韩中文久久| 99精品视频在线播放观看| 一级精品视频在线观看宜春院| 欧美日韩1234| 国产一区二区精品久久| ㊣最新国产の精品bt伙计久久| 在线不卡一区二区| 国产精品一色哟哟哟| 一区二区欧美精品| 26uuu亚洲综合色欧美| 成人高清伦理免费影院在线观看| 亚洲激情成人在线| 精品日韩成人av| 99久久国产综合精品麻豆| 天堂久久久久va久久久久| 久久久99精品久久| av一区二区三区黑人| 欧美成人一区二区三区在线观看| 国产精品私人自拍| 欧美videossexotv100| 开心九九激情九九欧美日韩精美视频电影 | 九九**精品视频免费播放| 久久精品人人做人人爽97| 91成人免费网站| 国产一区二区按摩在线观看| 亚洲最新视频在线观看| 国产亚洲一区字幕| 91国偷自产一区二区开放时间| 久久99精品国产麻豆不卡| 亚洲精品日韩一| 国产日韩欧美在线一区| 日韩一级黄色片| 欧美日产在线观看| 色噜噜狠狠色综合欧洲selulu| 国模套图日韩精品一区二区| 亚洲成av人片一区二区梦乃| 亚洲日穴在线视频| 国产精品视频九色porn| 日韩免费一区二区三区在线播放| 欧美午夜免费电影| 91免费观看国产| 9人人澡人人爽人人精品| 国产精品正在播放| 免费在线观看日韩欧美| 午夜av一区二区| 午夜婷婷国产麻豆精品| 一区二区三区在线视频播放 | 97国产精品videossex| 国产精品中文有码| 国产一区二区在线观看视频| 免费一级欧美片在线观看| 日韩和欧美的一区| 午夜日韩在线电影| 偷拍一区二区三区| 日韩av一区二区三区| 青青草伊人久久| 九九视频精品免费| 激情综合一区二区三区| 国产在线精品一区二区不卡了| 蜜臀av一级做a爰片久久| 蜜臀av一级做a爰片久久| 久久精品二区亚洲w码| 久久精品国产秦先生| 久久99久久精品| 国产一区二区三区四区在线观看| 久久99热狠狠色一区二区| 精品一区二区三区的国产在线播放| 蜜桃视频在线观看一区二区| 精品一区二区三区日韩| 国产一区二区三区电影在线观看 | 亚洲电影一级黄| 首页亚洲欧美制服丝腿| 麻豆精品一区二区| 成人免费不卡视频| 91黄色免费网站| 日韩一级黄色片| 一区二区三区成人| 日韩不卡一区二区| 国产精品小仙女| 91在线一区二区| 欧美精选午夜久久久乱码6080| 欧美精品久久一区二区三区| 欧美xxxxxxxx| 亚洲欧美日韩精品久久久久| 亚洲一区二区三区四区中文字幕 | 国产人伦精品一区二区| 亚洲男人的天堂av| 久久国产夜色精品鲁鲁99| 国产91对白在线观看九色| 欧美私模裸体表演在线观看| 精品欧美乱码久久久久久1区2区| 国产网站一区二区| 亚洲h精品动漫在线观看| 韩国中文字幕2020精品| 91黄色免费版| 久久九九久久九九| 三级在线观看一区二区| 波波电影院一区二区三区| 日韩一区二区三区在线| 亚洲精品久久7777|