Lines Matching refs:query

53  * already in the table. If so, the IP is returned. If not, a query is 
145 /** DNS query message structure.
148 /* DNS query record starts with either a domain name or a pointer
178 /* pointer to callback on DNS query done */
440 * hostnames, it does not send out a query for the hostname if none
441 * was found. The function dns_enqueue() can be used to send a query
483 * Compare the "dotted" name "query" with the encoded name "response"
488 * @param query hostname (not encoded) from the dns_table
493 dns_compare_name(unsigned char *query, unsigned char *response)
506 if ((*query) != (*response)) {
510 ++query;
513 ++query;
524 * @param query encoded DNS name in the DNS server response
528 dns_parse_name(unsigned char *query)
533 n = *query++;
541 ++query;
545 } while (*query != 0);
547 return query + 1;
551 * Send a DNS query packet.
554 * @param name hostname to query
556 * DNS query packet
566 char *query, *nptr;
575 /* if here, we have either a new query or a retry on a previous query to process */
586 query = (char*)hdr + SIZEOF_DNS_HDR;
590 /* convert hostname into suitable query format. */
593 nptr = query;
594 ++query;
596 *query = *pHostname;
597 ++query;
602 *query++='\0';
604 /* fill dns query */
607 SMEMCPY(query, &qry, SIZEOF_DNS_QUERY);
609 /* resize pbuf to the exact dns query */
610 pbuf_realloc(p, (u16_t)((query + SIZEOF_DNS_QUERY) - ((char*)(p->payload))));
627 * dns_check_entry() - see if pEntry has not yet been queried and, if so, sends out a query.
629 * - send out query for new entries
788 LWIP_DEBUGF(DNS_DEBUG, ("dns_recv: \"%s\": response not match to query\n", pEntry->name));
852 * Queues a new hostname to resolve and sends out a DNS query for that hostname
909 /* force to send query without waiting timer */
912 /* dns query is enqueued */
966 /* queue query with specified callback */