summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd
Commit message (Collapse)AuthorAgeFilesLines
* In libexec/bootpd/tools/bootptest/print-bootp.c, use the correct printfdim2011-12-161-1/+1
| | | | | | length modifier for the difference between two pointers. MFC after: 1 week
* In libexec/bootpd/bootpgw/bootpgw.c, add a cast for the remainingdim2011-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
* Catch up with kernel using time_uptime to drive ARP timeouts.glebius2010-12-061-3/+3
| | | | Noticed by: jilles
* mdoc: drop even more redundant .Pp callsuqs2010-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
* Make WARNS=6 the default for libexec/.ed2010-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.
* Use RTF_LLDATA.cognet2009-03-311-1/+1
|
* This main goals of this project are:qingli2008-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
* Make tv_sec a time_t on all platforms but alpha. Brings us more in line withtrhodes2005-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
* Fix most cases where the address of an int is passed to a function expecting astefanf2005-02-141-1/+2
| | | | socklen_t * argument.
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-10/+10
|
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* For variables that are only checked with defined(), don't provideru2004-10-241-1/+1
| | | | any fake value.
* Call nmatch function with parameters casted to types the function actuallykan2004-07-291-1/+1
| | | | expects.
* Deal with double whitespace.ru2004-07-031-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-022-32/+64
|
* Bump document date for the latest change.ru2004-05-161-3/+3
| | | | Minor markup tweaks.
* Add the '-h hostname' to usage(), too.roam2004-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
* Document the '-h hostname' option, which seems to have been presentroam2004-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
* fix a couple typos in the commentsjmg2003-06-151-2/+2
| | | | From NetBSD's bootpd (in src/usr.sbin/bootp)
* fix bootpd to use fd_set. For some reason on Sparc, using int withjmg2003-06-151-4/+6
| | | | select is broken.
* Add FBSDID. udp/bootps -> bootps/udp. Use err(3).charnier2003-02-054-46/+41
|
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* Don't call report() without a format string.kris2002-10-131-1/+1
| | | | MFC after: 3 days
* Use strlcpy instead of incorrectly using strncpy.kris2002-10-131-1/+1
| | | | MFC after: 2 weeks
* de-__P()alfred2002-10-092-2/+2
|
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-2/+3
|
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-131-1/+1
|
* The .Nm utilitycharnier2002-07-063-6/+11
|
* Assume __STDC__, remove non-__STDC__ code. ↵alfred2002-05-282-24/+4
| | | | Remove private __P.
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-281-11/+3
| | | | Remove private __P.
* This code defined a private __P, nuke it.alfred2002-05-288-87/+59
|
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-2814-97/+17
| | | | Reviewed by: md5
* Mark report() as printflike and fix resulting warnings, including one bugkris2002-02-044-4/+4
| | | | (get_errmsg -> get_errmsg())
* Avoid a few compiler warnings (printf codes, missing includes etc).iedowse2001-09-293-4/+8
| | | | | | PR: bin/30864 Obtained from: Dan Lukes <dan@obluda.cz> MFC after: 1 week
* Missing `break' statements caused two error messages to becomeiedowse2001-09-291-1/+3
| | | | | | | | | "unkown error" [sic]. Add the missing breaks, and correct the spelling typo. PR: bin/30865 Submitted by: Dan Lukes <dan@obluda.cz> MFC after: 1 week
* RFC2132 is not clear about whether the "Maximum DHCP Message Size"iedowse2001-09-252-2/+4
| | | | | | | | | | | | | | | refers to the size of the whole ethernet packet, just the DHCP message within the UDP payload, or something else. bootpd interpreted it as a maximum UDP payload size, so it could end up sending fragmented packets to clients (such as some versions of Etherboot) that used different interpretations of the maximum message size. Switch to the most conservative interpretation: ensure that the ethernet packet containing the response is no larger than the specified maximum message size. This matches the behaviour of the ISC dhcpd. MFC after: 1 week
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-1/+1
| | | | with a trailing zero-width space: `e.g.\&'.
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-264-3/+3
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for libexec/ to 8.ru2001-03-203-3/+2
|
* Preceed/preceeding are not english words. Use precede or preceding.asmodai2001-02-181-2/+2
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-012-5/+5
|
* man(7) -> mdoc(7).ru2001-01-162-97/+106
|
* mdoc(7) police: .Os CMU -> .Os, split authors for better output.ru2000-12-122-2/+3
|
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-111-1/+1
|
* Add `_PATH_DEVZERO'.obrien2000-12-093-3/+8
| | | | Use _PATH_* where where possible.
* Constifykris2000-11-262-5/+6
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-10/+10
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-28/+27
|
OpenPOWER on IntegriCloud