|
static void | ping_sleep_secs (int secs) |
|
int | alloc_buffers (int num, uint32_t segs, m0_bcount_t segsize, struct m0_net_buffer **out) |
|
struct m0_net_buffer * | ping_buf_get (struct ping_ctx *ctx) |
|
void | ping_buf_put (struct ping_ctx *ctx, struct m0_net_buffer *nb) |
|
static void | netbuf_step (struct m0_bufvec_cursor *cur) |
|
int | encode_msg (struct m0_net_buffer *nb, const char *str) |
|
int | encode_desc (struct m0_net_buffer *nb, bool send_desc, const struct m0_net_buf_desc *desc) |
|
int | decode_msg (struct m0_net_buffer *nb, struct ping_msg *msg) |
|
void | msg_free (struct ping_msg *msg) |
|
static struct ping_ctx * | buffer_event_to_ping_ctx (const struct m0_net_buffer_event *ev) |
|
void | c_m_recv_cb (const struct m0_net_buffer_event *ev) |
|
void | c_m_send_cb (const struct m0_net_buffer_event *ev) |
|
void | c_p_recv_cb (const struct m0_net_buffer_event *ev) |
|
void | c_p_send_cb (const struct m0_net_buffer_event *ev) |
|
void | c_a_recv_cb (const struct m0_net_buffer_event *ev) |
|
void | c_a_send_cb (const struct m0_net_buffer_event *ev) |
|
void | event_cb (const struct m0_net_tm_event *ev) |
|
static void | server_event_ident (char *buf, const char *ident, const struct m0_net_buffer_event *ev) |
|
void | s_m_recv_cb (const struct m0_net_buffer_event *ev) |
|
void | s_m_send_cb (const struct m0_net_buffer_event *ev) |
|
void | s_p_recv_cb (const struct m0_net_buffer_event *ev) |
|
void | s_p_send_cb (const struct m0_net_buffer_event *ev) |
|
void | s_a_recv_cb (const struct m0_net_buffer_event *ev) |
|
void | s_a_send_cb (const struct m0_net_buffer_event *ev) |
|
void | ping_fini (struct ping_ctx *ctx) |
|
int | ping_init (struct ping_ctx *ctx) |
|
void | ping_server (struct ping_ctx *ctx) |
|
void | ping_server_should_stop (struct ping_ctx *ctx) |
|
int | ping_client_msg_send_recv (struct ping_ctx *ctx, struct m0_net_end_point *server_ep, const char *data) |
|
int | ping_client_passive_recv (struct ping_ctx *ctx, struct m0_net_end_point *server_ep) |
|
int | ping_client_passive_send (struct ping_ctx *ctx, struct m0_net_end_point *server_ep, const char *data) |
|
int | ping_client_init (struct ping_ctx *ctx, struct m0_net_end_point **server_ep) |
|
int | ping_client_fini (struct ping_ctx *ctx, struct m0_net_end_point *server_ep) |
|