aboutsummaryrefslogtreecommitdiff
path: root/networking/arping.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-03-22 14:11:12 +0000
committerRon Yorston <rmy@pobox.com>2012-03-22 14:11:12 +0000
commit67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch)
treea4a1db7f54c16d12fabe2626b8f1e235cd694e9e /networking/arping.c
parent811c449748d5bd0505f8510e5582892f94ac0cda (diff)
parentb83c9704128dd106071184e4b00335a3b8486857 (diff)
downloadbusybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz
busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2
busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'networking/arping.c')
-rw-r--r--networking/arping.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/networking/arping.c b/networking/arping.c
index 6f6b59cfb..357dcaaf0 100644
--- a/networking/arping.c
+++ b/networking/arping.c
@@ -6,6 +6,23 @@
6 * Busybox port: Nick Fedchik <nick@fedchik.org.ua> 6 * Busybox port: Nick Fedchik <nick@fedchik.org.ua>
7 */ 7 */
8 8
9//usage:#define arping_trivial_usage
10//usage: "[-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP"
11//usage:#define arping_full_usage "\n\n"
12//usage: "Send ARP requests/replies\n"
13//usage: "\nOptions:"
14//usage: "\n -f Quit on first ARP reply"
15//usage: "\n -q Quiet"
16//usage: "\n -b Keep broadcasting, don't go unicast"
17//usage: "\n -D Duplicated address detection mode"
18//usage: "\n -U Unsolicited ARP mode, update your neighbors"
19//usage: "\n -A ARP answer mode, update your neighbors"
20//usage: "\n -c N Stop after sending N ARP requests"
21//usage: "\n -w TIMEOUT Time to wait for ARP reply, seconds"
22//usage: "\n -I IFACE Interface to use (default eth0)"
23//usage: "\n -s SRC_IP Sender IP address"
24//usage: "\n DST_IP Target IP address"
25
9#include <arpa/inet.h> 26#include <arpa/inet.h>
10#include <net/if.h> 27#include <net/if.h>
11#include <netinet/ether.h> 28#include <netinet/ether.h>