summaryrefslogtreecommitdiffstats
path: root/fpm/fpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpm/fpm.h')
-rw-r--r--fpm/fpm.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/fpm/fpm.h b/fpm/fpm.h
index 96f05f486..9a1dbf2b0 100644
--- a/fpm/fpm.h
+++ b/fpm/fpm.h
@@ -87,6 +87,14 @@
* table(s) when it reconnects.
*/
+/*
+ * Local host as a default server for fpm connection
+ */
+#define FPM_DEFAULT_IP (htonl (INADDR_LOOPBACK))
+
+/*
+ * default port for fpm connections
+ */
#define FPM_DEFAULT_PORT 2620
/*
@@ -270,4 +278,10 @@ fpm_msg_ok (const fpm_msg_hdr_t *hdr, size_t len)
return 1;
}
+// tcp maximum range
+#define TCP_MAX_PORT 65535
+
+// tcp minimum range
+#define TCP_MIN_PORT 1
+
#endif /* _FPM_H */