aboutsummaryrefslogtreecommitdiff
path: root/libexec/bootpd
Commit message (Collapse)AuthorAgeFilesLines
* bootpd(8): De-register and minor cleanups.Pedro F. Giffuni2016-04-127-37/+34
| | | | | | | | For bootptest(8) also remuve an unused variable and replace 0 with a NULL for a pointer. Notes: svn path=/head/; revision=297865
* META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery2015-12-011-0/+2
| | | | | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291563
* META_MODE: Remove DEP_MACHINE from Makefile.depend files.Bryan Drewery2015-09-251-2/+0
| | | | | | | | | This has not been needed since r246865 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288228
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.Bryan Drewery2015-09-251-2/+0
| | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288226
* Add META_MODE support.Simon J. Gerraty2015-06-134-0/+78
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-083-6/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge head from 7/28Simon J. Gerraty2014-08-192-9/+9
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=270164
| * Updated dependenciesSimon J. Gerraty2014-05-163-3/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-103-0/+6
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge headSimon J. Gerraty2014-04-283-19/+14
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * \ Merge from headSimon J. Gerraty2013-09-051-1/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | Updated dependenciesSimon J. Gerraty2013-03-113-0/+3
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | Updated dependenciesSimon J. Gerraty2013-02-163-6/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Sync with HEAD.David E. O'Brien2013-02-081-19/+7
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-224-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-202-9/+9
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* | | | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* | | | Re-format the license to conform to our BSD license template as muchChristian Brueffer2014-03-131-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as possible. This does not change the wording in any way. Remove the 3rd clause ("advertising clause") of the BSD license as permitted by the University of Berkeley on July 22, 1999. While the clause itself mentions Lawrence Berkeley Laboratory, UCB is the sole copyright holder of this file. Reviewed by: imp, emaste, eadler MFC after: 2 weeks Notes: svn path=/head/; revision=263121
* | | | Remove the 3rd clause ("advertising clause") of the BSD license asChristian Brueffer2014-02-171-5/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp MFC after: 1 week Notes: svn path=/head/; revision=262136
* | | mdoc sweep.Joel Dahl2013-05-121-1/+1
| |/ |/| | | | | Notes: svn path=/head/; revision=250582
* | Retire struct sockaddr_inarp.Gleb Smirnoff2013-01-311-19/+7
|/ | | | | | | | | | | | | | | | | | Since ARP and routing are separated, "proxy only" entries don't have any meaning, thus we don't need additional field in sockaddr to pass SIN_PROXY flag. New kernel is binary compatible with old tools, since sizes of sockaddr_inarp and sockaddr_in match, and sa_family are filled with same value. The structure declaration is left for compatibility with third party software, but in tree code no longer use it. Reviewed by: ru, andre, net@ Notes: svn path=/head/; revision=246143
* Make sure sections are sorted into conventional order.Joel Dahl2012-03-251-17/+17
| | | | Notes: svn path=/head/; revision=233466
* Spelling fixes for libexec/Ulrich Spörlein2012-01-075-6/+6
| | | | Notes: svn path=/head/; revision=229780
* In libexec/bootpd/tools/bootptest/print-bootp.c, use the correct printfDimitry Andric2011-12-161-1/+1
| | | | | | | | | length modifier for the difference between two pointers. MFC after: 1 week Notes: svn path=/head/; revision=228584
* In libexec/bootpd/bootpgw/bootpgw.c, add a cast for the remainingDimitry Andric2011-12-161-1/+1
| | | | | | | | | | minutes of activity, to avoid a warning on platforms where time_t is a 32-bit integer. MFC after: 1 week Notes: svn path=/head/; revision=228581
* Catch up with kernel using time_uptime to drive ARP timeouts.Gleb Smirnoff2010-12-061-3/+3
| | | | | | | Noticed by: jilles Notes: svn path=/head/; revision=216226
* mdoc: drop even more redundant .Pp callsUlrich Spörlein2010-10-191-1/+0
| | | | | | | | | No change in rendered output, less mandoc lint warnings. Tool provided by: Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp Notes: svn path=/head/; revision=214054
* Make WARNS=6 the default for libexec/.Ed Schouten2010-01-023-0/+6
| | | | | | | | | | | | | | | | | | Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS. Notes: svn path=/head/; revision=201380
* Use RTF_LLDATA.Olivier Houchard2009-03-311-1/+1
| | | | Notes: svn path=/head/; revision=190601
* This main goals of this project are:Qing Li2008-12-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion Notes: svn path=/head/; revision=186119
* Make tv_sec a time_t on all platforms but alpha. Brings us more in line withTom Rhodes2005-12-241-2/+3
| | | | | | | | | | | | POSIX. This also makes the struct correct we ever implement an i386-time64 architecture. Not that we need too. Reviewed by: imp, brooks Approved by: njl (acpica), des (no objects, touches procfs) Tested with: make universe Notes: svn path=/head/; revision=153706
* Fix most cases where the address of an int is passed to a function expecting aStefan Farfeleder2005-02-141-1/+2
| | | | | | | socklen_t * argument. Notes: svn path=/head/; revision=141918
* Expand *n't contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141846
* Sort sections.Ruslan Ermilov2005-01-181-10/+10
| | | | Notes: svn path=/head/; revision=140414
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Call nmatch function with parameters casted to types the function actuallyAlexander Kabaev2004-07-291-1/+1
| | | | | | | expects. Notes: svn path=/head/; revision=132848
* Deal with double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131505
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-022-32/+64
| | | | Notes: svn path=/head/; revision=131487
* Bump document date for the latest change.Ruslan Ermilov2004-05-161-3/+3
| | | | | | | Minor markup tweaks. Notes: svn path=/head/; revision=129303
* Add the '-h hostname' to usage(), too.Peter Pentchev2004-02-131-1/+3
| | | | | | | | | | | While I'm here, sync the usage() synopsis with the manual page synopsis: make the [-i | -s] explicit and sort the options alphabetically. Reminded by: ru MFC after: 3 days Notes: svn path=/head/; revision=125769
* Document the '-h hostname' option, which seems to have been presentPeter Pentchev2004-02-101-7/+14
| | | | | | | | | | | | ever since rev. 1.1 of bootpd.c. While I'm here, rearrange the synopsis a bit: sort the options and clarify that -i and -s are mutually exclusive. Reported by: Atanas Buchvarov <nasko@nove.bg> MFC after: 3 days Notes: svn path=/head/; revision=125654
* fix a couple typos in the commentsJohn-Mark Gurney2003-06-151-2/+2
| | | | | | | From NetBSD's bootpd (in src/usr.sbin/bootp) Notes: svn path=/head/; revision=116371
* fix bootpd to use fd_set. For some reason on Sparc, using int withJohn-Mark Gurney2003-06-151-4/+6
| | | | | | | select is broken. Notes: svn path=/head/; revision=116370
* Add FBSDID. udp/bootps -> bootps/udp. Use err(3).Philippe Charnier2003-02-054-46/+41
| | | | Notes: svn path=/head/; revision=110395
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/Jens Schweikhardt2002-12-301-1/+1
| | | | | | | Add FreeBSD Id tag where missing. Notes: svn path=/head/; revision=108470
* Don't call report() without a format string.Kris Kennaway2002-10-131-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=105041
* Use strlcpy instead of incorrectly using strncpy.Kris Kennaway2002-10-131-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=105039
* de-__P()Alfred Perlstein2002-10-092-2/+2
| | | | Notes: svn path=/head/; revision=104742
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-2/+3
| | | | Notes: svn path=/head/; revision=102411