Home | History | Annotate | Download | only in libsa
History log of /src/sys/lib/libsa/net.c
RevisionDateAuthorComments
 1.36  31-Mar-2019  christos fix warnings, printf formats, etc.
 1.35  11-Apr-2009  lukem branches: 1.35.64;
fix sign-compare issue
 1.34  31-Jan-2009  isaki branches: 1.34.2;
Revert previous one. It has already fixed in net.h,v 1.25.
 1.33  31-Jan-2009  isaki Fix build error. Declare getsecs() before (re-)defining it.
 1.32  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.31  24-Nov-2007  isaki branches: 1.31.14; 1.31.18; 1.31.26;
style, indent, and ANSI-fy.
 1.30  21-Jan-2006  dsl branches: 1.30.42; 1.30.44; 1.30.50;
Adjust code so that it will work when _STANDALONE isn't defined.
Allows it to be used for mount_nfs when SMALL is set - eg install floppies/
 1.29  11-Dec-2005  christos branches: 1.29.2;
merge ktrace-lwp.
 1.28  31-Aug-2003  fvdl branches: 1.28.16;
Fix signed/unsigned warnings.
 1.27  25-Oct-2000  thorpej branches: 1.27.24;
Split the UDP routines out of net.c.
 1.26  30-Mar-2000  augustss Kill some more register declarations.
 1.25  13-Nov-1999  thorpej Backout my libsa changes.
 1.24  11-Nov-1999  thorpej Update for the improvements to libsa, and don't reference libkern.h.
 1.23  07-May-1999  drochner branches: 1.23.2; 1.23.4; 1.23.8;
move intoa() from libsa:net.c to libkern, turn inet_ntoa() into a macro,
nuke ip_convertaddr()
 1.22  12-Apr-1999  ross libkern just got an inet_addr(), but it won't compile, no prototype. Cleanup...
* Add prototype to libkern.h.
* Remove the almost-identical-copy from libsa/net.[ch].
* Change its type back to the (wrong, but harmless) historical one. (u_long)
* Kill the XXX local prototype in nfs_bootparam.c
 1.21  11-Feb-1999  pk branches: 1.21.4;
Add missing prototypes.
 1.20  26-Dec-1997  scottr If the send routine returns an error (-1), wait and retry using the same
backoff mechanism we use for receiving the response. This is particularly
helpful when we have transient errors on transmit, e.g. a very busy
network or router.
 1.19  17-Sep-1997  drochner branches: 1.19.2;
Save some bytes by keeping the number of byteswaps minimal.
Allow to switch off UDP checksum generation and check via compile time
option (for the really desperade).
 1.18  06-Sep-1997  drochner -Wall fixes
 1.17  07-Jul-1997  drochner branches: 1.17.2;
Don't use private copy of old netinet/if_ether.h.
Use <net/if_ether.h> for ethernet specific definitions, and insert private
definitions for ARP if needed. (The new ARP macros in <net/if_arp.h> are
not used because they create larger code, and we really don't need more
than ethernet/ip support here.)
 1.16  26-Jun-1997  drochner 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.15  15-Mar-1997  is New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
 1.14  13-Oct-1996  christos branches: 1.14.6;
backout previous kprintf changes
 1.13  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.12  13-Dec-1995  pk Make `time difference' a signed quantity explicitly.
 1.11  29-Nov-1995  thorpej Use bzero() instead of memset(..., 0, ...).
 1.10  21-Nov-1995  cgd make netinet work on systems where pointers and longs are 64 bits
(like the alpha). Biggest problem: IP headers were overlayed with
structure which included pointers, and which therefore didn't overlay
properly on 64-bit machines. Solution: instead of threading pointers
through IP header overlays, add a "queue element" structure to do
the threading, and point it at the ip headers.
 1.9  23-Sep-1995  thorpej Add an inet_addr() function; return network-order numeric representation
of an IP address from `aa.bb.cc.dd'-style text input.
 1.8  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.7  17-Sep-1995  pk Revert fs_ops read/write declarations; these return error numbers.
Get rid of some more compiler warnings.
Set errno where appropriate.
 1.6  14-Sep-1995  pk Clear up some size_t/ssize_t confusion.
 1.5  11-Sep-1995  thorpej Changes from Gordon Ross:
a) check against `my' ethernet or broadcast addresses done in
ether.c
b) changed interface to readether() to provide ethertype info
c) respond to arp requests when appropriate.
First two are clean-up. Last fixes hp300 and presumably mvme68k netboot
code.
 1.4  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.3  26-Oct-1994  cgd new RCS ID format.
 1.2  04-Aug-1994  brezak branches: 1.2.2;
Make libsa compile again by not including sys/errno.h
 1.1  08-May-1994  brezak branches: 1.1.2;
Standalone networking for network boot loaders.
 1.1.2.1  05-Aug-1994  mycroft update from trunk, per Brezak
 1.2.2.2  04-Aug-1994  brezak Make libsa compile again by not including sys/errno.h
 1.2.2.1  04-Aug-1994  brezak file net.c was added on branch netbsd-1-0 on 1994-08-04 19:39:36 +0000
 1.14.6.1  07-Mar-1997  is Use the local copy of the old-style if_ether.h for the moment, til we have
time to modernize the libsa ARP support.
 1.17.2.2  22-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.17.2.1  06-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.19.2.1  26-Dec-1997  perry pull up from trunk (scottr)
 1.21.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.23.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.23.4.1  15-Nov-1999  fvdl Sync with -current
 1.23.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.23.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.27.24.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.27.24.2  18-Sep-2004  skrll Sync with HEAD.
 1.27.24.1  03-Aug-2004  skrll Sync with HEAD
 1.28.16.2  07-Dec-2007  yamt sync with head
 1.28.16.1  21-Jun-2006  yamt sync with head.
 1.29.2.1  01-Feb-2006  yamt sync with head.
 1.30.50.1  08-Dec-2007  mjf Sync with HEAD.
 1.30.44.1  09-Jan-2008  matt sync with HEAD
 1.30.42.1  27-Nov-2007  joerg Sync with HEAD. amd64 Xen support needs testing.
 1.31.26.2  28-Apr-2009  skrll Sync with HEAD.
 1.31.26.1  19-Jan-2009  skrll Sync with HEAD.
 1.31.18.1  04-May-2009  yamt sync with head.
 1.31.14.1  17-Jan-2009  mjf 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.35.64.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed