From 8e9666d57550398eabd619b34d90ec69d69eb218 Mon Sep 17 00:00:00 2001 From: james Date: Sat, 22 Aug 2009 18:29:20 +0000 Subject: Added --remote-random-hostname option. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4843 e7ae566f-a301-0410-adde-c780ea21d3b5 --- socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'socket.h') diff --git a/socket.h b/socket.h index e412f03..6877e66 100644 --- a/socket.h +++ b/socket.h @@ -198,6 +198,7 @@ struct link_socket # define SF_USE_IP_PKTINFO (1<<0) # define SF_TCP_NODELAY (1<<1) # define SF_PORT_SHARE (1<<2) +# define SF_HOST_RANDOMIZE (1<<3) unsigned int sockflags; /* for stream sockets */ @@ -447,6 +448,7 @@ bool unix_socket_get_peer_uid_gid (const socket_descriptor_t sd, int *uid, int * #define GETADDR_MSG_VIRT_OUT (1<<6) #define GETADDR_TRY_ONCE (1<<7) #define GETADDR_UPDATE_MANAGEMENT_STATE (1<<8) +#define GETADDR_RANDOMIZE (1<<9) in_addr_t getaddr (unsigned int flags, const char *hostname, -- cgit v1.2.3