Home
last modified time | relevance | path

Searched refs:netio_type (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/external/bsd/nsd/dist/
H A Dnetio.h64 typedef struct netio netio_type; typedef
93 typedef void (*netio_event_handler_type)(netio_type *netio,
149 netio_type *netio_create(region_type *region);
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,
H A Dnetio.c23 netio_type *
26 netio_type *result; in netio_create()
30 result = (netio_type *) region_alloc(region, sizeof(netio_type)); in netio_create()
39 netio_add_handler(netio_type *netio, netio_handler_type *handler) in netio_add_handler()
68 netio_remove_handler(netio_type *netio, netio_handler_type *handler) in netio_remove_handler()
90 netio_current_time(netio_type *netio) in netio_current_time()
108 netio_dispatch(netio_type *netio, const struct timespec *timeout, const sigset_t *sigmask) in netio_dispatch()
H A 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,
H A Dipc.c106 parent_handle_xfrd_command(netio_type *ATTR_UNUSED(netio), in parent_handle_xfrd_command()
308 parent_handle_child_command(netio_type *ATTR_UNUSED(netio), in parent_handle_child_command()
474 parent_handle_reload_command(netio_type *ATTR_UNUSED(netio), in parent_handle_reload_command()
H A Dserver.c435 restart_child_servers(struct nsd *nsd, region_type* region, netio_type* netio, in restart_child_servers()
1551 server_start_children(struct nsd *nsd, region_type* region, netio_type* netio, in server_start_children()
2310 server_reload(struct nsd *nsd, region_type* server_region, netio_type* netio, in server_reload()
2539 netio_type *netio = netio_create(server_region); in server_main()