summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.pp.se>2000-10-05 22:12:32 +0000
committerThomas Habets <thomas@habets.pp.se>2000-10-05 22:12:32 +0000
commit3ffdebcea02fc168d324863c36059623e06c3200 (patch)
tree482eba2f37a84ef26f3ba6b3a7ef04da3bfecc89
parent18ec4da1eda3eba7e7d1f5cf48b5ebf20ffd1d68 (diff)
downloadarping-3ffdebcea02fc168d324863c36059623e06c3200.tar.gz
manpage
-rw-r--r--Makefile6
-rw-r--r--arping.855
-rw-r--r--arping.yodl47
3 files changed, 107 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d39fa09..e322593 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile 143 2000-09-28 20:45:19Z marvin $
+# $Id: Makefile 148 2000-10-05 22:12:32Z marvin $
TARGETS=arping
USE_NETIF=0
@@ -15,9 +15,13 @@ usage:
@echo "usage: make [ target ]"
@echo "Target can be freebsd, openbsd, linux or solaris"
@echo
+ @echo "Make doc will re-create the manpage"
@echo "You may use make install after"
@echo
+doc: arping.yodl
+ yodl2man -o arping.8 arping.yodl
+
linux:
make USE_NETIF=1 LINUX=1 all
diff --git a/arping.8 b/arping.8
new file mode 100644
index 0000000..2999a05
--- /dev/null
+++ b/arping.8
@@ -0,0 +1,55 @@
+.TH "arping" "8" "06th october, 2000" "arping" ""
+.PP
+.SH "NAME"
+arping \- sends arp and/or echo requests to a given host
+.PP
+.SH "SYNOPSIS"
+\fBarping\fP [-q] [-h] [-v] [-r] [-d] [-0] [-c \fIcount\fP] [-i \fIinterface\fP]
+\fIhost\fP
+.PP
+.SH "DESCRIPTION"
+The \fIarping\fP utility sends \fBARP\fP and/or \fBICMP\fP requests to the specified \fIhost\fP and displays the replies\&. The \fIhost\fP may be specified by its \fBDNS\fP, its \fBIP\fP address, or its \fBMAC\fP address\&.
+.PP
+One request is sent each second\&.
+.PP
+.SH "OPTIONS"
+.PP
+.IP
+.IP "-h"
+Displays a help message and exits\&.
+.IP
+.IP "-q"
+Does not display messages, except error messages\&.
+.IP
+.IP "-v"
+Verbose output\&.
+.IP
+.IP "-q"
+Quiet output\&.
+.IP
+.IP "-r"
+Raw output : only the MAC address is displayed for each reply\&.
+.IP
+.IP "-d"
+Find duplicate replies\&.
+.IP
+.IP "-0"
+Use this option to ping with source address 0\&.0\&.0\&.0 IP, or you
+may get some error messages, depending on your system\&.
+.IP
+.IP "-c \fIcount\fP"
+Only send \fIcount\fP requests\&.
+.IP
+.IP "-i \fIinterface\fP"
+Use the specified interface\&.
+.IP
+.PP
+.SH "SEE ALSO"
+.PP
+\fBping(8)\fP, \fBarp(8)\fP, \fBrarp(8)\fP
+.PP
+.SH "AUTHOR"
+.PP
+Pingarp has been written by Marvin <marvin@nss\&.nu>\&.
+The manual page was written by Brieuc "BBP" Jeunhomme <bbp@via\&.ecp\&.fr>
+with very minor adjustments from Marvin\&.
diff --git a/arping.yodl b/arping.yodl
new file mode 100644
index 0000000..c5aa131
--- /dev/null
+++ b/arping.yodl
@@ -0,0 +1,47 @@
+manpage(arping)(8)(06th october, 2000)(arping)()
+
+manpagename(arping)(sends arp and/or echo requests to a given host)
+
+manpagesynopsis()
+ bf(arping) [-h] [-q] [-v] [-r] [-d] [-0] [-c em(count)] [-i em(interface)]
+ em(host)
+
+manpagedescription()
+ The em(arping) utility sends bf(ARP) and/or bf(ICMP) requests to the specified em(host) and displays the replies. The em(host) may be specified by its bf(DNS), its bf(IP) address, or its bf(MAC) address.
+
+ One request is sent each second.
+
+manpageoptions()
+
+startdit()
+
+ dit(-h) Displays a help message and exits.
+
+ dit(-q) Does not display messages, except error messages.
+
+ dit(-v) Verbose output.
+
+ dit(-q) Quiet output.
+
+ dit(-r) Raw output : only the MAC address is displayed for each reply.
+
+ dit(-d) Find duplicate replies.
+
+ dit(-0) Use this option to ping with source address 0.0.0.0 IP, or you
+ may get some error messages, depending on your system.
+
+ dit(-c em(count)) Only send em(count) requests.
+
+ dit(-i em(interface)) Use the specified interface.
+
+enddit()
+
+manpageseealso()
+
+ bf(ping(8)), bf(arp(8)), bf(rarp(8))
+
+manpageauthor()
+
+ Pingarp has been written by Marvin <marvin@nss.nu>.
+ The manual page was written by Brieuc "BBP" Jeunhomme <bbp@via.ecp.fr>
+ with very minor adjustments from Marvin.