- PERF_STOP_INCREASE_COUNT("lwip_netconn_do_write", PERF_LAYER_TCP); if (err == ERR_OK) { if (bytes_written != NULL) { *bytes_written = API_MSG_VAR_REF(msg).msg.w.offset; diff --git a/src/api/api_msg.c b/src/api/api_msg.c ...