summaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-12 15:26:59 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-12 15:26:59 +0000
commit00d391705c713b06b2c80f0b36724f9bb4d806ae (patch)
tree752a60d22cf9fd892f8780126a3b51ca091543d5 /options.h
parent20006b8e622ca4d4ca7dc6f316d9b2d948ca3687 (diff)
downloadopenvpn-00d391705c713b06b2c80f0b36724f9bb4d806ae.tar.gz
openvpn-00d391705c713b06b2c80f0b36724f9bb4d806ae.tar.xz
openvpn-00d391705c713b06b2c80f0b36724f9bb4d806ae.zip
version 2.1_beta2
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@601 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'options.h')
-rw-r--r--options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/options.h b/options.h
index 7c1ae02..c4d21ab 100644
--- a/options.h
+++ b/options.h
@@ -233,6 +233,9 @@ struct options
int rcvbuf;
int sndbuf;
+ /* socket flags */
+ unsigned int sockflags;
+
/* route management */
const char *route_script;
const char *route_default_gateway;
@@ -448,6 +451,8 @@ struct options
#define OPT_P_ROUTE_EXTRAS (1<<22)
#define OPT_P_PULL_MODE (1<<23)
#define OPT_P_PLUGIN (1<<24)
+#define OPT_P_SOCKBUF (1<<25)
+#define OPT_P_SOCKFLAGS (1<<26)
#define OPT_P_DEFAULT (~(OPT_P_INSTANCE|OPT_P_PULL_MODE))