Lines Matching refs:event
72 sd_event *event; member
162 static void ipv4acd_client_notify(sd_ipv4acd *acd, int event) { in ipv4acd_client_notify() argument
168 acd->callback(acd, event, acd->userdata); in ipv4acd_client_notify()
203 assert_se(sd_event_now(acd->event, CLOCK_BOOTTIME, &time_now) >= 0); in ipv4acd_set_next_wakeup()
205 return event_reset_time(acd->event, &acd->timer_event_source, in ipv4acd_set_next_wakeup()
384 assert_se(sd_event_now(acd->event, CLOCK_BOOTTIME, &ts) >= 0); in ipv4acd_on_packet()
487 acd->event = sd_event_unref(acd->event); in sd_ipv4acd_detach_event()
492 int sd_ipv4acd_attach_event(sd_ipv4acd *acd, sd_event *event, int64_t priority) { in sd_ipv4acd_attach_event() argument
496 assert_return(!acd->event, -EBUSY); in sd_ipv4acd_attach_event()
498 if (event) in sd_ipv4acd_attach_event()
499 acd->event = sd_event_ref(event); in sd_ipv4acd_attach_event()
501 r = sd_event_default(&acd->event); in sd_ipv4acd_attach_event()
579 assert_return(acd->event, -EINVAL); in sd_ipv4acd_start()
594 …r = sd_event_add_io(acd->event, &acd->receive_message_event_source, acd->fd, EPOLLIN, ipv4acd_on_p… in sd_ipv4acd_start()