diff options
Diffstat (limited to 'src/slirp.h')
-rw-r--r-- | src/slirp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/slirp.h b/src/slirp.h index b4f46c8..6333031 100644 --- a/src/slirp.h +++ b/src/slirp.h @@ -231,11 +231,12 @@ struct Slirp { */ void if_start(Slirp *); -/* Get the address of the DNS server on the host side */ -int get_dns_addr(struct in_addr *pdns_addr); +/* Get the IPv4 address and port of the DNS server on the host side */ +int get_dns_addr(struct in_addr *pdns_addr, uint16_t *pdns_port); -/* Get the IPv6 address of the DNS server on the host side */ -int get_dns6_addr(struct in6_addr *pdns6_addr, uint32_t *scope_id); +/* Get the IPv6 address and port of the DNS server on the host side */ +int get_dns6_addr(struct in6_addr *pdns6_addr, uint16_t *pdns_port, + uint32_t *scope_id); /* ncsi.c */ |