Home | History | Annotate | Download | only in net

Lines Matching full:error

37  *   in the source code.  This is because RFC2553 is silent about which error
244 "System error returned in errno", /* EAI_SYSTEM */
248 "Unknown error", /* EAI_MAX */
255 /* external reference: pai, error, and label free */ \
258 error = EAI_MEMORY; \
265 /* external reference: error and label free */ \
266 error = get_port((ai), (serv), 0); \
267 if (error != 0) \
273 /* external reference: pai, error and label free */ \
274 error = get_canonname(pai, (ai), (str)); \
275 if (error != 0) \
281 /* external reference: error, and label bad */ \
282 error = (err); \
373 int error = 0;
399 /* error check for hints */
456 error = get_portmatch(pai, servname);
457 if (error)
458 ERR(error);
488 error = explore_null(pai, servname, &cur->ai_next);
490 error = explore_numeric_scope(pai, hostname, servname,
493 if (error)
539 error = explore_fqdn(pai, hostname, servname,
548 error = 0;
550 if (error)
552 if (error == 0) {
558 error = EAI_FAIL;
565 return error;
577 int error = 0;
601 error = EAI_AGAIN;
604 error = EAI_FAIL;
607 error = EAI_NODATA;
610 error = 0;
625 return error;
641 int error;
693 return error;
706 int error;
780 return error;
795 int error;
832 error = explore_numeric(pai, addr, servname, res, hostname);
833 if (error == 0) {
850 return error;
1519 * and -1 if a fatal error occurred. If 0 or 1, the contents of src_addr are
1571 * Will leave the list unchanged if an error occurs.
1590 goto error;
1605 goto error;
1619 error:
1768 int error;
1811 error = getaddrinfo(addr, NULL, &hints, &res0);
1812 if (error)
1865 * if no error is indicated and the answer count is nonzero.
1866 * Return the size of the response on success, -1 on error.
1867 * Error number is left in h_errno.
1925 printf(";; res_query: send error\n");
1933 rcode = hp->rcode; /* record most recent error */
1972 * Return the size of the response on success, -1 on error.
1974 * is detected. Error code, if any, is left in h_errno.
2046 * On a NO_DATA error, keep trying, otherwise
2049 * If we get some other error (negative answer or