update stellar thread main loop
This commit is contained in:
@@ -60,8 +60,8 @@ struct packet_io_stat *packet_io_get_stat(struct packet_io *handle);
|
||||
|
||||
// return 0 if success, -1 if failed
|
||||
int packet_io_init(struct packet_io *handle, uint16_t thread_id);
|
||||
int packet_io_recv(struct packet_io *handle, uint16_t thread_id, struct packet **pkt);
|
||||
void packet_io_send(struct packet_io *handle, uint16_t thread_id, struct packet *pkt);
|
||||
int packet_io_ingress(struct packet_io *handle, uint16_t thread_id, struct packet *pkts, int nr_pkts);
|
||||
void packet_io_egress(struct packet_io *handle, uint16_t thread_id, struct packet *pkts, int nr_pkts);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user