Lines Matching refs:bev
156 struct bufferevent bev; member
411 void bufferevent_init_generic_timeout_cbs_(struct bufferevent *bev);
416 int bufferevent_generic_adj_timeouts_(struct bufferevent *bev);
417 int bufferevent_generic_adj_existing_timeouts_(struct bufferevent *bev);
419 enum bufferevent_options bufferevent_get_options_(struct bufferevent *bev);
422 bufferevent_socket_get_conn_address_(struct bufferevent *bev);
426 #define BEV_RESET_GENERIC_READ_TIMEOUT(bev) \ argument
428 if (evutil_timerisset(&(bev)->timeout_read)) \
429 event_add(&(bev)->ev_read, &(bev)->timeout_read); \
433 #define BEV_RESET_GENERIC_WRITE_TIMEOUT(bev) \ argument
435 if (evutil_timerisset(&(bev)->timeout_write)) \
436 event_add(&(bev)->ev_write, &(bev)->timeout_write); \
438 #define BEV_DEL_GENERIC_READ_TIMEOUT(bev) \ argument
439 event_del(&(bev)->ev_read)
440 #define BEV_DEL_GENERIC_WRITE_TIMEOUT(bev) \ argument
441 event_del(&(bev)->ev_write)
446 #define BEV_UPCAST(b) EVUTIL_UPCAST((b), struct bufferevent_private, bev)
468 int bufferevent_decrement_write_buckets_(struct bufferevent_private *bev,
470 int bufferevent_decrement_read_buckets_(struct bufferevent_private *bev,
472 ev_ssize_t bufferevent_get_read_max_(struct bufferevent_private *bev);
473 ev_ssize_t bufferevent_get_write_max_(struct bufferevent_private *bev);
475 int bufferevent_ratelim_init_(struct bufferevent_private *bev);