summaryrefslogtreecommitdiff
path: root/usr.sbin/ndp/ndp.c
AgeCommit message (Expand)Author
2021-03-02remove ts_print() prototype function was removed in rev 1.100Jonathan Gray
2021-01-24Pass sockaddr_in6 arround so that we have space to store the scope inFlorian Obser
2021-01-22The correct spelling is NULL.Florian Obser
2021-01-21ndp only deals with current localtime. Print time with subsecondFlorian Obser
2019-12-19In ndp(8) the scope ID was not set correctly so it touches the wrongAlexander Bluhm
2019-08-31The algorithm creating the routing addresses in route(8) and arp(6)Alexander Bluhm
2019-08-27Sync const correctness with arp(8)kn
2019-08-25Merge common parsing route into new parse_host() helperkn
2019-08-23Honour -n when setting entrieskn
2019-08-22Replace hand-rolled errors with warn(3)kn
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-01-22PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() callsKenneth R Westerback
2019-01-21Zap unused ntop_bufkn
2018-07-13Unused variables.Kenneth R Westerback
2018-06-17fix memory leaks: freeaddrinfo() the data from getaddrinfo().Sebastian Benoit
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2017-10-25Remove dead code, found by jsg@.Martin Pieuchot
2017-08-09the recent adjustment of -i means usage() fits nicely onJason McIntyre
2017-08-09Remove knob and always do neighbor unreachable detection.Florian Obser
2017-08-09accept_rtadv doesn't do anything since some time.Florian Obser
2017-07-13Simplify usage and man page synopsis after removal of prefix list andFlorian Obser
2017-07-12Remove defunct code, the kernel no longer providesFlorian Obser
2017-04-15Take implementation for getsocket() from arp(8). This bringsAlexander Bluhm
2017-04-15Let ndp(8) use the process's current routing table by default.Alexander Bluhm
2016-11-29Tweak output to keep it aligned when interfaces with big names, likeMartin Pieuchot
2016-08-15Checking for RTF_BROADCAST here makes no sense.Martin Pieuchot
2016-08-05Using a macro to save 4 chars is mere obfuscation.Jeremie Courreges-Anglas
2016-08-05Kill an unused macroJeremie Courreges-Anglas
2016-08-02Ensure that "lim" is initialized and reset at each loop run.Jeremie Courreges-Anglas
2016-07-31Rename the route socket to a more useful name.Jeremie Courreges-Anglas
2016-07-31Turn two global variables into variables local to main.Jeremie Courreges-Anglas
2016-07-31Duplicated declsJeremie Courreges-Anglas
2016-04-05etheraddr -> ether_addr, as in arp(8); discussed with jmc@Jeremie Courreges-Anglas
2016-04-04Hook up ndp -f.Jeremie Courreges-Anglas
2016-01-26Use an unsigned int rather than an int when iterating through all 32mmcc
2016-01-12Do not print an error if the list of prefixes is empty.Martin Pieuchot
2015-10-28Remove linkmtu and maxmtu from struct nd_ifinfo. IN6_LINKMTU can nowFlorian Obser
2015-10-25backout; many issues remain...Theo de Raadt
2015-10-25pledge the main usage patterns similar to arp(8). Some akkorokamuiTheo de Raadt
2015-10-24chlim has been removed from the nd_ifinfo structure.Matthieu Herrb
2015-10-23ndp -n -d <addr> does dns lookups, even with -n. it should not.Sebastian Benoit
2015-08-23Use simple byte pointer arithmetic and memcpy from/to aligned stackChristian Weisgerber
2015-06-03Explicitly request the sockaddr_dl when doing a RTM_GET rather thanMartin Pieuchot
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
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-22switch ndp to display MAC addresses in 00:00:00:00:00:00 format, ok deraadt@Stuart Henderson
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