Adjust thread index type to uint16 for future expansion & Organize stellar directory files
This commit is contained in:
@@ -90,7 +90,6 @@ uint16_t packet_get_payload_len(const struct packet *pkt);
|
||||
int packet_need_drop(const struct packet *pkt);
|
||||
void packet_set_drop(struct packet *pkt);
|
||||
|
||||
void packet_set_ctrl(struct packet *pkt);
|
||||
int packet_is_ctrl(const struct packet *pkt);
|
||||
|
||||
void packet_set_direction(struct packet *pkt, int dir);
|
||||
|
||||
@@ -60,6 +60,10 @@ enum session_stat
|
||||
STAT_DUP_PKTS_BYPASS,
|
||||
STAT_DUP_BYTES_BYPASS,
|
||||
|
||||
STAT_INJ_PKTS_FAIL, // TODO
|
||||
STAT_INJ_PKTS_SUSS, // TODO
|
||||
STAT_INJ_BYTES_SUSS, // TODO
|
||||
|
||||
// control packet
|
||||
STAT_CTRL_PKTS_RX, // TODO
|
||||
STAT_CTRL_BYTES_RX, // TODO
|
||||
|
||||
@@ -8,7 +8,7 @@ extern "C"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
uint8_t stellar_get_current_thread_index();
|
||||
uint16_t stellar_get_current_thread_index();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user