diff options
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, |