]> git.corax.cc Git - corax/commitdiff
Add CONFIG_SOCKET_MAX configuration option to adjust the system-wide socket limit
authorMatthias Kruk <m@m10k.eu>
Thu, 3 Oct 2019 09:36:05 +0000 (18:36 +0900)
committerMatthias Kruk <m@m10k.eu>
Thu, 3 Oct 2019 09:36:05 +0000 (18:36 +0900)
config.h

index 92b285bb300d182a3e3c64e3eaa2ad07ff559d65..502a336f359e10f3a39864ec11fb3d4a5f2d2c80 100644 (file)
--- a/config.h
+++ b/config.h
@@ -41,6 +41,8 @@
 #define CONFIG_DEBUG_SCHED 0
 #define CONFIG_DEBUG_NET   1
 
+#define CONFIG_SOCKET_MAX  1024
+
 /* sanity checks */
 
 #if !defined(CONFIG_SMP_CPUS) || CONFIG_SMP_CPUS == 0