Lines Matching refs:result
34 isc_result_t result;
39 result = dns_dispatchmgr_create(mctx, NULL, &dispatchmgr);
40 if (result != ISC_R_SUCCESS)
41 return (result);
45 result = dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
48 if (result != ISC_R_SUCCESS)
49 return (result);
51 result = dns_dispatchset_create(mctx, socketmgr, taskmgr, disp,
55 return (result);
74 isc_result_t result;
78 result = dns_test_begin(NULL, ISC_TRUE);
79 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
81 result = make_dispatchset(1);
82 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
85 result = make_dispatchset(10);
86 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
97 isc_result_t result;
102 result = dns_test_begin(NULL, ISC_TRUE);
103 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
105 result = make_dispatchset(1);
106 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
121 result = make_dispatchset(4);
122 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
152 isc_result_t result;
175 result = isc_socket_sendto(sock, ®ion, task, senddone, sock,
177 if (result != ISC_R_SUCCESS)
187 result = isc_socket_sendto(sock, ®ion, task, senddone, sock,
189 if (result != ISC_R_SUCCESS)
204 isc_result_t result;
216 result = dns_dispatch_getnext(dispentry, &devent);
217 ATF_CHECK_EQ(result, ISC_R_SUCCESS);
226 isc_result_t result;
230 result = isc_socket_sendto(sock, event->ev_arg, task, senddone, sock,
232 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
242 isc_result_t result;
253 result = isc_mutex_init(&lock);
254 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
256 result = dns_test_begin(NULL, ISC_TRUE);
257 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
259 result = isc_task_create(taskmgr, 0, &task);
260 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
262 result = dns_dispatchmgr_create(mctx, NULL, &dispatchmgr);
263 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
268 result = dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
271 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
276 result = isc_socket_create(socketmgr, AF_INET, isc_sockettype_udp,
278 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
282 result = isc_socket_bind(sock, &local, 0);
283 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
285 result = isc_socket_getsockname(sock, &local);
286 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
291 result = isc_socket_recv(sock, ®ion, 1, task, nameserver, sock);
292 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
294 result = dns_dispatch_addresponse(dispatch, &local, task, response,
296 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
304 result = isc_app_onrun(mctx, task, startit, ®ion);
305 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
307 result = isc_app_run();
308 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);