summaryrefslogtreecommitdiff
path: root/usr.sbin/arp
AgeCommit message (Expand)Author
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2017-12-23As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).cheloha
2017-04-19Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has beenMartin Natano
2017-04-15Name global variable for routing socket rtsock like in ndp(8).Alexander Bluhm
2016-11-29Tweak output to keep it aligned when interfaces with big names, likeMartin Pieuchot
2016-08-27Pull in <sys/time.h> for gettimeofday()Philip Guenther
2016-05-28Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...).Martin Natano
2016-04-05Describe the format used by -s once, and refer to it when documenting -f.Jeremie Courreges-Anglas
2016-03-23tweak previous;Jason McIntyre
2016-03-23Kill undocumented "pro" command. It's a no-op since the 90s!Martin Pieuchot
2016-03-23Rename 'rtn' to 'error' for coherency.Martin Pieuchot
2016-03-23Remove code to print the never set SIN_PROXY bit. This flag is only usedMartin Pieuchot
2016-01-26Use an unsigned int rather than an int when iterating through all 32mmcc
2015-12-08remove undocumented message about trailersTed Unangst
2015-12-08jmc discovered more references to trailers. i think it's safe to removeTed Unangst
2015-11-01replace "can not" with "cannot";Jason McIntyre
2015-10-14I messed up reading the call graph. -d delete does use search, so aTheo de Raadt
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07use new tame "route" feature when possibleTheo de Raadt
2015-10-05correct a rtget() error checkSebastien Marie
2015-10-03arp uses a non-privileged sockraw to look at the kernel arp tables.Theo de Raadt
2015-07-27use file system path (.Pa) semantic markup macros where appropriate.Igor Sobrado
2015-06-03Explicitly request the sockaddr_dl when doing a RTM_GET rather thanMartin Pieuchot
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-09-07Remove useless comment, snprintf and if/else.Alexander Bluhm
2014-09-03Be coherent in the way arp(8) and ndp(8) display local entries andMartin Pieuchot
2014-08-22print leading 0's in MAC addresses again, ok deraadtStuart Henderson
2014-08-21Change the output of arp(8) to match what ndp(8) does and include theMartin Pieuchot
2014-08-19Entries for broadcast addresses should also be ignored, just like localMartin Pieuchot
2014-08-11Do not try to delete RTF_LOCAL entries. Such routes are automaticallyMartin Pieuchot
2014-05-09my previous attempt to fix the renaming of the inet(3) pages was wrong;Jason McIntyre
2014-05-08inet(3) -> inet_net(3);Jason McIntyre
2014-03-18Put AF_ROUTE socket that arp(8) operates on into the appropriate rdomain.Mike Belopuhov
2014-02-26This is a lie, the default is not 0. It is inherited from the process.Claudio Jeker
2014-02-26There is no need to init a global to 0Claudio Jeker
2013-08-15Reduce the warnings when arp, rarp, ndp are compiled with WARNINGS=yes.Alexander Bluhm
2013-07-20arp and rarpd used an int expire_time for time calculation. ConvertAlexander Bluhm
2013-03-21create realloc() loops around sysctl for array-based mibs, in programsTheo de Raadt
2012-11-08When running route -Tx exec arp -an, arp would always use the defaultPeter Hessler
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
2011-09-01grammar fix; from BrynetJason McIntyre
2011-03-13consistently use "Wake on LAN (WoL)"; i don;t care if anyone wants toJason McIntyre
2011-01-11oops! missing macro in previous;Jason McIntyre
2011-01-11 Add Wake on Lan support to arp(8). This is partly based on the originalJasper Lievisse Adriaanse
2009-09-27a usage line got too long; ok jmcTheo de Raadt
2009-06-25Same code as in route(8) same RTM_VERSION check missing.Claudio Jeker
2009-06-05tweak -V;Jason McIntyre
2009-06-05more rtm->rtm_hdrlen conversionChris Cappuccio
2009-06-05One more tool that knows about other domains via -VClaudio Jeker
2009-04-29+.Xr ndp 8Jason McIntyre