aboutsummaryrefslogtreecommitdiff
path: root/networking/arping.c
diff options
context:
space:
mode:
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>