Lines Matching defs:event
2 * util/netevent.c - event notification
39 * This file contains event notification functions.
101 * The internal event structure for keeping ub_event info for the event.
107 /** ub_event event type */
121 /** the event used for slow_accept timeouts */
128 * Internal timer structure, to store timer event in.
135 /** ub_event event type */
142 * Internal signal structure, to store signal event in.
145 /** ub_event event type */
164 const char *evnm="event", *evsys="", *evmethod="";
628 comm_point_udp_ancil_callback(int fd, short event, void* arg)
647 if(!(event&UB_EV_READ))
719 (void)event;
727 comm_point_udp_callback(int fd, short event, void* arg)
737 if(!(event&UB_EV_READ))
829 short ATTR_UNUSED(event), void* arg)
1005 comm_point_tcp_accept_callback(int fd, short event, void* arg)
1010 if(!(event & UB_EV_READ)) {
1011 log_info("ignoring tcp accept event %d", (int)event);
1023 * correct event base for the event structure for libevent */
2061 comm_point_tcp_handle_callback(int fd, short event, void* arg)
2088 if(event&UB_EV_TIMEOUT) {
2098 if(event&UB_EV_READ
2100 && !(c->tcp_do_fastopen && (event&UB_EV_WRITE))
2121 if(event&UB_EV_WRITE) {
2140 log_err("Ignored event %d for tcphdl.", event);
3111 comm_point_http_handle_callback(int fd, short event, void* arg)
3117 if(event&UB_EV_TIMEOUT) {
3127 if(event&UB_EV_READ) {
3139 if(event&UB_EV_WRITE) {
3151 log_err("Ignored event %d for httphdl.", event);
3154 void comm_point_local_handle_callback(int fd, short event, void* arg)
3160 if(event&UB_EV_READ) {
3168 log_err("Ignored event %d for localhdl.", event);
3172 short event, void* arg)
3179 if(event&UB_EV_TIMEOUT)
3231 log_err("could not baseset udp event");
3236 log_err("could not add udp event");
3291 log_err("could not baseset udp event");
3296 log_err("could not add udp event");
3387 log_err("could not basetset tcphdl event");
3503 log_err("could not set http handler event");
3576 log_err("could not baseset tcpacc event");
3581 log_err("could not add tcpacc event");
3668 log_err("could not baseset tcpout event");
3734 log_err("could not baseset tcpout event");
3797 log_err("could not baseset localhdl event");
3803 log_err("could not add localhdl event");
3860 log_err("could not baseset rawhdl event");
3866 log_err("could not add rawhdl event");
3896 /* close fd after removing from event lists, or epoll.. is messed up */
4202 comm_timer_callback(int ATTR_UNUSED(fd), short event, void* arg)
4205 if(!(event&UB_EV_TIMEOUT))
4243 comm_signal_callback(int sig, short event, void* arg)
4246 if(!(event & UB_EV_SIGNAL))
4263 /* add signal event */
4267 log_err("Could not create signal event");