From dc46c0676fa55e6953b97ad8f5b7df33c31cdcfc Mon Sep 17 00:00:00 2001 From: james Date: Fri, 17 Feb 2006 07:43:32 +0000 Subject: Version 2.1_beta10 released git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@899 e7ae566f-a301-0410-adde-c780ea21d3b5 --- socket.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'socket.h') diff --git a/socket.h b/socket.h index 82b3626..f440659 100644 --- a/socket.h +++ b/socket.h @@ -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); -- cgit