Home
last modified time | relevance | path

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

/openbsd/src/usr.sbin/nsd/
Dnetio.c151 if (handler->event_types & NETIO_EVENT_READ) { in netio_dispatch()
154 if (handler->event_types & NETIO_EVENT_WRITE) { in netio_dispatch()
161 if (handler->timeout && (handler->event_types & NETIO_EVENT_TIMEOUT)) { in netio_dispatch()
185 if (timeout_handler && (timeout_handler->event_types & NETIO_EVENT_TIMEOUT)) { in netio_dispatch()
220 if (timeout_handler && (timeout_handler->event_types & NETIO_EVENT_TIMEOUT)) { in netio_dispatch()
236 netio_event_types_type event_types in netio_dispatch() local
239 event_types |= NETIO_EVENT_READ; in netio_dispatch()
242 event_types |= NETIO_EVENT_WRITE; in netio_dispatch()
248 if((handler->event_types&NETIO_EVENT_READ)) in netio_dispatch()
249 event_types |= NETIO_EVENT_READ; in netio_dispatch()
[all …]
Dipc.h58 netio_handler_type *handler, netio_event_types_type event_types);
65 netio_handler_type *handler, netio_event_types_type event_types);
73 netio_handler_type *handler, netio_event_types_type event_types);
Dipc.c108 netio_event_types_type event_types) in parent_handle_xfrd_command() argument
114 if (!(event_types & NETIO_EVENT_READ)) { in parent_handle_xfrd_command()
310 netio_event_types_type event_types) in parent_handle_child_command() argument
318 if (event_types & NETIO_EVENT_WRITE) { in parent_handle_child_command()
325 handler->event_types = NETIO_EVENT_READ; in parent_handle_child_command()
327 handler->event_types = NETIO_EVENT_READ; in parent_handle_child_command()
331 if (!(event_types & NETIO_EVENT_READ)) { in parent_handle_child_command()
476 netio_event_types_type event_types) in parent_handle_reload_command() argument
482 if (!(event_types & NETIO_EVENT_READ)) { in parent_handle_reload_command()
510 nsd->children[i].handler->event_types in parent_handle_reload_command()
Dnetio.h95 netio_event_types_type event_types);
126 netio_event_types_type event_types; member
Dserver.c372 static void configure_handler_event_types(short event_types);
480 nsd->children[i].handler->event_types = NETIO_EVENT_READ; in restart_child_servers()
1767 nsd->xfrd_listener->event_types = NETIO_EVENT_READ; in server_start_xfrd()
2717 reload_listener.event_types = NETIO_EVENT_NONE; in server_main()
2821 reload_listener.event_types = NETIO_EVENT_NONE; in server_main()
2900 reload_listener.event_types = NETIO_EVENT_NONE; in server_main()
2917 reload_listener.event_types = NETIO_EVENT_READ; in server_main()
5411 nsd->children[i].handler->event_types |= NETIO_EVENT_WRITE; in set_children_stats()
5417 configure_handler_event_types(short event_types) in configure_handler_event_types() argument
5423 if(event_types) { in configure_handler_event_types()
[all …]