Searched defs:mgr (Results 1 - 8 of 8) sorted by relevance

/bind-9.11.3/lib/isc/tests/
H A Dpool_test.c28 isc_taskmgr_t *mgr = (isc_taskmgr_t *) arg; local
30 result = isc_task_create(mgr, 0, &task);
/bind-9.11.3/bin/named/include/named/
H A Dinterfacemgr.h64 ns_interfacemgr_t * mgr; /*%< Interface manager. */ member in struct:ns_interface
107 ns_interfacemgr_shutdown(ns_interfacemgr_t *mgr);
110 ns_interfacemgr_islistening(ns_interfacemgr_t *mgr);
117 ns_interfacemgr_scan(ns_interfacemgr_t *mgr, isc_boolean_t verbose);
129 ns_interfacemgr_adjust(ns_interfacemgr_t *mgr, ns_listenlist_t *list,
143 ns_interfacemgr_setlistenon4(ns_interfacemgr_t *mgr, ns_listenlist_t *value);
145 * Set the IPv4 "listen-on" list of 'mgr' to 'value'.
150 ns_interfacemgr_setlistenon6(ns_interfacemgr_t *mgr, ns_listenlist_t *value);
152 * Set the IPv6 "listen-on" list of 'mgr' to 'value'.
157 ns_interfacemgr_getaclenv(ns_interfacemgr_t *mgr);
[all...]
/bind-9.11.3/lib/isc/
H A Dhttpd.c66 isc_httpdmgr_t *mgr; /*%< our parent */ member in struct:isc_httpd
218 isc_httpdmgr_t *httpdmgr = httpd->mgr;
647 httpd->mgr = httpdmgr;
772 newspace = isc_mem_get(httpd->mgr->mctx, size);
778 isc_mem_put(httpd->mgr->mctx, r.base, r.length);
884 url = ISC_LIST_HEAD(httpd->mgr->urls);
891 result = httpd->mgr->render_404(httpd->url, NULL,
909 result = httpd->mgr->render_500(httpd->url, url,
1023 newspace = isc_mem_get(httpd->mgr->mctx, newlen);
1029 isc_mem_put(httpd->mgr
[all...]
H A Dtask.c1685 isc__taskmgr_t *mgr = (isc__taskmgr_t *) mgr0; local
1688 REQUIRE(VALID_MANAGER(mgr));
1690 LOCK(&mgr->excl_lock);
1691 if (mgr->excl != NULL)
1692 isc__task_detach((isc_task_t **) &mgr->excl);
1693 isc__task_attach(task0, (isc_task_t **) &mgr->excl);
1694 UNLOCK(&mgr->excl_lock);
1699 isc__taskmgr_t *mgr = (isc__taskmgr_t *) mgr0; local
1702 REQUIRE(VALID_MANAGER(mgr));
1705 LOCK(&mgr
1816 isc__taskmgr_t *mgr = (isc__taskmgr_t *)mgr0; local
1926 isc__taskmgr_t *mgr = (isc__taskmgr_t *)mgr0; local
[all...]
/bind-9.11.3/bin/named/
H A Dinterfacemgr.c83 purge_old_interfaces(ns_interfacemgr_t *mgr);
86 clearlistenon(ns_interfacemgr_t *mgr);
92 ns_interfacemgr_t *mgr = NULL; local
101 mgr = event->ev_arg;
110 ns_interfacemgr_detach(&mgr);
115 rtm = (struct MSGHDR *)mgr->buf;
123 ns_interfacemgr_detach(&mgr);
132 if (mgr->route != NULL && ns_g_server->interface_auto)
139 LOCK(&mgr->lock);
140 if (mgr
167 ns_interfacemgr_t *mgr; local
265 ns_interfacemgr_destroy(ns_interfacemgr_t *mgr) argument
284 ns_interfacemgr_getaclenv(ns_interfacemgr_t *mgr) argument
316 ns_interfacemgr_shutdown(ns_interfacemgr_t *mgr) argument
339 ns_interface_create(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr, const char *name, ns_interface_t **ifpret) argument
540 ns_interface_setup(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr, const char *name, ns_interface_t **ifpret, isc_boolean_t accept_tcp, isc_dscp_t dscp, isc_boolean_t *addr_in_use) argument
653 find_matching_interface(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr) argument
667 purge_old_interfaces(ns_interfacemgr_t *mgr) argument
705 setup_locals(ns_interfacemgr_t *mgr, isc_interface_t *interface) argument
753 setup_listenon(ns_interfacemgr_t *mgr, isc_interface_t *interface, in_port_t port) argument
778 clearlistenon(ns_interfacemgr_t *mgr) argument
790 do_scan(ns_interfacemgr_t *mgr, ns_listenlist_t *ext_listen, isc_boolean_t verbose) argument
1145 ns_interfacemgr_scan0(ns_interfacemgr_t *mgr, ns_listenlist_t *ext_listen, isc_boolean_t verbose) argument
1183 ns_interfacemgr_islistening(ns_interfacemgr_t *mgr) argument
1190 ns_interfacemgr_scan(ns_interfacemgr_t *mgr, isc_boolean_t verbose) argument
1195 ns_interfacemgr_adjust(ns_interfacemgr_t *mgr, ns_listenlist_t *list, isc_boolean_t verbose) argument
1202 ns_interfacemgr_setlistenon4(ns_interfacemgr_t *mgr, ns_listenlist_t *value) argument
1210 ns_interfacemgr_setlistenon6(ns_interfacemgr_t *mgr, ns_listenlist_t *value) argument
1218 ns_interfacemgr_dumprecursing(FILE *f, ns_interfacemgr_t *mgr) argument
1232 ns_interfacemgr_listeningon(ns_interfacemgr_t *mgr, isc_sockaddr_t *addr) argument
[all...]
/bind-9.11.3/lib/dns/
H A Ddispatch.c199 dns_dispatchmgr_t *mgr; /*%< dispatch manager */ member in struct:dns_dispatch
218 /*% Locked by mgr->lock. */
261 (disp)->qid : (disp)->mgr->qid
263 ((disp)->rngctx) : ((disp)->mgr->rngctx)
272 #define PORTBUFLOCK(mgr) if ((mgr)->qid != NULL) LOCK(&((mgr)->qid->lock))
273 #define PORTBUFUNLOCK(mgr) if ((mgr)->qid != NULL) UNLOCK((&(mgr)
333 mgr_log(dns_dispatchmgr_t *mgr, int level, const char *fmt, ...) argument
350 inc_stats(dns_dispatchmgr_t *mgr, isc_statscounter_t counter) argument
356 dec_stats(dns_dispatchmgr_t *mgr, isc_statscounter_t counter) argument
509 dns_dispatchmgr_t *mgr; local
663 dns_dispatchmgr_t *mgr = disp->mgr; local
1043 dns_dispatchmgr_t *mgr; local
1594 destroy_mgr_ok(dns_dispatchmgr_t *mgr) argument
1622 dns_dispatchmgr_t *mgr; local
1678 open_socket(isc_socketmgr_t *mgr, isc_sockaddr_t *local, unsigned int options, isc_socket_t **sockp, isc_socket_t *dup_socket) argument
1750 dns_dispatchmgr_t *mgr; local
1911 dns_dispatchmgr_setblackhole(dns_dispatchmgr_t *mgr, dns_acl_t *blackhole) argument
1919 dns_dispatchmgr_getblackhole(dns_dispatchmgr_t *mgr) argument
1925 dns_dispatchmgr_setblackportlist(dns_dispatchmgr_t *mgr, dns_portlist_t *portlist) argument
1936 dns_dispatchmgr_getblackportlist(dns_dispatchmgr_t *mgr) argument
1942 dns_dispatchmgr_setavailports(dns_dispatchmgr_t *mgr, isc_portset_t *v4portset, isc_portset_t *v6portset) argument
2007 dns_dispatchmgr_setudp(dns_dispatchmgr_t *mgr, unsigned int buffersize, unsigned int maxbuffers, unsigned int maxrequests, unsigned int buckets, unsigned int increment) argument
2107 dns_dispatchmgr_t *mgr; local
2128 dns_dispatchmgr_setstats(dns_dispatchmgr_t *mgr, isc_stats_t *stats) argument
2150 portavailable(dns_dispatchmgr_t *mgr, isc_socket_t *sock, isc_sockaddr_t *sockaddrp) argument
2242 dispatch_find(dns_dispatchmgr_t *mgr, isc_sockaddr_t *local, unsigned int attributes, unsigned int mask, dns_dispatch_t **dispp) argument
2279 qid_allocate(dns_dispatchmgr_t *mgr, unsigned int buckets, unsigned int increment, dns_qid_t **qidp, isc_boolean_t needsocktable) argument
2365 dispatch_allocate(dns_dispatchmgr_t *mgr, unsigned int maxrequests, dns_dispatch_t **dispp) argument
2445 dns_dispatchmgr_t *mgr; local
2493 dns_dispatch_createtcp(dns_dispatchmgr_t *mgr, isc_socket_t *sock, isc_taskmgr_t *taskmgr, unsigned int buffersize, unsigned int maxbuffers, unsigned int maxrequests, unsigned int buckets, unsigned int increment, unsigned int attributes, dns_dispatch_t **dispp) argument
2509 dns_dispatch_createtcp2(dns_dispatchmgr_t *mgr, isc_socket_t *sock, isc_taskmgr_t *taskmgr, isc_sockaddr_t *localaddr, isc_sockaddr_t *destaddr, unsigned int buffersize, unsigned int maxbuffers, unsigned int maxrequests, unsigned int buckets, unsigned int increment, unsigned int attributes, dns_dispatch_t **dispp) argument
2620 dns_dispatch_gettcp(dns_dispatchmgr_t *mgr, isc_sockaddr_t *destaddr, isc_sockaddr_t *localaddr, dns_dispatch_t **dispp) argument
2669 dns_dispatch_gettcp2(dns_dispatchmgr_t *mgr, isc_sockaddr_t *destaddr, isc_sockaddr_t *localaddr, isc_boolean_t *connected, dns_dispatch_t **dispp) argument
2746 dns_dispatch_getudp_dup(dns_dispatchmgr_t *mgr, isc_socketmgr_t *sockmgr, isc_taskmgr_t *taskmgr, isc_sockaddr_t *localaddr, unsigned int buffersize, unsigned int maxbuffers, unsigned int maxrequests, unsigned int buckets, unsigned int increment, unsigned int attributes, unsigned int mask, dns_dispatch_t **dispp, dns_dispatch_t *dup_dispatch) argument
2832 dns_dispatch_getudp(dns_dispatchmgr_t *mgr, isc_socketmgr_t *sockmgr, isc_taskmgr_t *taskmgr, isc_sockaddr_t *localaddr, unsigned int buffersize, unsigned int maxbuffers, unsigned int maxrequests, unsigned int buckets, unsigned int increment, unsigned int attributes, unsigned int mask, dns_dispatch_t **dispp) argument
2855 get_udpsocket(dns_dispatchmgr_t *mgr, dns_dispatch_t *disp, isc_socketmgr_t *sockmgr, isc_sockaddr_t *localaddr, isc_socket_t **sockp, isc_socket_t *dup_socket) argument
2961 dispatch_createudp(dns_dispatchmgr_t *mgr, isc_socketmgr_t *sockmgr, isc_taskmgr_t *taskmgr, isc_sockaddr_t *localaddr, unsigned int maxrequests, unsigned int attributes, dns_dispatch_t **dispp, isc_socket_t *dup_socket) argument
3454 dns_dispatchmgr_t *mgr; local
3778 dns_dispatchmgr_t *mgr; local
[all...]
/bind-9.11.3/lib/isc/unix/
H A Dsocket.c1142 select_poke(isc__socketmgr_t *mgr, int fd, int msg) { argument
1151 cc = write(mgr->pipe_fds[1], buf, sizeof(buf));
1181 select_readmsg(isc__socketmgr_t *mgr, int *fd, int *msg) { argument
1186 cc = read(mgr->pipe_fds[0], buf, sizeof(buf));
6633 isc__socketmgr_t *mgr = (isc__socketmgr_t *)mgr0; local
6640 LOCK(&mgr->lock);
6644 TRY0(xmlTextWriterWriteFormatString(writer, "%d", mgr->refs));
6649 sock = ISC_LIST_HEAD(mgr->socklist);
6734 UNLOCK(&mgr->lock);
6751 isc__socketmgr_t *mgr local
[all...]
/bind-9.11.3/lib/isc/win32/
H A Dsocket.c4010 isc_socketmgr_renderxml(isc_socketmgr_t *mgr, xmlTextWriterPtr writer) argument
4018 LOCK(&mgr->lock);
4022 TRY0(xmlTextWriterWriteFormatString(writer, "%d", mgr->refs));
4027 sock = ISC_LIST_HEAD(mgr->socklist);
4112 UNLOCK(&mgr->lock);
4127 isc_socketmgr_renderjson(isc_socketmgr_t *mgr, json_object *stats) { argument
4137 LOCK(&mgr->lock);
4140 obj = json_object_new_int(mgr->refs);
4145 sock = ISC_LIST_HEAD(mgr->socklist);
4251 UNLOCK(&mgr
[all...]

Completed in 41 milliseconds