* Get a socket of the specified address family to send out a
* UDP DNS request to the Internet.
*
+ * @param ctx the DNSSTUB context
* @param af desired address family
* @return NULL on error (given AF not "supported")
*/
* lookup
*
* @param cls closure
- * @param rd_count number of records
- * @param rd the records in reply
+ * @param rs the request socket
+ * @param dns the DNS udp payload
+ * @param r size of the DNS payload
*/
static void
dns_result_processor (void *cls,
*/
/**
- * @file gns/gns_records.h
+ * @file gns/gns_protocol.h
* @brief Resource Record definitions
* @author Martin Schanzenbach
*/
* Perform DNS resolution using given address.
*
* @param ctx stub resolver to use
- * @param af address family to use
+ * @param sa the socket address
+ * @param sa_len the socket length
* @param request DNS request to transmit
* @param request_len number of bytes in msg
* @param rc function to call with result