|
static void | ping_print_qstats (struct nlx_ping_ctx *ctx, struct m0_net_qstats *qp, bool accumulate) |
|
void | nlx_ping_print_qstats_tm (struct nlx_ping_ctx *ctx, bool reset) |
|
int | nlx_ping_print_qstats_total (const char *ident, const struct nlx_ping_ops *ops) |
|
uint64_t | nlx_ping_parse_uint64 (const char *s) |
|
static void | ping_sleep_secs (int secs) |
|
static int | alloc_buffers (int num, uint32_t segs, m0_bcount_t segsize, unsigned shift, struct m0_net_buffer **out) |
|
static struct m0_net_buffer * | ping_buf_get (struct nlx_ping_ctx *ctx) |
|
static void | ping_buf_put (struct nlx_ping_ctx *ctx, struct m0_net_buffer *nb) |
|
static int | encode_msg (struct m0_net_buffer *nb, const char *str) |
|
static int | encode_desc (struct m0_net_buffer *nb, bool send_desc, unsigned passive_size, const struct m0_net_buf_desc *desc) |
|
static int | decode_msg (struct m0_net_buffer *nb, m0_bcount_t nb_len, m0_bcount_t nb_offset, struct ping_msg *msg) |
|
static void | msg_free (struct ping_msg *msg) |
|
static void | ping_print_interfaces (struct nlx_ping_ctx *ctx) |
|
static struct nlx_ping_ctx * | buffer_event_to_ping_ctx (const struct m0_net_buffer_event *ev) |
|
static void | c_m_recv_cb (const struct m0_net_buffer_event *ev) |
|
static void | c_m_send_cb (const struct m0_net_buffer_event *ev) |
|
static void | c_p_recv_cb (const struct m0_net_buffer_event *ev) |
|
static void | c_p_send_cb (const struct m0_net_buffer_event *ev) |
|
static void | c_a_recv_cb (const struct m0_net_buffer_event *ev) |
|
static void | c_a_send_cb (const struct m0_net_buffer_event *ev) |
|
static void | event_cb (const struct m0_net_tm_event *ev) |
|
static void | server_event_ident (char *buf, size_t len, const char *ident, const struct m0_net_buffer_event *ev) |
|
static void | s_m_recv_cb (const struct m0_net_buffer_event *ev) |
|
static void | s_m_send_cb (const struct m0_net_buffer_event *ev) |
|
static void | s_p_recv_cb (const struct m0_net_buffer_event *ev) |
|
static void | s_p_send_cb (const struct m0_net_buffer_event *ev) |
|
static void | s_a_recv_cb (const struct m0_net_buffer_event *ev) |
|
static void | s_a_send_cb (const struct m0_net_buffer_event *ev) |
|
static void | ping_fini (struct nlx_ping_ctx *ctx) |
|
static bool | ping_workq_clink_cb (struct m0_clink *cl) |
|
static bool | ping_net_clink_cb (struct m0_clink *cl) |
|
static int | ping_init (struct nlx_ping_ctx *ctx) |
|
static bool | ping_tm_timedwait (struct nlx_ping_ctx *ctx, struct m0_clink *cl, m0_time_t timeout) |
|
static void | ping_tm_wait (struct nlx_ping_ctx *ctx, struct m0_clink *cl) |
|
static void | set_msg_timeout (struct nlx_ping_ctx *ctx, struct m0_net_buffer *nb) |
|
static void | set_bulk_timeout (struct nlx_ping_ctx *ctx, struct m0_net_buffer *nb) |
|
static void | nlx_ping_server_work (struct nlx_ping_ctx *ctx) |
|
static void | nlx_ping_server_async (struct nlx_ping_ctx *ctx) |
|
static void | nlx_ping_server_sync (struct nlx_ping_ctx *ctx) |
|
static void | nlx_ping_server (struct nlx_ping_ctx *ctx) |
|
void | nlx_ping_server_should_stop (struct nlx_ping_ctx *ctx) |
|
void | nlx_ping_server_spawn (struct m0_thread *server_thread, struct nlx_ping_ctx *sctx) |
|
static int | nlx_ping_client_msg_send_recv (struct nlx_ping_ctx *ctx, struct m0_net_end_point *server_ep, const char *data) |
|
static int | nlx_ping_client_passive_recv (struct nlx_ping_ctx *ctx, struct m0_net_end_point *server_ep) |
|
static int | nlx_ping_client_passive_send (struct nlx_ping_ctx *ctx, struct m0_net_end_point *server_ep, const char *data) |
|
static int | nlx_ping_client_init (struct nlx_ping_ctx *ctx, struct m0_net_end_point **server_ep) |
|
static void | nlx_ping_client_fini (struct nlx_ping_ctx *ctx, struct m0_net_end_point *server_ep) |
|
void | nlx_ping_client (struct nlx_ping_client_params *params) |
|
void | nlx_ping_init () |
|
void | nlx_ping_fini () |
|