#define AUX_TIMESTAMP 4
#define NSACKS 4
-#define DEFAULT_SNDBUFSIZE 4096
+#define DEFAULT_SNDBUFSIZE 0
#define DEFAULT_MAXSNDBUFSIZE 131072
#define DEFAULT_RCVBUFSIZE 0
#define DEFAULT_MAXRCVBUFSIZE 131072
-#define MAX_UNRELIABLE_SIZE 65536
+#define MAX_UNRELIABLE_SIZE 16777215
#define DEFAULT_MTU 1000
#define USEC_PER_SEC 1000000L
uint32_t used;
uint32_t size;
uint32_t maxsize;
+ bool external;
};
struct sack {
// Callbacks
utcp_accept_t accept;
- utcp_pre_accept_t pre_accept;
+ utcp_listen_t listen;
utcp_retransmit_t retransmit;
utcp_send_t send;