Go to the source code of this file.
◆ CLIENT_DB_NAME
#define CLIENT_DB_NAME "fdmi_filterc_ut.db" |
◆ CLIENT_ENDPOINT_ADDR
#define CLIENT_ENDPOINT_ADDR "0@lo:12345:34:*" |
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_FDMI |
◆ SERVER_ADDB_STOB_NAME
#define SERVER_ADDB_STOB_NAME "linuxstob:fdmi_filterc_ut.addb_stob" |
◆ SERVER_DB_NAME
#define SERVER_DB_NAME "fdmi_filterc_ut.db" |
◆ SERVER_ENDPOINT
◆ SERVER_ENDPOINT_ADDR [1/2]
#define SERVER_ENDPOINT_ADDR "0@lo:12345:34:1" |
◆ SERVER_ENDPOINT_ADDR [2/2]
#define SERVER_ENDPOINT_ADDR "0@lo:12345:34:1" |
◆ SERVER_LOG_NAME
#define SERVER_LOG_NAME "fdmi_filterc_ut.log" |
◆ SERVER_STOB_NAME
#define SERVER_STOB_NAME "fdmi_filterc_ut.stob" |
◆ anonymous enum
Enumerator |
---|
MAX_RPCS_IN_FLIGHT | |
Definition at line 69 of file filterc_ut.c.
◆ filterc_connect_to_confd()
static void filterc_connect_to_confd |
( |
void |
| ) |
|
|
static |
◆ motr2reqh()
◆ rpc_client_and_server_start()
static void rpc_client_and_server_start |
( |
void |
| ) |
|
|
static |
◆ rpc_client_and_server_stop()
static void rpc_client_and_server_stop |
( |
void |
| ) |
|
|
static |
◆ src_alloc()
◆ test_fs_begin()
◆ test_fs_encode()
◆ test_fs_end()
◆ test_fs_get()
◆ test_fs_node_eval()
Configuration root definition for the filter, contains two bool operands, one of them is true and this what we check here. However src_rec->fsr_matched is set in fdmi_eval generic code and this callback is only called for var nodes but is mandatory for registering custom filter. So basically this is just in case.
Definition at line 179 of file filterc_ut.c.
◆ test_fs_put()
◆ ut_filterc_fco_start()
◆ ut_filterc_start()
static int ut_filterc_start |
( |
| ) |
|
|
static |
◆ cctx
Initial value:= {
}
static struct m0_net_domain client_net_dom
#define SERVER_ENDPOINT_ADDR
struct m0_fid g_process_fid
#define CLIENT_ENDPOINT_ADDR
Definition at line 80 of file filterc_ut.c.
◆ client_net_dom
◆ cond_mutex
◆ fdmi_filterc_ut
Initial value:= {
.ts_name = "fdmi-filterc-ut",
.ts_tests = {
},
}
static void filterc_connect_to_confd(void)
Definition at line 299 of file filterc_ut.c.
◆ g_fdmi_data
char g_fdmi_data[] = "hello, FDMI" |
|
static |
◆ g_src_rec
◆ match_cond
◆ sctx
Initial value:= {
.rsx_xprts_nr = 1,
}
static char * server_argv[]
Definition at line 73 of file filterc_ut.c.
◆ server_argv
Initial value:= {
}
#define M0_SRC_PATH(name)
#define SERVER_ADDB_STOB_NAME
#define SERVER_ENDPOINT_ADDR
Definition at line 62 of file filterc_ut.c.
◆ ufc_fco
◆ ufc_fdmi_service