aboutsummaryrefslogtreecommitdiff
path: root/networking/ifconfig.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-04-11 03:29:49 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-11 03:29:49 +0200
commit5bc8c005a8e15c43285bc595a8d404de67a482ac (patch)
tree98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /networking/ifconfig.c
parent73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff)
downloadbusybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz
busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2
busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ifconfig.c')
-rw-r--r--networking/ifconfig.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index da2635ce0..220b02126 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -26,6 +26,27 @@
26 * IPV6 support added by Bart Visscher <magick@linux-fan.com> 26 * IPV6 support added by Bart Visscher <magick@linux-fan.com>
27 */ 27 */
28 28
29//usage:#define ifconfig_trivial_usage
30//usage: IF_FEATURE_IFCONFIG_STATUS("[-a]") " interface [address]"
31//usage:#define ifconfig_full_usage "\n\n"
32//usage: "Configure a network interface\n"
33//usage: "\nOptions:"
34//usage: "\n"
35//usage: IF_FEATURE_IPV6(
36//usage: " [add ADDRESS[/PREFIXLEN]]\n")
37//usage: IF_FEATURE_IPV6(
38//usage: " [del ADDRESS[/PREFIXLEN]]\n")
39//usage: " [[-]broadcast [ADDRESS]] [[-]pointopoint [ADDRESS]]\n"
40//usage: " [netmask ADDRESS] [dstaddr ADDRESS]\n"
41//usage: IF_FEATURE_IFCONFIG_SLIP(
42//usage: " [outfill NN] [keepalive NN]\n")
43//usage: " " IF_FEATURE_IFCONFIG_HW("[hw ether" IF_FEATURE_HWIB("|infiniband")" ADDRESS] ") "[metric NN] [mtu NN]\n"
44//usage: " [[-]trailers] [[-]arp] [[-]allmulti]\n"
45//usage: " [multicast] [[-]promisc] [txqueuelen NN] [[-]dynamic]\n"
46//usage: IF_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ(
47//usage: " [mem_start NN] [io_addr NN] [irq NN]\n")
48//usage: " [up|down] ..."
49
29#include <net/if.h> 50#include <net/if.h>
30#include <net/if_arp.h> 51#include <net/if_arp.h>
31#include <netinet/in.h> 52#include <netinet/in.h>