|
static void | _conn_close (UNUSED fr_event_list_t *el, void *h, UNUSED void *uctx) |
|
static void | _conn_io_error (UNUSED fr_event_list_t *el, UNUSED int fd, UNUSED int flags, UNUSED int fd_errno, void *uctx) |
|
static void | _conn_io_loopback (UNUSED fr_event_list_t *el, int fd, UNUSED int flags, void *uctx) |
| Whenever the second socket in a socket pair is readable, read all pending data, and write it back. More...
|
|
static void | _conn_io_read (UNUSED fr_event_list_t *el, UNUSED int fd, UNUSED int flags, void *uctx) |
|
static void | _conn_io_write (UNUSED fr_event_list_t *el, UNUSED int fd, UNUSED int flags, void *uctx) |
|
static void | _conn_notify (trunk_connection_t *tconn, connection_t *conn, fr_event_list_t *el, trunk_connection_event_t notify_on, UNUSED void *uctx) |
|
static connection_state_t | _conn_open (fr_event_list_t *el, void *h, UNUSED void *uctx) |
| Insert I/O handlers that loop any data back round. More...
|
|
| CC_NO_UBSAN (function) |
| Allocate a basic socket pair. More...
|
|
static void | test_cancel_mux (UNUSED fr_event_list_t *el, trunk_connection_t *tconn, connection_t *conn, UNUSED void *uctx) |
|
static void | test_connection_levels_alternating_edges (void) |
|
static void | test_connection_levels_max (void) |
|
static void | test_connection_rebalance_requests (void) |
|
static void | test_connection_start_on_enqueue (void) |
|
static void | test_demux (UNUSED fr_event_list_t *el, UNUSED trunk_connection_t *tconn, connection_t *conn, UNUSED void *uctx) |
|
static void | test_enqueue_and_io_speed (void) |
|
static void | test_enqueue_basic (void) |
|
static void | test_enqueue_cancellation_points (void) |
|
static void | test_mux (UNUSED fr_event_list_t *el, trunk_connection_t *tconn, connection_t *conn, UNUSED void *uctx) |
|
static void | test_partial_to_complete_states (void) |
|
static int8_t | test_preq_cmp (void const *a, void const *b) |
|
static void | test_request_cancel (UNUSED connection_t *conn, void *preq, UNUSED trunk_cancel_reason_t reason, void *uctx) |
|
static void | test_request_complete (UNUSED request_t *request, void *preq, UNUSED void *rctx, void *uctx) |
|
static void | test_request_fail (UNUSED request_t *request, void *preq, UNUSED void *rctx, UNUSED trunk_request_state_t state, void *uctx) |
|
static void | test_request_free (UNUSED request_t *request, void *preq, void *uctx) |
|
static void | test_requeue_on_reconnect (void) |
|
static connection_t * | test_setup_socket_pair_1s_reconnection_delay_alloc (trunk_connection_t *tconn, fr_event_list_t *el, UNUSED connection_conf_t const *conn_conf, char const *log_prefix, void *uctx) |
|
static connection_t * | test_setup_socket_pair_1s_timeout_connection_alloc (trunk_connection_t *tconn, fr_event_list_t *el, UNUSED connection_conf_t const *conf, char const *log_prefix, void *uctx) |
|
static connection_t * | test_setup_socket_pair_connection_alloc (trunk_connection_t *tconn, fr_event_list_t *el, connection_conf_t const *conn_conf, char const *log_prefix, UNUSED void *uctx) |
|
static trunk_t * | test_setup_trunk (TALLOC_CTX *ctx, fr_event_list_t *el, trunk_conf_t *conf, bool with_cancel_mux, void *uctx) |
|
static void | test_socket_pair_alloc_then_connect_timeout (void) |
|
static void | test_socket_pair_alloc_then_free (void) |
|
static void | test_socket_pair_alloc_then_reconnect_check_delay (void) |
|
static void | test_socket_pair_alloc_then_reconnect_then_free (void) |
|