comment
This commit is contained in:
parent
f1985c5815
commit
6d58619fbe
10
src/host.c
10
src/host.c
@ -8,6 +8,16 @@
|
|||||||
#include "buddy.h"
|
#include "buddy.h"
|
||||||
#include "atomic.h"
|
#include "atomic.h"
|
||||||
|
|
||||||
|
/* TODO:
|
||||||
|
*
|
||||||
|
* Rate limiting.
|
||||||
|
*
|
||||||
|
* Resequence buffer to order incoming sequenced packets.
|
||||||
|
*
|
||||||
|
* Rolling window for message reassembly.
|
||||||
|
* This would remove the need for random access message buffers.
|
||||||
|
*/
|
||||||
|
|
||||||
#define PACKET_MAGIC 0xd9e3b8b6
|
#define PACKET_MAGIC 0xd9e3b8b6
|
||||||
#define PACKET_MSG_CHUNK_MAX_LEN 1024
|
#define PACKET_MSG_CHUNK_MAX_LEN 1024
|
||||||
#define PACKET_DATA_MAX_LEN 1280 /* Give enough space for msg chunk + header */
|
#define PACKET_DATA_MAX_LEN 1280 /* Give enough space for msg chunk + header */
|
||||||
|
|||||||
@ -1514,7 +1514,6 @@ INTERNAL void user_update(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user