aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-10-05 15:19:25 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-10-05 15:19:25 +0200
commita02a4e98306194dc12bca46d099647bcce602bb9 (patch)
tree7bc5ff1de66d28dd4124306218a84d097ef36009 /networking
parent416899fca6c8b7a09ec301e1a961459bb3b6c139 (diff)
downloadbusybox-w32-a02a4e98306194dc12bca46d099647bcce602bb9.tar.gz
busybox-w32-a02a4e98306194dc12bca46d099647bcce602bb9.tar.bz2
busybox-w32-a02a4e98306194dc12bca46d099647bcce602bb9.zip
whitespace and comment format fixes, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/ifconfig.c5
-rw-r--r--networking/libiproute/ip_parse_common_args.c1
-rw-r--r--networking/libiproute/ipaddress.c1
-rw-r--r--networking/libiproute/iproute.c1
-rw-r--r--networking/libiproute/iprule.c1
-rw-r--r--networking/libiproute/iptunnel.c1
-rw-r--r--networking/libiproute/ll_addr.c2
-rw-r--r--networking/libiproute/rtm_map.c2
-rw-r--r--networking/libiproute/utils.c1
-rw-r--r--networking/nc.c3
-rw-r--r--networking/route.c4
-rw-r--r--networking/telnet.c1
-rw-r--r--networking/zcip.c1
13 files changed, 6 insertions, 18 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index d1e9c58dc..61d91788a 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -1,18 +1,17 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* ifconfig 2/*
3 * ifconfig
3 * 4 *
4 * Similar to the standard Unix ifconfig, but with only the necessary 5 * Similar to the standard Unix ifconfig, but with only the necessary
5 * parts for AF_INET, and without any printing of if info (for now). 6 * parts for AF_INET, and without any printing of if info (for now).
6 * 7 *
7 * Bjorn Wesen, Axis Communications AB 8 * Bjorn Wesen, Axis Communications AB
8 * 9 *
9 *
10 * Authors of the original ifconfig was: 10 * Authors of the original ifconfig was:
11 * Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> 11 * Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
12 * 12 *
13 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 13 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
14 */ 14 */
15
16/* 15/*
17 * Heavily modified by Manuel Novoa III Mar 6, 2001 16 * Heavily modified by Manuel Novoa III Mar 6, 2001
18 * 17 *
diff --git a/networking/libiproute/ip_parse_common_args.c b/networking/libiproute/ip_parse_common_args.c
index 1a298f738..d693c54fa 100644
--- a/networking/libiproute/ip_parse_common_args.c
+++ b/networking/libiproute/ip_parse_common_args.c
@@ -11,7 +11,6 @@
11 * 11 *
12 * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses 12 * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
13 */ 13 */
14
15#include "ip_common.h" /* #include "libbb.h" is inside */ 14#include "ip_common.h" /* #include "libbb.h" is inside */
16#include "utils.h" 15#include "utils.h"
17 16
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 36d6b65c6..921ecf0d9 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -7,7 +7,6 @@
7 * Changes: 7 * Changes:
8 * Laszlo Valko <valko@linux.karinthy.hu> 990223: address label must be zero terminated 8 * Laszlo Valko <valko@linux.karinthy.hu> 990223: address label must be zero terminated
9 */ 9 */
10
11#include <fnmatch.h> 10#include <fnmatch.h>
12#include <net/if.h> 11#include <net/if.h>
13#include <net/if_arp.h> 12#include <net/if_arp.h>
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index 6a41b8331..e8b26cb2f 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -9,7 +9,6 @@
9 * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses 9 * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
10 * Kunihiro Ishiguro <kunihiro@zebra.org> 001102: rtnh_ifindex was not initialized 10 * Kunihiro Ishiguro <kunihiro@zebra.org> 001102: rtnh_ifindex was not initialized
11 */ 11 */
12
13#include "ip_common.h" /* #include "libbb.h" is inside */ 12#include "ip_common.h" /* #include "libbb.h" is inside */
14#include "common_bufsiz.h" 13#include "common_bufsiz.h"
15#include "rt_names.h" 14#include "rt_names.h"
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c
index 1bb5e759e..9938b4793 100644
--- a/networking/libiproute/iprule.c
+++ b/networking/libiproute/iprule.c
@@ -12,7 +12,6 @@
12 * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses 12 * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
13 * initially integrated into busybox by Bernhard Reutner-Fischer 13 * initially integrated into busybox by Bernhard Reutner-Fischer
14 */ 14 */
15
16#include <netinet/in.h> 15#include <netinet/in.h>
17#include <netinet/ip.h> 16#include <netinet/ip.h>
18#include <arpa/inet.h> 17#include <arpa/inet.h>
diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c
index eb136e435..4002feb78 100644
--- a/networking/libiproute/iptunnel.c
+++ b/networking/libiproute/iptunnel.c
@@ -10,7 +10,6 @@
10 * Rani Assaf <rani@magic.metawire.com> 980930: do not allow key for ipip/sit 10 * Rani Assaf <rani@magic.metawire.com> 980930: do not allow key for ipip/sit
11 * Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag 11 * Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag
12 */ 12 */
13
14#include <netinet/ip.h> 13#include <netinet/ip.h>
15#include <net/if.h> 14#include <net/if.h>
16#include <net/if_arp.h> 15#include <net/if_arp.h>
diff --git a/networking/libiproute/ll_addr.c b/networking/libiproute/ll_addr.c
index 33a54ea6c..afdd81ffb 100644
--- a/networking/libiproute/ll_addr.c
+++ b/networking/libiproute/ll_addr.c
@@ -7,14 +7,12 @@
7 * 7 *
8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> 8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
9 */ 9 */
10
11#include <net/if_arp.h> 10#include <net/if_arp.h>
12 11
13#include "libbb.h" 12#include "libbb.h"
14#include "rt_names.h" 13#include "rt_names.h"
15#include "utils.h" 14#include "utils.h"
16 15
17
18const char* FAST_FUNC ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen) 16const char* FAST_FUNC ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen)
19{ 17{
20 int i; 18 int i;
diff --git a/networking/libiproute/rtm_map.c b/networking/libiproute/rtm_map.c
index c763da049..e94c99ab6 100644
--- a/networking/libiproute/rtm_map.c
+++ b/networking/libiproute/rtm_map.c
@@ -7,7 +7,6 @@
7 * 7 *
8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> 8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
9 */ 9 */
10
11#include "libbb.h" 10#include "libbb.h"
12#include "rt_names.h" 11#include "rt_names.h"
13#include "utils.h" 12#include "utils.h"
@@ -44,7 +43,6 @@ const char* FAST_FUNC rtnl_rtntype_n2a(int id)
44 } 43 }
45} 44}
46 45
47
48int FAST_FUNC rtnl_rtntype_a2n(int *id, char *arg) 46int FAST_FUNC rtnl_rtntype_a2n(int *id, char *arg)
49{ 47{
50 static const char keywords[] ALIGN1 = 48 static const char keywords[] ALIGN1 =
diff --git a/networking/libiproute/utils.c b/networking/libiproute/utils.c
index fca167ac6..bf053a54b 100644
--- a/networking/libiproute/utils.c
+++ b/networking/libiproute/utils.c
@@ -8,7 +8,6 @@
8 * 8 *
9 * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses 9 * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
10 */ 10 */
11
12#include "libbb.h" 11#include "libbb.h"
13#include "utils.h" 12#include "utils.h"
14#include "inet_common.h" 13#include "inet_common.h"
diff --git a/networking/nc.c b/networking/nc.c
index f7fc9741f..b208f46c6 100644
--- a/networking/nc.c
+++ b/networking/nc.c
@@ -1,5 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* nc: mini-netcat - built from the ground up for LRP 2/*
3 * nc: mini-netcat - built from the ground up for LRP
3 * 4 *
4 * Copyright (C) 1998, 1999 Charles P. Wright 5 * Copyright (C) 1998, 1999 Charles P. Wright
5 * Copyright (C) 1998 Dave Cinege 6 * Copyright (C) 1998 Dave Cinege
diff --git a/networking/route.c b/networking/route.c
index 32789eecc..6edc0f6d7 100644
--- a/networking/route.c
+++ b/networking/route.c
@@ -1,5 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* route 2/*
3 * route
3 * 4 *
4 * Similar to the standard Unix route, but with only the necessary 5 * Similar to the standard Unix route, but with only the necessary
5 * parts for AF_INET and AF_INET6 6 * parts for AF_INET and AF_INET6
@@ -18,7 +19,6 @@
18 * 19 *
19 * IPV6 support added by Bart Visscher <magick@linux-fan.com> 20 * IPV6 support added by Bart Visscher <magick@linux-fan.com>
20 */ 21 */
21
22/* 2004/03/09 Manuel Novoa III <mjn3@codepoet.org> 22/* 2004/03/09 Manuel Novoa III <mjn3@codepoet.org>
23 * 23 *
24 * Rewritten to fix several bugs, add additional error checking, and 24 * Rewritten to fix several bugs, add additional error checking, and
diff --git a/networking/telnet.c b/networking/telnet.c
index 1f8a44466..8b0df7f5c 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -18,7 +18,6 @@
18 * <jam@ltsp.org> 18 * <jam@ltsp.org>
19 * Modified 2004/02/11 to add ability to pass the USER variable to remote host 19 * Modified 2004/02/11 to add ability to pass the USER variable to remote host
20 * by Fernando Silveira <swrh@gmx.net> 20 * by Fernando Silveira <swrh@gmx.net>
21 *
22 */ 21 */
23//config:config TELNET 22//config:config TELNET
24//config: bool "telnet (8.7 kb)" 23//config: bool "telnet (8.7 kb)"
diff --git a/networking/zcip.c b/networking/zcip.c
index 55440285f..94e49adcb 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -8,7 +8,6 @@
8 * 8 *
9 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 9 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
10 */ 10 */
11
12/* 11/*
13 * ZCIP just manages the 169.254.*.* addresses. That network is not 12 * ZCIP just manages the 169.254.*.* addresses. That network is not
14 * routed at the IP level, though various proxies or bridges can 13 * routed at the IP level, though various proxies or bridges can