aboutsummaryrefslogtreecommitdiff
path: root/openvpn.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-09-26 07:40:02 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-09-26 07:40:02 +0000
commit3c7f2f553be4b3ba9412c1b3f64a258c469d78f4 (patch)
tree9d58836b0f1eade372de7ce15c41d6555d55ef21 /openvpn.h
parentThis is the start of the BETA21 branch. (diff)
downloadopenvpn-3c7f2f553be4b3ba9412c1b3f64a258c469d78f4.tar.xz
version 2.1_beta1
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@581 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--openvpn.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/openvpn.h b/openvpn.h
index 1ddcd59..5c93c8d 100644
--- a/openvpn.h
+++ b/openvpn.h
@@ -156,10 +156,6 @@ struct context_1
struct socks_proxy_info *socks_proxy;
#endif
- /* shared object plugins */
- struct plugin_list *plugins;
- bool plugins_owned;
-
#if P2MP
#if P2MP_SERVER
@@ -237,6 +233,12 @@ struct context_2
counter_type link_read_bytes;
counter_type link_read_bytes_auth;
counter_type link_write_bytes;
+#ifdef PACKET_TRUNCATION_CHECK
+ counter_type n_trunc_tun_read;
+ counter_type n_trunc_tun_write;
+ counter_type n_trunc_pre_encrypt;
+ counter_type n_trunc_post_decrypt;
+#endif
/*
* Timer objects for ping and inactivity
@@ -447,6 +449,10 @@ struct context
/* signal info */
struct signal_info *sig;
+ /* shared object plugins */
+ struct plugin_list *plugins;
+ bool plugins_owned;
+
/* level 1 context is preserved for
SIGUSR1 restarts, but initialized
for SIGHUP restarts */