diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-02-17 07:43:32 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-02-17 07:43:32 +0000 |
commit | dc46c0676fa55e6953b97ad8f5b7df33c31cdcfc (patch) | |
tree | 163157aa18e8f7ac5e0bf7beb93f54872e830be0 /socket.h | |
parent | Version 2.1_beta9 released (diff) | |
download | openvpn-dc46c0676fa55e6953b97ad8f5b7df33c31cdcfc.tar.xz |
Version 2.1_beta10 released
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@899 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | socket.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -207,6 +207,7 @@ struct link_socket # define SF_USE_IP_PKTINFO (1<<0) # define SF_TCP_NODELAY (1<<1) +# define SF_PORT_SHARE (1<<2) unsigned int sockflags; /* for stream sockets */ @@ -658,7 +659,11 @@ link_socket_set_outgoing_addr (const struct buffer *buf, * such as TCP. */ -void stream_buf_init (struct stream_buf *sb, struct buffer *buf); +void stream_buf_init (struct stream_buf *sb, + struct buffer *buf, + const unsigned int sockflags, + const int proto); + void stream_buf_close (struct stream_buf* sb); bool stream_buf_added (struct stream_buf *sb, int length_added); |