Motr
M0
|
#include "lib/arith.h"
#include "lib/assert.h"
#include "lib/misc.h"
#include "lib/thread.h"
#include "ut/ut.h"
#include "net/bulk_emulation/mem_xprt_xo.c"
#include "net/bulk_emulation/st/ping.c"
Go to the source code of this file.
Enumerations | |
enum | { NR_BUFS = 10 } |
enum | { PING_CLIENT_SEGMENTS = 8, PING_CLIENT_SEGMENT_SIZE = 512, PING_SERVER_SEGMENTS = 4, PING_SERVER_SEGMENT_SIZE = 1024, PING_NR_BUFS = 20 } |
Functions | |
static void | test_buf_copy (void) |
void | tf_tm_cb1 (const struct m0_net_tm_event *ev) |
static void | test_ep (void) |
void | tf_buf_cb1 (const struct m0_net_buffer_event *ev) |
void | tf_cbreset1 (void) |
void | tf_tm_cb2 (const struct m0_net_tm_event *ev) |
void | tf_buf_cb2 (const struct m0_net_buffer_event *ev) |
void | tf_cbreset2 (void) |
void | tf_cbreset (void) |
static void | test_failure (void) |
static int | quiet_printf (const char *fmt,...) |
static void | test_ping (void) |
static void | ntc_event_callback (const struct m0_net_tm_event *ev) |
static void | test_tm (void) |
Variables | |
static enum m0_net_tm_ev_type | cb_evt1 |
static enum m0_net_queue_type | cb_qt1 |
static struct m0_net_buffer * | cb_nb1 |
static enum m0_net_tm_state | cb_tms1 |
static int32_t | cb_status1 |
static enum m0_net_tm_ev_type | cb_evt2 |
static enum m0_net_queue_type | cb_qt2 |
static struct m0_net_buffer * | cb_nb2 |
static enum m0_net_tm_state | cb_tms2 |
static int32_t | cb_status2 |
static struct ping_ops | quiet_ops |
struct m0_ut_suite | m0_net_bulk_mem_ut |
anonymous enum |
Enumerator | |
---|---|
NR_BUFS |
Definition at line 35 of file bulk_mem_ut.c.
anonymous enum |
Enumerator | |
---|---|
PING_CLIENT_SEGMENTS | |
PING_CLIENT_SEGMENT_SIZE | |
PING_SERVER_SEGMENTS | |
PING_SERVER_SEGMENT_SIZE | |
PING_NR_BUFS |
Definition at line 677 of file bulk_mem_ut.c.
|
static |
|
static |
Definition at line 684 of file bulk_mem_ut.c.
|
static |
|
static |
|
static |
|
static |
|
static |
void tf_buf_cb1 | ( | const struct m0_net_buffer_event * | ev | ) |
void tf_buf_cb2 | ( | const struct m0_net_buffer_event * | ev | ) |
void tf_cbreset | ( | void | ) |
Definition at line 221 of file bulk_mem_ut.c.
void tf_cbreset1 | ( | void | ) |
void tf_cbreset2 | ( | void | ) |
void tf_tm_cb1 | ( | const struct m0_net_tm_event * | ev | ) |
void tf_tm_cb2 | ( | const struct m0_net_tm_event * | ev | ) |
|
static |
Definition at line 157 of file bulk_mem_ut.c.
|
static |
Definition at line 189 of file bulk_mem_ut.c.
|
static |
Definition at line 159 of file bulk_mem_ut.c.
|
static |
Definition at line 191 of file bulk_mem_ut.c.
|
static |
Definition at line 158 of file bulk_mem_ut.c.
|
static |
Definition at line 190 of file bulk_mem_ut.c.
|
static |
Definition at line 161 of file bulk_mem_ut.c.
|
static |
Definition at line 193 of file bulk_mem_ut.c.
|
static |
Definition at line 160 of file bulk_mem_ut.c.
|
static |
Definition at line 192 of file bulk_mem_ut.c.
struct m0_ut_suite m0_net_bulk_mem_ut |
Definition at line 819 of file bulk_mem_ut.c.
|
static |
Definition at line 689 of file bulk_mem_ut.c.