Searched refs:ans (Results 1 – 1 of 1) sorted by relevance
738 struct dns_answer ans; in dns_recv() local802 SMEMCPY(&ans, pHostname, SIZEOF_DNS_ANSWER); in dns_recv()803 if((ans.type == PP_HTONS(DNS_RRTYPE_A)) && (ans.cls == PP_HTONS(DNS_RRCLASS_IN)) && in dns_recv()804 (ans.len == PP_HTONS(sizeof(ip_addr_t))) ) { in dns_recv()806 pEntry->ttl = ntohl(ans.ttl); in dns_recv()822 pHostname = pHostname + SIZEOF_DNS_ANSWER + htons(ans.len); in dns_recv()
Completed in 4 milliseconds