Searched refs:ans (Results 1 - 2 of 2) sorted by relevance

/seL4-camkes-master/projects/lwip/src/apps/mdns/
H A Dmdns.c1621 struct mdns_answer ans; local
1625 res = mdns_read_answer(pkt, &ans);
1632 mdns_domain_debug_print(&ans.info.domain);
1633 LWIP_DEBUGF(MDNS_DEBUG, (" type %d class %d\n", ans.info.type, ans.info.klass));
1636 if (ans.info.type == DNS_RRTYPE_ANY || ans.info.klass == DNS_RRCLASS_ANY) {
1642 match = reply.host_replies & check_host(pkt->netif, &ans.info, &rev_v6);
1643 if (match && (ans.ttl > (mdns->dns_ttl / 2))) {
1648 if (ans
1800 struct mdns_answer ans; local
[all...]
/seL4-camkes-master/projects/lwip/src/core/
H A Ddns.c1176 struct dns_answer ans; local
1276 if (pbuf_copy_partial(p, &ans, SIZEOF_DNS_ANSWER, res_idx) != SIZEOF_DNS_ANSWER) {
1284 if (ans.cls == PP_HTONS(DNS_RRCLASS_IN)) {
1286 if ((ans.type == PP_HTONS(DNS_RRTYPE_A)) && (ans.len == PP_HTONS(sizeof(ip4_addr_t)))) {
1299 dns_correct_response(i, lwip_ntohl(ans.ttl));
1305 if ((ans.type == PP_HTONS(DNS_RRTYPE_AAAA)) && (ans.len == PP_HTONS(sizeof(ip6_addr_p_t)))) {
1319 dns_correct_response(i, lwip_ntohl(ans.ttl));
1326 if ((int)(res_idx + lwip_htons(ans
[all...]

Completed in 85 milliseconds