Lines Matching refs:probe_name

381 do_res_search (const char *probe_name, enum res_op op, size_t size,  in do_res_search()  argument
392 ret = res_search (probe_name, C_IN, T_A, buffer, size); in do_res_search()
395 ret = res_query (probe_name, C_IN, T_A, buffer, size); in do_res_search()
398 ret = res_nsearch (&_res, probe_name, C_IN, T_A, buffer, size); in do_res_search()
401 ret = res_nquery (&_res, probe_name, C_IN, T_A, buffer, size); in do_res_search()
406 char *example_stripped = xstrdup (probe_name); in do_res_search()
420 FAIL_EXIT1 ("invalid probe name: %s", probe_name); in do_res_search()
459 run_test (const char *probe_name) in run_test() argument
464 check_hostent (gethostbyname (probe_name)); in run_test()
465 check_hostent (gethostbyname2 (probe_name, AF_INET)); in run_test()
466 check_hostent (gethostbyname2 (probe_name, AF_INET6)); in run_test()
473 do_res_search (probe_name, op, 301, 512); in run_test()
474 do_res_search (probe_name, op, 511, 512); in run_test()
475 do_res_search (probe_name, op, 512, 512); in run_test()
476 do_res_search (probe_name, op, 513, 513); in run_test()
477 do_res_search (probe_name, op, 657, 657); in run_test()
478 do_res_search (probe_name, op, 1199, 1199); in run_test()
479 do_res_search (probe_name, op, 1200, 1200); in run_test()
480 do_res_search (probe_name, op, 1201, 1200); in run_test()
481 do_res_search (probe_name, op, 65535, 1200); in run_test()
506 char *probe_name = xstrdup (EDNS_PROBE_EXAMPLE); in do_test() local
509 char *n = xasprintf ("tcp.%s", probe_name); in do_test()
510 free (probe_name); in do_test()
511 probe_name = n; in do_test()
517 char *n = xasprintf ("formerr.%s", probe_name); in do_test()
522 run_test (probe_name); in do_test()
524 free (probe_name); in do_test()