aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-26 19:00:18 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-26 19:00:18 +0000
commitb6adbf1be29841501cc49917249e85f273e1df7c (patch)
treee28a5603e6009b2479e949b8b9b4aa0620fed400 /networking
parent5a6aeddfa7262e41802c77f70c9ef88e9c2c2476 (diff)
downloadbusybox-b6adbf1be29841501cc49917249e85f273e1df7c.tar.gz
usage.c: remove reference to busybox.h
*: s/include "busybox.h"/include "libbb.h"
Diffstat (limited to 'networking')
-rw-r--r--networking/arp.c2
-rw-r--r--networking/arping.c2
-rw-r--r--networking/dnsd.c2
-rw-r--r--networking/ether-wake.c2
-rw-r--r--networking/ftpgetput.c2
-rw-r--r--networking/hostname.c2
-rw-r--r--networking/httpd.c2
-rw-r--r--networking/ifconfig.c2
-rw-r--r--networking/ifupdown.c3
-rw-r--r--networking/inetd.c2
-rw-r--r--networking/interface.c2
-rw-r--r--networking/ip.c2
-rw-r--r--networking/ipcalc.c4
-rw-r--r--networking/isrv.c2
-rw-r--r--networking/isrv_identd.c2
-rw-r--r--networking/libiproute/ip_common.h2
-rw-r--r--networking/nameif.c2
-rw-r--r--networking/nc.c2
-rw-r--r--networking/nc_bloaty.c2
-rw-r--r--networking/netstat.c2
-rw-r--r--networking/nslookup.c2
-rw-r--r--networking/ping.c2
-rw-r--r--networking/route.c5
-rw-r--r--networking/telnet.c2
-rw-r--r--networking/telnetd.c2
-rw-r--r--networking/tftp.c2
-rw-r--r--networking/traceroute.c2
-rw-r--r--networking/udhcp/common.h2
-rw-r--r--networking/vconfig.c2
-rw-r--r--networking/wget.c2
-rw-r--r--networking/zcip.c2
31 files changed, 35 insertions, 33 deletions
diff --git a/networking/arp.c b/networking/arp.c
index 7a36f44bb..6a7c862b8 100644
--- a/networking/arp.c
+++ b/networking/arp.c
@@ -13,7 +13,7 @@
* modified for getopt32 by Arne Bernin <arne [at] alamut.de>
*/
-#include "busybox.h"
+#include "libbb.h"
#include "inet_common.h"
#include <arpa/inet.h>
diff --git a/networking/arping.c b/networking/arping.c
index d71ac4930..0371df369 100644
--- a/networking/arping.c
+++ b/networking/arping.c
@@ -16,7 +16,7 @@
#include <netinet/ether.h>
#include <netpacket/packet.h>
-#include "busybox.h"
+#include "libbb.h"
static struct in_addr src;
static struct in_addr dst;
diff --git a/networking/dnsd.c b/networking/dnsd.c
index 8807bbedc..32166e555 100644
--- a/networking/dnsd.c
+++ b/networking/dnsd.c
@@ -18,7 +18,7 @@
*/
#include <syslog.h>
-#include "busybox.h"
+#include "libbb.h"
//#define DEBUG 1
#define DEBUG 0
diff --git a/networking/ether-wake.c b/networking/ether-wake.c
index ed41590aa..9de0d489b 100644
--- a/networking/ether-wake.c
+++ b/networking/ether-wake.c
@@ -70,7 +70,7 @@
#include <netinet/ether.h>
#include <linux/if.h>
-#include "busybox.h"
+#include "libbb.h"
/* Note: PF_INET, SOCK_DGRAM, IPPROTO_UDP would allow SIOCGIFHWADDR to
* work as non-root, but we need SOCK_PACKET to specify the Ethernet
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index 9b0510df9..54b5f5a91 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -13,8 +13,8 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include "busybox.h"
#include <getopt.h>
+#include "libbb.h"
typedef struct ftp_host_info_s {
const char *user;
diff --git a/networking/hostname.c b/networking/hostname.c
index 3f6a658d6..50ef7b5d1 100644
--- a/networking/hostname.c
+++ b/networking/hostname.c
@@ -12,7 +12,7 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include "busybox.h"
+#include "libbb.h"
static void do_sethostname(char *s, int isfile)
{
diff --git a/networking/httpd.c b/networking/httpd.c
index d8ea483eb..f47e2c11f 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -91,7 +91,7 @@
*
*/
-#include "busybox.h"
+#include "libbb.h"
/* amount of buffering in a pipe */
#ifndef PIPE_BUF
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index 3dcc902ca..5742399c5 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -37,7 +37,7 @@
#include <netinet/if_ether.h>
#endif
#include "inet_common.h"
-#include "busybox.h"
+#include "libbb.h"
#if ENABLE_FEATURE_IFCONFIG_SLIP
# include <net/if_slip.h>
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 5b2251777..8e8341e96 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -15,11 +15,12 @@
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
-#include "busybox.h"
#include <sys/utsname.h>
#include <fnmatch.h>
#include <getopt.h>
+#include "libbb.h"
+
#define MAX_OPT_DEPTH 10
#define EUNBALBRACK 10001
#define EUNDEFVAR 10002
diff --git a/networking/inetd.c b/networking/inetd.c
index dc191a40e..211a8dcbf 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -155,7 +155,7 @@
* setuid()
*/
-#include "busybox.h"
+#include "libbb.h"
#include <syslog.h>
#include <sys/un.h>
diff --git a/networking/interface.c b/networking/interface.c
index b1b935e7e..51e3d7487 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -34,7 +34,7 @@
#include <net/if.h>
#include <net/if_arp.h>
#include "inet_common.h"
-#include "busybox.h"
+#include "libbb.h"
#if ENABLE_FEATURE_IPV6
# define HAVE_AFINET6 1
diff --git a/networking/ip.c b/networking/ip.c
index c7816c8cc..0105bd98b 100644
--- a/networking/ip.c
+++ b/networking/ip.c
@@ -13,7 +13,7 @@
* Bernhard Fischer rewrote to use index_in_substr_array
*/
-#include "busybox.h"
+#include "libbb.h"
#include "libiproute/utils.h"
#include "libiproute/ip_common.h"
diff --git a/networking/ipcalc.c b/networking/ipcalc.c
index 63ce99ffe..a39ad1a67 100644
--- a/networking/ipcalc.c
+++ b/networking/ipcalc.c
@@ -12,12 +12,12 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include "busybox.h"
-#include <ctype.h>
#include <getopt.h>
#include <sys/socket.h>
#include <arpa/inet.h>
+#include "libbb.h"
+
#define CLASS_A_NETMASK ntohl(0xFF000000)
#define CLASS_B_NETMASK ntohl(0xFFFF0000)
#define CLASS_C_NETMASK ntohl(0xFFFFFF00)
diff --git a/networking/isrv.c b/networking/isrv.c
index f0df2229c..a51618af1 100644
--- a/networking/isrv.c
+++ b/networking/isrv.c
@@ -8,7 +8,7 @@
* Licensed under GPL version 2, see file LICENSE in this tarball for details.
*/
-#include "busybox.h"
+#include "libbb.h"
#include "isrv.h"
#define DEBUG 0
diff --git a/networking/isrv_identd.c b/networking/isrv_identd.c
index 59daf99ed..84cf6da6a 100644
--- a/networking/isrv_identd.c
+++ b/networking/isrv_identd.c
@@ -8,7 +8,7 @@
*/
#include <syslog.h>
-#include "busybox.h"
+#include "libbb.h"
#include "isrv.h"
enum { TIMEOUT = 20 };
diff --git a/networking/libiproute/ip_common.h b/networking/libiproute/ip_common.h
index 96df6100a..97101079f 100644
--- a/networking/libiproute/ip_common.h
+++ b/networking/libiproute/ip_common.h
@@ -2,7 +2,7 @@
#ifndef _IP_COMMON_H
#define _IP_COMMON_H 1
-#include "busybox.h"
+#include "libbb.h"
#include <asm/types.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
diff --git a/networking/nameif.c b/networking/nameif.c
index ec77512c3..a65f30819 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -9,7 +9,7 @@
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
-#include "busybox.h"
+#include "libbb.h"
#include <syslog.h>
#include <net/if.h>
#include <netinet/ether.h>
diff --git a/networking/nc.c b/networking/nc.c
index e89eb7615..1fb38f83c 100644
--- a/networking/nc.c
+++ b/networking/nc.c
@@ -7,7 +7,7 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include "busybox.h"
+#include "libbb.h"
#if ENABLE_DESKTOP
#include "nc_bloaty.c"
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c
index 57af7ebe5..3e333b7d5 100644
--- a/networking/nc_bloaty.c
+++ b/networking/nc_bloaty.c
@@ -48,7 +48,7 @@
* are closed, but nc doesn't exit - continues to listen/accept.
*/
-/* done in nc.c: #include "busybox.h" */
+/* done in nc.c: #include "libbb.h" */
enum {
SLEAZE_PORT = 31337, /* for UDP-scan RTT trick, change if ya want */
diff --git a/networking/netstat.c b/networking/netstat.c
index 5fb5c386f..38091ae3a 100644
--- a/networking/netstat.c
+++ b/networking/netstat.c
@@ -11,7 +11,7 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include "busybox.h"
+#include "libbb.h"
#include "inet_common.h"
enum {
diff --git a/networking/nslookup.c b/networking/nslookup.c
index 424a0e4b9..608e65462 100644
--- a/networking/nslookup.c
+++ b/networking/nslookup.c
@@ -12,7 +12,7 @@
*/
#include <resolv.h>
-#include "busybox.h"
+#include "libbb.h"
/*
* I'm only implementing non-interactive mode;
diff --git a/networking/ping.c b/networking/ping.c
index e413bec70..2f331910e 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -27,7 +27,7 @@
#include <net/if.h>
#include <netinet/ip_icmp.h>
-#include "busybox.h"
+#include "libbb.h"
#if ENABLE_PING6
#include <netinet/icmp6.h>
diff --git a/networking/route.c b/networking/route.c
index da5969868..881332b9f 100644
--- a/networking/route.c
+++ b/networking/route.c
@@ -25,12 +25,13 @@
* remove ridiculous amounts of bloat.
*/
-#include "busybox.h"
-#include "inet_common.h"
#include <getopt.h>
#include <net/route.h>
#include <net/if.h>
+#include "libbb.h"
+#include "inet_common.h"
+
#ifndef RTF_UP
/* Keep this in sync with /usr/src/linux/include/linux/route.h */
diff --git a/networking/telnet.c b/networking/telnet.c
index 5c75a7409..a59450505 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -24,7 +24,7 @@
#include <termios.h>
#include <arpa/telnet.h>
#include <netinet/in.h>
-#include "busybox.h"
+#include "libbb.h"
#ifdef DOTRACE
#define TRACE(x, y) do { if (x) printf y; } while (0)
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 4ab6f5656..21b704a46 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -24,7 +24,7 @@
/*#define DEBUG 1 */
#define DEBUG 0
-#include "busybox.h"
+#include "libbb.h"
#if DEBUG
#define TELCMDS
diff --git a/networking/tftp.c b/networking/tftp.c
index 3fb76ecbb..e1e278aba 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -19,7 +19,7 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
* ------------------------------------------------------------------------- */
-#include "busybox.h"
+#include "libbb.h"
#if ENABLE_FEATURE_TFTP_GET || ENABLE_FEATURE_TFTP_PUT
diff --git a/networking/traceroute.c b/networking/traceroute.c
index b4cca25b0..ce8dc8395 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -215,7 +215,7 @@
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
-#include "busybox.h"
+#include "libbb.h"
#include "inet_common.h"
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index 6c0db5b4c..006d580d3 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -10,7 +10,7 @@
#ifndef _COMMON_H
#define _COMMON_H
-#include "busybox.h"
+#include "libbb.h"
#define DEFAULT_SCRIPT "/usr/share/udhcpc/default.script"
diff --git a/networking/vconfig.c b/networking/vconfig.c
index 06c06cb5e..e063d0a49 100644
--- a/networking/vconfig.c
+++ b/networking/vconfig.c
@@ -9,7 +9,7 @@
/* BB_AUDIT SUSv3 N/A */
-#include "busybox.h"
+#include "libbb.h"
#include <net/if.h>
/* Stuff from linux/if_vlan.h, kernel version 2.4.23 */
diff --git a/networking/wget.c b/networking/wget.c
index 026722afc..2c060d77d 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -10,8 +10,8 @@
/* http://www.unix.org/version2/whatsnew/lfs20mar.html */
#define _LARGEFILE64_SOURCE 1
-#include "busybox.h"
#include <getopt.h> /* for struct option */
+#include "libbb.h"
struct host_info {
// May be used if we ever will want to free() all xstrdup()s...
diff --git a/networking/zcip.c b/networking/zcip.c
index 195ae50ab..3b67a032e 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -23,7 +23,7 @@
// - avoid silent script failures, especially under load...
// - link status monitoring (restart on link-up; stop on link-down)
-#include "busybox.h"
+#include "libbb.h"
#include <syslog.h>
#include <poll.h>
#include <sys/wait.h>