Lines Matching defs:dispatch
61 #include <dns/dispatch.h>
215 dns_dispatch_t *dispatch;
1118 * Get a dispatch appropriate for the resolver of a given view.
3862 " an IPv6 dispatch");
8618 "creating dispatch manager");
9076 ns_dispatch_t *dispatch, *nextdispatch;
9080 for (dispatch = ISC_LIST_HEAD(server->dispatches);
9081 dispatch != NULL;
9082 dispatch = nextdispatch) {
9083 nextdispatch = ISC_LIST_NEXT(dispatch, link);
9084 if (!all && server->dispatchgen == dispatch-> dispatchgen)
9086 ISC_LIST_UNLINK(server->dispatches, dispatch, link);
9087 dns_dispatch_detach(&dispatch->dispatch);
9088 isc_mem_put(server->mctx, dispatch, sizeof(*dispatch));
9094 ns_dispatch_t *dispatch;
9106 for (dispatch = ISC_LIST_HEAD(server->dispatches);
9107 dispatch != NULL;
9108 dispatch = ISC_LIST_NEXT(dispatch, link)) {
9109 if (isc_sockaddr_equal(&dispatch->addr, addr))
9112 if (dispatch != NULL) {
9113 dispatch->dispatchgen = server->dispatchgen;
9117 dispatch = isc_mem_get(server->mctx, sizeof(*dispatch));
9118 if (dispatch == NULL) {
9123 dispatch->addr = *addr;
9124 dispatch->dispatchgen = server->dispatchgen;
9125 dispatch->dispatch = NULL;
9147 ns_g_taskmgr, &dispatch->addr, 4096,
9149 attrs, attrmask, &dispatch->dispatch);
9153 ISC_LIST_INITANDPREPEND(server->dispatches, dispatch, link);
9158 if (dispatch != NULL)
9159 isc_mem_put(server->mctx, dispatch, sizeof(*dispatch));
9163 "unable to create dispatch for reserved port %s: %s",