diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-08-22 18:29:20 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-08-22 18:29:20 +0000 |
commit | 8e9666d57550398eabd619b34d90ec69d69eb218 (patch) | |
tree | 9b4e7f4693a085cafc910534844434aac8ba104e /socket.h | |
parent | Fixed ifconfig command for "topology subnet" on FreeBSD (Stefan Bethke). (diff) | |
download | openvpn-8e9666d57550398eabd619b34d90ec69d69eb218.tar.xz |
Added --remote-random-hostname option.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4843 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'socket.h')
-rw-r--r-- | socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |