Home | History | Annotate | Download | only in libsa
History log of /src/sys/lib/libsa/bootp.c
RevisionDateAuthorComments
 1.43  05-Apr-2019  christos Go back ot using 0x%x instead of %#x because we don't always support the
format. See subr_prf.c
 1.42  31-Mar-2019  christos fix warnings, printf formats, etc.
 1.41  25-Jun-2016  isaki branches: 1.41.18;
Fix typo.
 1.40  25-Jul-2015  isaki white space -> tab.
 1.39  20-Mar-2014  christos branches: 1.39.6;
kill sprintf
 1.38  11-May-2011  zoltan branches: 1.38.4; 1.38.14; 1.38.18;
Separate the IP and UDP code paths inside libsa, so I can add HTTP booting
later.
 1.37  10-Jul-2009  roy branches: 1.37.4; 1.37.6;
Use a function to add extra data to the vendor area so that data added
remains constant for both DISCOVER and REQUEST messages.
 1.36  10-Jul-2009  roy We should request the DHCP parameters we need.
 1.35  06-May-2009  roy We should check for potential overflows.

ok: martin
 1.34  17-Jan-2009  tsutsui branches: 1.34.2;
Remove __P().
 1.33  12-Jan-2009  tsutsui Replace time_t values in libsa sources with the following two types
to avoid unnecessary 64 bit ops which would make binaries larger:

satime_t (currently unsigned int):
numbers in seconds returned by the machine dependent getsecs() function
which are used to measure relative time

saseconds_t (currently int):
numbers in seconds used to specify timeout to network drivers

Per discussion on current-users.
 1.32  25-Mar-2008  christos branches: 1.32.4; 1.32.12;
- use mem* instead of b* routines, and kill the b* routines.
- use the mem* routines from libc.
XXX: There will be some lossage, but I am fixing it.
 1.31  24-Nov-2007  isaki branches: 1.31.14;
style, indent, and ANSI-fy.
 1.30  01-Oct-2007  martin branches: 1.30.4;
Make a few debug outputs only happen when debugging.
 1.29  20-May-2006  mrg branches: 1.29.16; 1.29.30; 1.29.32; 1.29.34;
add (char *) cast to quieten GCC.
 1.28  11-Dec-2005  christos branches: 1.28.4; 1.28.6; 1.28.8; 1.28.12; 1.28.14;
merge ktrace-lwp.
 1.27  13-Jun-2005  junyoung branches: 1.27.2;
Remove bcmp(). Use memcmp() instead.
 1.26  26-Feb-2005  perry nuke trailing whitespace
 1.25  31-Aug-2003  fvdl branches: 1.25.8; 1.25.10;
Fix signed/unsigned warnings.
 1.24  12-Mar-2003  drochner branches: 1.24.2;
no need to include "netif.h" anymore
(shared interface stuff is in iodesc.h, included by net.h)
 1.23  25-Feb-2003  ragge Remove bogus check for bogus netmask.
 1.22  20-Mar-2002  thorpej * Add a NetBSD Vendor Class Identifier option as proposed on tech-net
