[BusyBox-cvs] busybox/include applets.h,1.86,1.87 usage.h,1.135,1.136

Glenn McGrath bug1 at busybox.net
Thu Jan 9 10:06:04 UTC 2003


Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv21412/include

Modified Files:
	applets.h usage.h 
Log Message:
arping applet by Nick Fedchik


Index: applets.h
===================================================================
RCS file: /var/cvs/busybox/include/applets.h,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- applets.h	5 Jan 2003 04:01:55 -0000	1.86
+++ applets.h	9 Jan 2003 10:06:00 -0000	1.87
@@ -58,6 +58,9 @@
 #ifdef CONFIG_AR
 	APPLET(ar, ar_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
 #endif
+#ifdef CONFIG_ARPING
+	APPLET(arping, arping_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
 #ifdef CONFIG_ASH
 	APPLET_NOUSAGE("ash", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER)
 #endif

Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- usage.h	5 Jan 2003 04:01:55 -0000	1.135
+++ usage.h	9 Jan 2003 10:06:00 -0000	1.136
@@ -38,6 +38,23 @@
 	"\t-x\t\textract\n" \
 	"\t-v\t\tverbosely list files processed\n"
 
+#define arping_trivial_usage \
+	"[-fqbDUA] [-c count] [-w timeout] [-I device] [-s sender] target\n"
+#define arping_full_usage \
+	"Ping hosts by ARP requests/replies.\n\n" \
+	"Options:\n" \
+	"\t-f\t\tQuit on first ARP reply\n" \
+	"\t-q\t\tBe quiet\n" \
+	"\t-b\t\tKeep broadcasting, don't go unicast\n" \
+	"\t-D\t\tDuplicated address detection mode\n" \
+	"\t-U\t\tUnsolicited ARP mode, update your neighbours\n" \
+	"\t-A\t\tARP answer mode, update your neighbours\n" \
+	"\t-c count\tStop after sending count ARP request packets\n" \
+	"\t-w timeout\tTime to wait for ARP reply, in seconds\n" \
+	"\t-I device\tOutgoing interface name, default is eth0\n" \
+	"\t-s sender\tSet specific sender IP address\n" \
+	"\ttarget\t\tTarget IP address of ARP request\n"
+
 #define	awk_trivial_usage \
 	"[-v var=val][-F sep] { -f progname | 'programtext' } [FILE ...]"
 #define	awk_full_usage \




More information about the busybox-cvs mailing list