Home
last modified time | relevance | path

Searched refs:cmd_event (Results 1 – 3 of 3) sorted by relevance

/openbsd/usr.sbin/nsd/dnstap/
H A Ddnstap_collector.c316 event_del(dt_col->cmd_event); in dt_collector_cleanup()
323 free(dt_col->cmd_event); in dt_collector_cleanup()
348 dt_col->cmd_event = (struct event*)xalloc_zero( in dt_attach_events()
349 sizeof(*dt_col->cmd_event)); in dt_attach_events()
350 event_set(dt_col->cmd_event, dt_col->cmd_socket_dt, in dt_attach_events()
352 if(event_base_set(dt_col->event_base, dt_col->cmd_event) != 0) in dt_attach_events()
354 if(event_add(dt_col->cmd_event, NULL) != 0) in dt_attach_events()
H A Ddnstap_collector.h39 struct event* cmd_event; member
/openbsd/usr.sbin/nsd/
H A Dserver.c2408 struct event signal_event, cmd_event; in server_reload() local
2551 event_set(&cmd_event, cmdsocket, EV_READ|EV_TIMEOUT|EV_PERSIST, in server_reload()
2553 if(event_base_set(cb_data.base, &cmd_event) != 0 in server_reload()
2554 || event_add(&cmd_event, &reload_sync_timeout) != 0) { in server_reload()
2562 event_del(&cmd_event); in server_reload()
3214 struct event cmd_event, signal_event, exit_event; in server_verify() local
3249 event_set(&cmd_event, cmdsocket, EV_READ|EV_PERSIST, verify_handle_command, nsd); in server_verify()
3250 if(event_base_set(nsd->event_base, &cmd_event) != 0 || in server_verify()
3251 event_add(&cmd_event, NULL) != 0) in server_verify()
3319 event_del(&cmd_event); in server_verify()