Commit Graph

44 Commits

Author SHA1 Message Date
chs 2df1fdaa53 remove spurious newline in an error message. 2001-07-29 21:24:57 +00:00
atatat c0da9e56cb Provide an easy way for someone to erase all arp entries as opposed
to the common practice of inventing an unwieldy shell construct each
time.

Note: -f (ala route -f) is in use already, and FreeBSD provides "prior
art" for the use of -d and -a together to accomplish this.
2001-04-24 23:11:06 +00:00
fair 0ea0f71aad modified patch from PR 8566 to print the interface name for each ARP table
entry, in addition to the MAC address to IP address mapping. Tested on
NetBSD/alpha 1.4.3 and NetBSD/sparc 1.5.1_ALPHA
2001-03-19 19:49:30 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
christos f5e6028400 Get rid of the TRY_AGAIN kludge. It is completely counter intuitive to have
every DNS lookup fail after the first TRY_AGAIN failure.
Also take care of minor lint stuff [extra h_errno declaratation/NULL vs. 0 etc]
2001-01-05 19:34:13 +00:00
kleink eafe08d5e9 Don't make references to _10Mb/s_ Ethernet; from Christian Weisgerber in
PR bin/11239.
2000-10-17 12:23:03 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
erh 9a18c8bb35 Use ROUNDUP to pass addresses to the kernel aligned on a long boundary. Use the sa_len field of each address instead of sizeof(). Makes arp work on 64bit architectures. 2000-09-28 01:11:31 +00:00
mason 662fbfe2f1 Removed redundant / extra prototypes. 2000-07-12 22:36:12 +00:00
garbled d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
mrg 92e05e0e2c add a verbose (-v) flag for when adding/deleting arp entries. 1998-02-10 03:45:05 +00:00
fvdl 9bef2d1d82 If the arp cache is empty, don't even attempt to retrieve it. Fixes
'bad address' message when the cache is empty.
1997-11-18 23:14:38 +00:00
is c4aac00e95 Make deleting proxy arp entries on ARCnet interfaces work again.
Fixes my own last PR, whose number I don't know yet.
1997-11-16 11:25:08 +00:00
lukem 7cbe3d2c32 use __progname 1997-10-18 07:32:17 +00:00
lukem 409801916f WARNSify 1997-10-16 23:46:38 +00:00
thorpej 87ca1d62e0 Print Ethernet and FDDI addresses in the same format as ether_ntoa().
From Matt Thomas <matt@3am-software.com>
1997-03-26 01:49:44 +00:00
is 00cef679df New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:37:27 +00:00
mikel 961a0bd020 we don't need 'pseudo-device ether' anymore. also misc mdoc-macro-usage
cleanup, and add a missing quote (font-lock strikes again).
1997-03-07 07:41:25 +00:00
mikel 38e37321ab merge lite2 changes 1997-03-07 07:04:42 +00:00
mikel f3b151f572 fix PR misc/3184, but somewhat differently.
include <unistd.h> for getopt() prototype, reorder includes.
eliminate some leftover unused variables.
1997-02-07 05:07:13 +00:00
mikel 38f1be3526 use ether_aton() from libc; from Klaus Klein <kleink@layla.inka.de>,
with some modifications by myself.
1997-01-18 02:12:13 +00:00
mycroft 6020b18019 Use warnx() and hstrerror(), rather than herror(). 1996-12-08 13:59:11 +00:00
cgd 867b4b0fac needs string.h 1995-04-24 13:25:18 +00:00
chopps ded185da25 oops forgot rcsid string, fix that to.. 1995-03-01 11:56:13 +00:00
chopps 7f624aaa47 fix id's 1995-03-01 11:50:52 +00:00
chopps 9a1b7b98e2 ditch use of inet_addr() use inet_aton() instead. 1995-02-28 22:51:16 +00:00
chopps c4516a41e6 Some KNF clenup. 1995-02-27 22:00:07 +00:00
chopps 215bb6256d fix typo. 1995-02-26 20:16:49 +00:00
chopps 1aad640d17 enable -f form. 1995-02-25 08:49:51 +00:00
mycroft f15dd95a6a Clean up deleted files. 1994-12-22 11:32:52 +00:00
cgd 457aa2b833 specify man pages the new way. 1994-12-22 11:31:31 +00:00
cgd 8e0e3522e1 pull in bsd.own.mk by hand, early, so NOMAN= can be defined there. 1994-12-20 15:12:31 +00:00
mycroft 27ff0a97a2 Remove comments about the `trail' keyword. 1994-09-17 00:54:42 +00:00
pk 9b5091b2ff NOMAN support. 1994-05-17 08:55:04 +00:00
mycroft 17c454fe1b Clean up import. 1994-05-13 08:09:19 +00:00
mycroft 6e3521ef7b From 4.4-Lite. 1994-05-13 08:08:59 +00:00
jtc 281c9594a0 vmunix -> netbsd 1994-02-03 17:41:21 +00:00
cgd 2892f80630 needs -lkvm, not -lutil 1994-01-28 00:50:31 +00:00
deraadt 4e573e80c2 patch security hole talked about on comp.security.misc 1993-12-25 02:28:46 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft b465cf4697 Add RCS identifiers. 1993-07-30 22:11:51 +00:00
mycroft 804c4234ec Cleanup for GCC 2. 1993-04-18 19:27:06 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00