GitLab maintenance scheduled for Tomorrow, 2020-03-31, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit d63ad5de authored by Jonathan Jenkins's avatar Jonathan Jenkins

reflect updated model_net_event signature

parent 51ea02b0
...@@ -441,7 +441,7 @@ static void handle_kickoff_event( ...@@ -441,7 +441,7 @@ static void handle_kickoff_event(
/* model-net needs to know about (1) higher-level destination LP which is a neighboring server in this case /* model-net needs to know about (1) higher-level destination LP which is a neighboring server in this case
* (2) struct and size of remote message and (3) struct and size of local message (a local message can be null) */ * (2) struct and size of remote message and (3) struct and size of local message (a local message can be null) */
model_net_event(net_id, "test", dest_id, payload_sz, sizeof(svr_msg), model_net_event(net_id, "test", dest_id, payload_sz, 0.0, sizeof(svr_msg),
(const void*)&m_remote, sizeof(svr_msg), (const void*)&m_local, lp); (const void*)&m_remote, sizeof(svr_msg), (const void*)&m_local, lp);
ns->msg_sent_count++; ns->msg_sent_count++;
} }
...@@ -489,7 +489,7 @@ static void handle_ack_event( ...@@ -489,7 +489,7 @@ static void handle_ack_event(
m_remote.src = lp->gid; m_remote.src = lp->gid;
/* send another request */ /* send another request */
model_net_event(net_id, "test", m->src, payload_sz, sizeof(svr_msg), model_net_event(net_id, "test", m->src, payload_sz, 0.0, sizeof(svr_msg),
(const void*)&m_remote, sizeof(svr_msg), (const void*)&m_local, lp); (const void*)&m_remote, sizeof(svr_msg), (const void*)&m_local, lp);
ns->msg_sent_count++; ns->msg_sent_count++;
m->incremented_flag = 1; m->incremented_flag = 1;
...@@ -530,7 +530,7 @@ static void handle_req_event( ...@@ -530,7 +530,7 @@ static void handle_req_event(
/* also trigger a local event for completion of payload msg */ /* also trigger a local event for completion of payload msg */
/* remote host will get an ack event */ /* remote host will get an ack event */
model_net_event(net_id, "test", m->src, payload_sz, sizeof(svr_msg), model_net_event(net_id, "test", m->src, payload_sz, 0.0, sizeof(svr_msg),
(const void*)&m_remote, sizeof(svr_msg), (const void*)&m_local, lp); (const void*)&m_remote, sizeof(svr_msg), (const void*)&m_local, lp);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment