Lines Matching refs:dispatch
56 #include <dns/dispatch.h>
151 dns_dispatch_t *dispatch;
605 * Get a dispatch appropriate for the resolver of a given view.
1676 " an IPv6 dispatch");
4191 "creating dispatch manager");
4513 ns_dispatch_t *dispatch, *nextdispatch;
4517 for (dispatch = ISC_LIST_HEAD(server->dispatches);
4518 dispatch != NULL;
4519 dispatch = nextdispatch) {
4520 nextdispatch = ISC_LIST_NEXT(dispatch, link);
4521 if (!all && server->dispatchgen == dispatch-> dispatchgen)
4523 ISC_LIST_UNLINK(server->dispatches, dispatch, link);
4524 dns_dispatch_detach(&dispatch->dispatch);
4525 isc_mem_put(server->mctx, dispatch, sizeof(*dispatch));
4531 ns_dispatch_t *dispatch;
4543 for (dispatch = ISC_LIST_HEAD(server->dispatches);
4544 dispatch != NULL;
4545 dispatch = ISC_LIST_NEXT(dispatch, link)) {
4546 if (isc_sockaddr_equal(&dispatch->addr, addr))
4549 if (dispatch != NULL) {
4550 dispatch->dispatchgen = server->dispatchgen;
4554 dispatch = isc_mem_get(server->mctx, sizeof(*dispatch));
4555 if (dispatch == NULL) {
4560 dispatch->addr = *addr;
4561 dispatch->dispatchgen = server->dispatchgen;
4562 dispatch->dispatch = NULL;
4584 ns_g_taskmgr, &dispatch->addr, 4096,
4586 attrs, attrmask, &dispatch->dispatch);
4590 ISC_LIST_INITANDPREPEND(server->dispatches, dispatch, link);
4595 if (dispatch != NULL)
4596 isc_mem_put(server->mctx, dispatch, sizeof(*dispatch));
4600 "unable to create dispatch for reserved port %s: %s",