diff options
-rw-r--r-- | ipsvd/Config.in | 20 | ||||
-rw-r--r-- | ipsvd/Kbuild | 9 | ||||
-rw-r--r-- | networking/tcpudp.c (renamed from ipsvd/tcpudp.c) | 5 | ||||
-rw-r--r-- | networking/tcpudp_perhost.c (renamed from ipsvd/ipsvd_perhost.c) | 2 | ||||
-rw-r--r-- | networking/tcpudp_perhost.h (renamed from ipsvd/ipsvd_perhost.h) | 0 |
5 files changed, 4 insertions, 32 deletions
diff --git a/ipsvd/Config.in b/ipsvd/Config.in deleted file mode 100644 index 0cb8c62de..000000000 --- a/ipsvd/Config.in +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | # | ||
2 | # For a description of the syntax of this configuration file, | ||
3 | # see scripts/kbuild/config-language.txt. | ||
4 | # | ||
5 | |||
6 | menu "ipsvd Utilities" | ||
7 | |||
8 | config TCPSVD | ||
9 | bool "tcpsvd" | ||
10 | default n | ||
11 | help | ||
12 | tcpsvd listens on a tcp port and runs a program for each new connection | ||
13 | |||
14 | config UDPSVD | ||
15 | bool "udpsvd" | ||
16 | default n | ||
17 | help | ||
18 | udpsvd listens on a udp port and runs a program for each new connection | ||
19 | |||
20 | endmenu | ||
diff --git a/ipsvd/Kbuild b/ipsvd/Kbuild deleted file mode 100644 index fc34fea49..000000000 --- a/ipsvd/Kbuild +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. | ||
6 | |||
7 | lib-y:= | ||
8 | lib-$(CONFIG_TCPSVD) += tcpudp.o ipsvd_perhost.o | ||
9 | lib-$(CONFIG_UDPSVD) += tcpudp.o ipsvd_perhost.o | ||
diff --git a/ipsvd/tcpudp.c b/networking/tcpudp.c index 729b7bca9..f97787497 100644 --- a/ipsvd/tcpudp.c +++ b/networking/tcpudp.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Licensed under GPLv2, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2, see file LICENSE in this tarball for details. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* Based on ipsvd ipsvd-0.12.1. This tcpsvd accepts all options | 10 | /* Based on ipsvd-0.12.1. This tcpsvd accepts all options |
11 | * which are supported by one from ipsvd-0.12.1, but not all are | 11 | * which are supported by one from ipsvd-0.12.1, but not all are |
12 | * functional. See help text at the end of this file for details. | 12 | * functional. See help text at the end of this file for details. |
13 | * | 13 | * |
@@ -33,7 +33,8 @@ | |||
33 | #include <linux/netfilter_ipv4.h> /* wants <limits.h> */ | 33 | #include <linux/netfilter_ipv4.h> /* wants <limits.h> */ |
34 | 34 | ||
35 | #include "libbb.h" | 35 | #include "libbb.h" |
36 | #include "ipsvd_perhost.h" | 36 | // TODO: move into this file: |
37 | #include "tcpudp_perhost.h" | ||
37 | 38 | ||
38 | #ifdef SSLSVD | 39 | #ifdef SSLSVD |
39 | #include "matrixSsl.h" | 40 | #include "matrixSsl.h" |
diff --git a/ipsvd/ipsvd_perhost.c b/networking/tcpudp_perhost.c index 6075c0a3a..3005f12c0 100644 --- a/ipsvd/ipsvd_perhost.c +++ b/networking/tcpudp_perhost.c | |||
@@ -8,7 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include "libbb.h" | 10 | #include "libbb.h" |
11 | #include "ipsvd_perhost.h" | 11 | #include "tcpudp_perhost.h" |
12 | 12 | ||
13 | static struct hcc *cc; | 13 | static struct hcc *cc; |
14 | static unsigned cclen; | 14 | static unsigned cclen; |
diff --git a/ipsvd/ipsvd_perhost.h b/networking/tcpudp_perhost.h index 9fc8cee61..9fc8cee61 100644 --- a/ipsvd/ipsvd_perhost.h +++ b/networking/tcpudp_perhost.h | |||