rename packet_io_ingress/egress to packet_io_input/output
This commit is contained in:
@@ -219,7 +219,7 @@ static void *work_thread(void *arg)
|
||||
|
||||
if (packet_io_init(packet_io, thr_idx) != 0)
|
||||
{
|
||||
CORE_LOG_ERROR("unable to init marsio thread");
|
||||
CORE_LOG_ERROR("unable to init packet io");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -237,7 +237,7 @@ static void *work_thread(void *arg)
|
||||
* Suggestion: After modifying the system time, restart the service to ensure consistent timing.
|
||||
*/
|
||||
now_ms = clock_get_real_time_ms();
|
||||
nr_recv = packet_io_ingress(packet_io, thr_idx, packets, RX_BURST_MAX);
|
||||
nr_recv = packet_io_input(packet_io, thr_idx, packets, RX_BURST_MAX);
|
||||
if (nr_recv == 0)
|
||||
{
|
||||
goto idle_tasks;
|
||||
@@ -323,12 +323,12 @@ static void *work_thread(void *arg)
|
||||
{
|
||||
// TODO
|
||||
// copy meta from defraged_pkt to packets[i]
|
||||
packet_io_egress(packet_io, thr_idx, &packets[i], 1);
|
||||
packet_io_output(packet_io, thr_idx, &packets[i], 1);
|
||||
packet_free(defraged_pkt);
|
||||
}
|
||||
else
|
||||
{
|
||||
packet_io_egress(packet_io, thr_idx, pkt, 1);
|
||||
packet_io_output(packet_io, thr_idx, pkt, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -717,7 +717,7 @@ void stellar_send_build_packet(struct stellar *st, struct packet *pkt)
|
||||
{
|
||||
// TODO
|
||||
abort();
|
||||
packet_io_egress(packet_io, thr_idx, pkt, 1);
|
||||
packet_io_output(packet_io, thr_idx, pkt, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user