Home
last modified time | relevance | path

Searched refs:netio (Results 1 – 7 of 7) sorted by relevance

/openbsd/src/usr.sbin/nsd/
Dnetio.c39 netio_add_handler(netio_type *netio, netio_handler_type *handler) in netio_add_handler() argument
43 assert(netio); in netio_add_handler()
46 if (netio->deallocated) { in netio_add_handler()
51 elt = netio->deallocated; in netio_add_handler()
52 netio->deallocated = elt->next; in netio_add_handler()
58 netio->region, sizeof(netio_handler_list_type)); in netio_add_handler()
61 elt->next = netio->handlers; in netio_add_handler()
64 netio->handlers = elt; in netio_add_handler()
68 netio_remove_handler(netio_type *netio, netio_handler_type *handler) in netio_remove_handler() argument
72 assert(netio); in netio_remove_handler()
[all …]
Dnetio.h64 typedef struct netio netio_type;
68 struct netio struct
93 typedef void (*netio_event_handler_type)(netio_type *netio, argument
154 void netio_add_handler(netio_type *netio, netio_handler_type *handler);
159 void netio_remove_handler(netio_type *netio, netio_handler_type *handler);
164 const struct timespec *netio_current_time(netio_type *netio);
173 int netio_dispatch(netio_type *netio,
Dipc.h57 void parent_handle_xfrd_command(netio_type *netio,
64 void parent_handle_reload_command(netio_type *netio,
72 void parent_handle_child_command(netio_type *netio,
DMakefile.in81 NSD_OBJ=$(COMMON_OBJ) $(XFRD_OBJ) difffile.o ipc.o mini_event.o netio.o nsd.o server.o dbaccess.o d…
84 …MMON_OBJ) $(XFRD_OBJ) dbaccess.o dbcreate.o difffile.o ipc.o mini_event.o netio.o server.o zonec.o…
86 CUTEST_OBJ=$(COMMON_OBJ) $(XFRD_OBJ) dbaccess.o dbcreate.o difffile.o ipc.o mini_event.o netio.o se…
87 NSD_MEM_OBJ=$(COMMON_OBJ) $(XFRD_OBJ) dbaccess.o dbcreate.o difffile.o ipc.o mini_event.o netio.o v…
453 ipc.o: $(srcdir)/ipc.c config.h $(srcdir)/ipc.h $(srcdir)/netio.h $(srcdir)/region-allocator.h \
469 netio.o: $(srcdir)/netio.c config.h $(srcdir)/netio.h $(srcdir)/region-allocator.h \
473 …$(srcdir)/remote.h $(srcdir)/xfrd-disk.h $(srcdir)/ipc.h $(srcdir)/netio.h $(srcdir)/util/proxy_pr…
512 …r)/edns.h $(srcdir)/bitset.h $(srcdir)/difffile.h $(srcdir)/udb.h $(srcdir)/ipc.h $(srcdir)/netio.h
518 …$(srcdir)/radtree.h $(srcdir)/rbtree.h $(srcdir)/packet.h $(srcdir)/tsig.h $(srcdir)/netio.h $(src…
537 …$(srcdir)/xfrd-catalog-zones.h $(srcdir)/netio.h $(srcdir)/nsd.h $(srcdir)/edns.h $(srcdir)/bitset…
Dserver.c435 restart_child_servers(struct nsd *nsd, region_type* region, netio_type* netio, in restart_child_servers() argument
482 netio_add_handler(netio, nsd->children[i].handler); in restart_child_servers()
1557 server_start_children(struct nsd *nsd, region_type* region, netio_type* netio, in server_start_children() argument
1567 return restart_child_servers(nsd, region, netio, xfrd_sock_p); in server_start_children()
2397 server_reload(struct nsd *nsd, region_type* server_region, netio_type* netio, in server_reload() argument
2508 if (server_start_children(nsd, server_region, netio, &nsd-> in server_reload()
2647 netio_type *netio = netio_create(server_region); in server_main() local
2660 netio_add_handler(netio, nsd->xfrd_listener); in server_main()
2669 if (server_start_children(nsd, server_region, netio, in server_main()
2699 restart_child_servers(nsd, server_region, netio, in server_main()
[all …]
Dipc.c106 parent_handle_xfrd_command(netio_type *ATTR_UNUSED(netio), in parent_handle_xfrd_command() argument
308 parent_handle_child_command(netio_type *ATTR_UNUSED(netio), in parent_handle_child_command() argument
474 parent_handle_reload_command(netio_type *ATTR_UNUSED(netio), in parent_handle_reload_command() argument
/openbsd/src/usr.sbin/nsd/doc/
DChangeLog4031 - netio will only deliver the number of bits from select
4047 by netio.
4052 Re-Reversed it: netio will deliver events only once.
4058 netio to give a callback for an event that you were not listening
4949 - Addes EACCES to the netio dispatch error bailout.
5201 * Miek: fixed typo in netio.h
5235 - in netio.c, in dispatch, it would store the next pointer 'in case
5237 Then it would fail. So stored the next in struct netio.
5239 Reentry would need a list of iterator* in struct netio.