aboutsummaryrefslogtreecommitdiff
path: root/slirp/libslirp.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-20 15:09:09 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-07-03 23:27:08 +0200
commit1d17654e762ed1e31bfb16915fd03499c03d2063 (patch)
treec39ce52e46973ad34720b2e7fb181e489c17614b /slirp/libslirp.h
parent972487b878dbdbdc9402208aace41c9573aa6c8b (diff)
slirp: Add dns6 resolution
This makes get_dns_addr address family-agnostic, thus allowing to add the IPv6 case. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'slirp/libslirp.h')
-rw-r--r--slirp/libslirp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index 127aa41d40..b0cfbc5b0f 100644
--- a/slirp/libslirp.h
+++ b/slirp/libslirp.h
@@ -7,6 +7,7 @@ struct Slirp;
typedef struct Slirp Slirp;
int get_dns_addr(struct in_addr *pdns_addr);
+int get_dns6_addr(struct in6_addr *pdns6_addr);
Slirp *slirp_init(int restricted, bool in_enabled, struct in_addr vnetwork,
struct in_addr vnetmask, struct in_addr vhost,