summaryrefslogtreecommitdiff
path: root/ares_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares_private.h')
-rw-r--r--ares_private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ares_private.h b/ares_private.h
index 0df5cb7..6f86a3a 100644
--- a/ares_private.h
+++ b/ares_private.h
@@ -257,6 +257,13 @@ struct ares_channeldata {
int nsort;
char *lookups;
+ /* For binding to local devices and/or IP addresses. Leave
+ * them null/zero for no binding.
+ */
+ char local_dev_name[32];
+ uint32_t local_ip4;
+ unsigned char local_ip6[16];
+
int optmask; /* the option bitfield passed in at init time */
/* Server addresses and communications state */