mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-01 23:25:09 +02:00
improve packet error logging and handling
This commit is contained in:
@@ -13,6 +13,7 @@ inline int div_floor (int a, int b) {
|
||||
return a % b < 0 ? (a - b) / b : a / b;
|
||||
}
|
||||
|
||||
extern uint64_t total_bytes_received;
|
||||
ssize_t recv_all (int client_fd, void *buf, size_t n, uint8_t require_first);
|
||||
ssize_t send_all (int client_fd, const void *buf, ssize_t len);
|
||||
|
||||
|
Reference in New Issue
Block a user