Motr
M0
|
#include <commands.h>
Data Fields | |
enum m0_net_test_cmd_type | ntc_type |
union { | |
struct m0_net_test_cmd_done ntc_done | |
struct m0_net_test_cmd_init ntc_init | |
struct m0_net_test_cmd_status_data ntc_status_data | |
}; | |
ssize_t | ntc_ep_index |
size_t | ntc_buf_index |
Command structure to exchange between console and clients or servers. WARNING: be sure to change cmd_serialize() after changes to this structure.
Definition at line 202 of file commands.h.
union { ... } |
command structures
size_t ntc_buf_index |
buffer index. set in m0_net_test_commands_recv()
Definition at line 220 of file commands.h.
struct m0_net_test_cmd_done ntc_done |
Definition at line 207 of file commands.h.
ssize_t ntc_ep_index |
Endpoint index in commands context. Set in m0_net_test_commands_recv(). Used in m0_net_test_commands_send(). Will be set to -1 in m0_net_test_commands_recv() if endpoint isn't present in commands context endpoints list.
Definition at line 218 of file commands.h.
struct m0_net_test_cmd_init ntc_init |
Definition at line 208 of file commands.h.
struct m0_net_test_cmd_status_data ntc_status_data |
Definition at line 209 of file commands.h.
enum m0_net_test_cmd_type ntc_type |
command type
Definition at line 204 of file commands.h.