in message <20020216172527.C23901@dr-evil.shagadelic.org>.
* Print the bootp/dhcp response, as is done for rarp/bootparam
responses.
* Nuke bootp_flags and BOOTP_PXE; they're not used, nor should they be.
 1.21  19-Jul-2001  wiz Fix typo (`information' has an 'r').
 1.20  02-Nov-2000  thorpej branches: 1.20.2; 1.20.4;
Introduce a way for boot programs to modify the behavior of
bootp(). Add a BOOTP_PXE flag which causes bootp() to send
"PXEClient" in the DHCP class field.

Derived from similar code in FreeBSD.
 1.19  30-Mar-2000  augustss Kill some more register declarations.
 1.18  13-Nov-1999  thorpej Backout my libsa changes.
 1.17  11-Nov-1999  thorpej Update for the improvements to libsa, and don't reference libkern.h.
 1.16  12-Feb-1999  drochner branches: 1.16.8; 1.16.10; 1.16.14;
Add some #ifdef SUPPORT_LINUX code which specifies a BOOTP tag to pass
a command line for that kernel.
Minor sizeof() sanity.
 1.15  24-Apr-1998  drochner -catch zero and broadcast IP addresses sent by a DHCP server
-KNF
 1.14  16-Feb-1998  drochner Always set own IP address to 0.0.0.0 before BOOTP or DHCP.
 1.13  17-Sep-1997  drochner branches: 1.13.2;
Keep a copy of the original BOOTP bp_siaddr field, in case we want to
use it later for TFTP.
 1.12  06-Sep-1997  drochner -add DHCP support - this option also extends the vendor extension area
to 312 bytes (The classical 64 bytes are likely to be too small if a
rootpath is transferred.)
-make CMU vendor extension support optional
-remove code handling domain name/server (unneeded for boot code)
- -Wall fixes in debug code
 1.11  26-Jun-1997  drochner branches: 1.11.4;
Avoid user space headers for standalone programs.
Don't use sys/lib/libkern or sys/lib/libz if not standalone
(ie, user space test programs).
 1.10  13-Oct-1996  christos backout previous kprintf changes
 1.9  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.8  26-Sep-1996  cgd enough 64-bit fixes to make network booting work on the Alpha. In general,
these are hacks (s/long/int/, etc.), but this code really needs a heavy
cleaning (including fixed-size typing) and I don't have time to give it one
now.
 1.7  18-Sep-1995  pk Another round of clean up, including fixes presented by Matthias Drochner
(PR#1404). Things to be noted:
- all IP addresses are now `struct in_addr's.
- the function rarp_getipaddress() no longer return `myip'; in stead
it returns -1 on failure (errno set), 0 on success. `myip' is set
as a size-effect.
 1.6  14-Sep-1995  pk Clear up some size_t/ssize_t confusion.
 1.5  22-Apr-1995  cgd cast ptrs to longs.
 1.4  21-Feb-1995  mycroft Clean up a little.
 1.3  20-Feb-1995  mycroft Various:
* Fix some misused types.
* Encapsulate the protocols better.
* Rearrange the RPC stuff to work more like the kernel. (Needs more work.)
* Remove a bunch of extra hair when reading a file over NFS.
* Use RPCAUTH_UNIX when talking to the NFS server.
 1.2  26-Oct-1994  cgd new RCS ID format.
 1.1  08-May-1994  brezak Standalone networking for network boot loaders.
 1.11.4.2  22-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.11.4.1  06-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.13.2.2  08-May-1998  mycroft Pull up 1.14, per request of drochner.
 1.13.2.1  08-May-1998  mycroft Pull up 1.15, per request of drochner.
 1.16.14.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.16.10.1  15-Nov-1999  fvdl Sync with -current
 1.16.8.2  22-Nov-2000  bouyer Sync with HEAD.
 1.16.8.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.20.4.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.20.4.1  03-Aug-2001  lukem update to -current
 1.20.2.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.20.2.1  24-Aug-2001  nathanw Catch up with -current.
 1.24.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.24.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.24.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.24.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.24.2.1  03-Aug-2004  skrll Sync with HEAD
 1.25.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.25.8.1  29-Apr-2005  kent sync with -current
 1.27.2.3  07-Dec-2007  yamt sync with head
 1.27.2.2  27-Oct-2007  yamt sync with head.
 1.27.2.1  21-Jun-2006  yamt sync with head.
 1.28.14.1  19-Jun-2006  chap Sync with head.
 1.28.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.28.8.1  24-May-2006  yamt sync with head.
 1.28.6.1  01-Jun-2006  kardel Sync with head.
 1.28.4.1  09-Sep-2006  rpaulo sync with head
 1.29.34.1  06-Oct-2007  yamt sync with head.
 1.29.32.2  09-Jan-2008  matt sync with HEAD
 1.29.32.1  06-Nov-2007  matt sync with HEAD
 1.29.30.2  27-Nov-2007  joerg Sync with HEAD. amd64 Xen support needs testing.
 1.29.30.1  02-Oct-2007  joerg Sync with HEAD.
 1.29.16.1  09-Oct-2007  ad Sync with head.
 1.30.4.1  08-Dec-2007  mjf Sync with HEAD.
 1.31.14.2  17-Jan-2009  mjf Sync with HEAD.
 1.31.14.1  03-Apr-2008  mjf Sync with HEAD.
 1.32.12.1  19-Jan-2009  skrll Sync with HEAD.
 1.32.4.3  18-Jul-2009  yamt sync with head.
 1.32.4.2  16-May-2009  yamt sync with head
 1.32.4.1  04-May-2009  yamt sync with head.
 1.34.2.2  23-Jul-2009  jym Sync with HEAD.
 1.34.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.37.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.37.4.1  31-May-2011  rmind sync with head
 1.38.18.1  18-May-2014  rmind sync with head
 1.38.14.2  03-Dec-2017  jdolecek update from HEAD
 1.38.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.38.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.39.6.2  09-Jul-2016  skrll Sync with HEAD
 1.39.6.1  22-Sep-2015  skrll Sync with HEAD
 1.41.18.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed