-} lstcon_tsb_hdr_t;
-
-typedef struct {
- lstcon_tsb_hdr_t bat_hdr; /* test_batch header */
- struct list_head bat_link; /* chain on session's batches list */
- int bat_ntest; /* # of test */
- int bat_state; /* state of the batch */
- int bat_arg; /* parameter for run|stop, timeout for run, force for stop */
- char bat_name[LST_NAME_SIZE]; /* name of batch */
-
- struct list_head bat_test_list; /* list head of tests (lstcon_test_t) */
- struct list_head bat_trans_list; /* list head of transaction */
- struct list_head bat_cli_list; /* list head of client nodes (lstcon_node_t) */
- struct list_head *bat_cli_hash; /* hash table of client nodes */
- struct list_head bat_srv_list; /* list head of server nodes */
- struct list_head *bat_srv_hash; /* hash table of server nodes */
-} lstcon_batch_t; /*** (tests ) batch descritptor */
-
-typedef struct lstcon_test {
- lstcon_tsb_hdr_t tes_hdr; /* test batch header */
- struct list_head tes_link; /* chain on batch's tests list */
- lstcon_batch_t *tes_batch; /* pointer to batch */
-
- int tes_type; /* type of the test, i.e: bulk, ping */
- int tes_stop_onerr; /* stop on error */
- int tes_oneside; /* one-sided test */
- int tes_concur; /* concurrency */
- int tes_loop; /* loop count */
- int tes_dist; /* nodes distribution of target group */
- int tes_span; /* nodes span of target group */
- int tes_cliidx; /* client index, used for RPC creating */
-
- struct list_head tes_trans_list; /* transaction list */
- lstcon_group_t *tes_src_grp; /* group run the test */
- lstcon_group_t *tes_dst_grp; /* target group */
-
- int tes_paramlen; /* test parameter length */
- char tes_param[0]; /* test parameter */
-} lstcon_test_t; /*** a single test descriptor */
+};
+
+/* (tests ) batch descriptor */
+struct lstcon_batch {
+ /* test_batch header */
+ struct lstcon_tsb_hdr bat_hdr;
+ /* chain on session's batches list */
+ struct list_head bat_link;
+ /* # of test */
+ int bat_ntest;
+ /* state of the batch */
+ int bat_state;
+ /* parameter for run|stop, timeout for run, force for stop */
+ int bat_arg;
+ /* name of batch */
+ char bat_name[LST_NAME_SIZE];
+
+ /* list head of tests (lstcon_test_t) */
+ struct list_head bat_test_list;
+ /* list head of transaction */
+ struct list_head bat_trans_list;
+ /* list head of client nodes (struct lstcon_node) */
+ struct list_head bat_cli_list;
+ /* hash table of client nodes */
+ struct list_head *bat_cli_hash;
+ /* list head of server nodes */
+ struct list_head bat_srv_list;
+ /* hash table of server nodes */
+ struct list_head *bat_srv_hash;
+};
+
+/* a single test descriptor */
+struct lstcon_test {
+ /* test batch header */
+ struct lstcon_tsb_hdr tes_hdr;
+ /* chain on batch's tests list */
+ struct list_head tes_link;
+ /* pointer to batch */
+ struct lstcon_batch *tes_batch;
+
+ int tes_type; /* type of the test, i.e: bulk, ping */
+ int tes_stop_onerr; /* stop on error */
+ int tes_oneside; /* one-sided test */
+ int tes_concur; /* concurrency */
+ int tes_loop; /* loop count */
+ int tes_dist; /* nodes distribution of target group */
+ int tes_span; /* nodes span of target group */
+ int tes_cliidx; /* client index, used for RPC creating */
+
+ struct list_head tes_trans_list; /* transaction list */
+ struct lstcon_group *tes_src_grp; /* group run the test */
+ struct lstcon_group *tes_dst_grp; /* target group */
+
+ int tes_paramlen; /* test parameter length */
+ char tes_param[0]; /* test parameter */
+};