aboutsummaryrefslogtreecommitdiff
path: root/semestr-4/sieci/pracownia2/router/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'semestr-4/sieci/pracownia2/router/config.h')
-rw-r--r--semestr-4/sieci/pracownia2/router/config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/semestr-4/sieci/pracownia2/router/config.h b/semestr-4/sieci/pracownia2/router/config.h
new file mode 100644
index 0000000..f83c556
--- /dev/null
+++ b/semestr-4/sieci/pracownia2/router/config.h
@@ -0,0 +1,15 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
+#define SERVER_PORT 54321
+#define TURN_LEN_S 5
+
+#define INFINITY_DIST 16
+#define REACHABILITY_WAIT_TIME 3
+
+#define DV_DATAGRAM_LEN 9
+
+#define TURN_LEN_MS (1000 * TURN_LEN_S)
+#define TURN_LEN_US (1000000 * TURN_LEN_S)
+
+#endif