]> git.meshlink.io Git - utcp/blobdiff - utcp_priv.h
Turn magic numbers into #defines.
[utcp] / utcp_priv.h
index 69f1b0da5347371649da4dbaa92973cfed0617eb..3a119f16cf60a878e327e0b9ebe49efe3aff2f62 100644 (file)
 #define DEFAULT_RCVBUFSIZE 0
 #define DEFAULT_MAXRCVBUFSIZE 131072
 
+#define DEFAULT_MTU 1000
+
+#define DEFAULT_USER_TIMEOUT 60 // s
+
 struct hdr {
        uint16_t src; // Source port
        uint16_t dst; // Destination port