msg_id = bmf.msg_id;
switch (msg_id) {
case MSG_KEEP_ALIVE:
- print_parse_debug("MSG_KEEP_ALIVE\n");
+ print_parse_debug("MSG_KEEP_ALIVE. size=%d\n", size);
ret = msg_keep_alive(&mb);
break;
case MSG_START:
- print_parse_debug("MSG_START\n");
+ print_parse_debug("MSG_START. size=%d\n", size);
ret = msg_start(&mb);
break;
case MSG_STOP:
- print_parse_debug("MSG_STOP\n");
+ print_parse_debug("MSG_STOP. size=%d\n", size);
ret = msg_stop(&mb);
break;
case MSG_CONFIG:
- print_parse_debug("MSG_CONFIG\n");
+ print_parse_debug("MSG_CONFIG. size=%d\n", size);
ret = msg_config(&mb);
break;
case MSG_SWAP_INST_ADD:
- print_parse_debug("MSG_SWAP_INST_ADD\n");
+ print_parse_debug("MSG_SWAP_INST_ADD. size=%d\n", size);
ret = msg_swap_inst_add(&mb);
break;
case MSG_SWAP_INST_REMOVE:
- print_parse_debug("MSG_SWAP_INST_REMOVE\n");
+ print_parse_debug("MSG_SWAP_INST_REMOVE. size=%d\n", size);
ret = msg_swap_inst_remove(&mb);
break;
default:
- print_err("incorrect message ID [%u]\n", msg_id);
+ print_err("incorrect message ID [%u]. size=%d\n", msg_id, size);
ret = -EINVAL;
break;
}