When a hostname has been resolved (or found to be non-existant), the resolver code calls a callback function called resolv_found() that must be implemented by the module that uses the resolver.
호스트네임이 리스트에 있을때(또는 존재하지 않는 경우), resolver의 코드는 resolv_found()라는 콜백함수를 호출한다. 따라서 resulver를 사용하는 모듈에서 이 함수에 대한 처리를 구현해야 한다.
Files | |
| file | resolv.c |
| DNS host name to IP address resolver. DNS호스트 이름을 IP로 변환 | |
| file | resolv.h |
| DNS resolver code header file. DNS resolver 헤더 파일 | |
Functions | |
| void | resolv_found (char *name, u16_t *ipaddr) |
| Callback function which is called when a hostname is found. 호스트네임을 찾았을때 호출되는 콜백함수. | |
| void | resolv_conf (u16_t *dnsserver) |
| Configure which DNS server to use for queries. DNS서버를 지정한다. | |
| u16_t * | resolv_getserver (void) |
| Obtain the currently configured DNS server. 현재 지정된 DNS서버의 IP주소를 얻어온다. | |
| void | resolv_init (void) |
| Initalize the resolver. 초기화. | |
| u16_t * | resolv_lookup (char *name) |
| Look up a hostname in the array of known hostnames. 알려진 호스트네임 배열에서 호스트네임을 찾는다. | |
| void | resolv_query (char *name) |
| Queues a name so that a question for the name will be sent out. 네트워크에서 호스트네임을 찾아온다. | |
|
|
Configure which DNS server to use for queries.
|
Here is the call graph for this function:

|
||||||||||||
|
Callback function which is called when a hostname is found.
|
|
|
Obtain the currently configured DNS server.
|
|
|
Look up a hostname in the array of known hostnames.
|
|
|
Queues a name so that a question for the name will be sent out.
|
1.3.3