summaryrefslogtreecommitdiffstats
path: root/usr.sbin/arp/arp.c
Commit message (Collapse)AuthorAgeFilesLines
...
* WARNS=2 cleanup.mikeh2001-12-101-58/+68
| | | | | Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 2 weeks
* Print [fddi] or [atm] tags for ARP addresses on interfaces of that type.mdodd2001-10-191-0/+6
|
* Print interface name for each ARP entry.ru2001-10-081-0/+3
| | | | | Prodded by: Igor Podlesny <poige@morning.ru> MFC after: 1 week
* - Renamed the ``proxy'' modifier of the -d flag to ``pub'',ru2001-06-071-19/+26
| | | | | | | | | | | | | to be consistent with the -s flag. Updated documentation on what this modifier does. - Added the ``only'' keyword to the -s and -S flags, that could be used to created "proxy-only" published entries. Previously, arp(8) created an entry of this type only in the absence of the route to a destination. PR: bin/12357 MFC after: 1 week
* Add a missing free(3).yar2001-05-021-0/+1
| | | | | | PR: bin/27001 Submitted by: alex <ml-freebsd-net@phobgate.de>, Matthew Emmerton <matt@gsicomp.on.ca>
* Add the VLAN interface type to the list of ARP-capable interface types.yar2001-04-041-2/+5
|
* zeropad mac address ouputbillf2001-03-081-1/+2
| | | | | | PR: bin/25584 Submitted by: David Xu <davidx@viasoft.com.cn> Reviewed by: wollman, billf
* h_errno is declared in netdb.h.imp2001-03-011-2/+0
|
* Print a diagnostic message if no interface could be determinedru2001-02-271-0/+2
| | | | | | | | | when attempting to create a published ARP entry. For example: # arp -s 1.1.1.1 auto pub PR: bin/7753 Submitted by: Jonathan Hanna <pangolin@home.com>
* Make the ``arp -d hostname proxy'' really do something useful.ru2001-02-051-2/+2
| | | | | | Specifically, ``proxy'' modifier tells the code to delete only Proxy ARP entry for the ``hostname''; the usual ARP entry will be unaffected by this operation.
* Revert previous checkin ("proxy" is required in some instances).archie2001-02-011-1/+1
| | | | Add a note to that effect to the man page.
* Fix documentation: "proxy" is not a keyword for the arp(8) command line.archie2001-01-311-1/+1
|
* Change type of vars which hold in_addr.s_addr from u_long to u_int32_t,shin2000-03-031-3/+3
| | | | | | for more safety on alpha. Approved by: jkh
* Fix syntax error in previous commit.jkh2000-01-171-1/+1
|
* Don't overflow buffers.kris2000-01-161-2/+2
| | | | Reviewed by: audit@freebsd.org
* Yet another align.ru1999-09-201-1/+1
| | | | | | It will be required if sizeof(struct sockaddr_in) changes in the future. Not objected to by: wollman
* Align sockaddrs passed to/from the routing socket as supposed by kernel.ru1999-09-131-5/+7
| | | | | | PR: 12847 Spotted by: Key Teck Sin <ktsin@acm.org> Reviewed by: wollman
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* When incrementing through a SIOCGIFCONF list, enforce a lower limit ofarchie1999-06-051-5/+5
| | | | | | | | | sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len. Otherwise the increment will be wrong in certain cases. Obtained from: Whistle source tree For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
* Submitted by: Larry Lilejulian1999-03-101-1/+18
| | | | | | | | Move the Olicom token ring driver to the officially sanctionned location of /sys/contrib. Also fix some brokenness in the generic token ring support. Be warned that if_dl.h has been changed and SOME programs might like recompilation.
* Removed most unused includes of <net/if_var.h> outside the kernel.bde1998-01-161-2/+1
|
* Submitted by: Archie@Whistle.com (Archie Cobbs)julian1997-11-131-64/+145
| | | | | | | allow teh -a option to work with the -d option thus: arp -d -a now flushes your arp cache. also fix the -n option so that -an now works correctly.
* Use err(3). Document -n flag from OpenBSD.charnier1997-09-031-52/+36
| | | | Obtained from: OpenBSD.
* Removed inconsistent declaration of malloc(). `make world' with DESTDIRbde1997-04-231-2/+2
| | | | set to something other than "/" now actually works.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Update to match changes in <net/if.h>.wollman1997-01-031-1/+2
|
* Renamed private copy of ether_aton to my_ether_aton so as to notnate1996-12-191-4/+4
| | | | conflict with the version in <net/ethernet.h>
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadwollman1996-12-101-2/+2
| | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it.
* Clean up warnings.phk1996-02-081-35/+166
| | | | | | fix return/exit codes in some cases. Add -S which will delete any old entry first. Add "auto" in proxy case, so it finds the right interface automatically.
* Make arp command actually behave as documented with the addition of a -fjkh1995-08-031-1/+6
| | | | | | | | | flag. The getopt handling in here is actually pretty bogus (not Phil's fault - it's original sin) but the general approach is working so I'm not going to break it. Some small tweaks of my own to add error checking to what was originally submitted. Strange how nobody noticed that the flag was documented but completely missing from the code before! [jkh]. Submitted by: Phil Taylor <phil@zipmail.co.uk>
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-261-0/+514
OpenPOWER on IntegriCloud