Commit Graph

41 Commits

Author SHA1 Message Date
Ralf Corsepius
14d34d841e 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove (Merged into ../configure.ac).
	* Makefile.am, libc/Makefile.am, lib/Makefile.am, wrapup/Makefile.am:
	Reflect having merged configure.ac into ../configure.ac.
	* kern/kern_mib.c: Use RTEMS_VERSION to setup osrelease.
2003-07-08 12:21:36 +00:00
Joel Sherrill
9da12bdbb0 2003-02-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 341/networking
	* lib/ftpfs.c: Account for NULL at end of strings when malloc()'ing
	memory.
2003-02-05 21:25:55 +00:00
Ralf Corsepius
a3dfa39b35 2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* kern/Makefile.am: Remove C_O_FILES;
	Don't let all-local depend on $OBJS)
	* lib/Makefile.am: Ditto.
	* libc/Makefile.am: Ditto.
	* net/Makefile.am: Ditto.
	* netinet/Makefile.am: Ditto.
	* nfs/Makefile.am: Ditto.
	* rtems/Makefile.am: Ditto.
2002-12-11 15:34:58 +00:00
Joel Sherrill
abef0f69ae 2002-10-28 Joel Sherrill <joel@OARcorp.com>
* Pass to eliminate warnings.
	* kern/uipc_mbuf.c: Conditional SYSINIT() usage on __rtems__.
	Fix return statement without a value.
	* lib/ftpfs.c: read and write filesystem routines return ssize_t.
	* lib/syslog.c: Add include of <string.h> to eliminate warning.
	* lib/tftpDriver.c: read and write filesystem routines return ssize_t.
	* libc/gethostbydns.c: Prototype abort().
	* libc/inet_ntoa.c: Prototype strcpy().
	* libc/rcmd.c: Add include of <sys/select.h>
	* net/if_loop.c: Turn token at end of endif to comment.
	* net/rtsock.c, nfs/bootp_subr.c:  Conditional SYSINIT() usage
	on __rtems__.
	* rtems/rtems_bootp.c: Add include of <rtems/rtems_bsdnet_internal.h>.
	* rtems/rtems_bsdnet_internal.h: Added prototypes for memcpy() and
	memset() since the BSD code tries to avoid using libc .h files
	since it is used to being in the kernel.
	* rtems/rtems_syscall.c: read and write filesystem routines
	return ssize_t.
2002-10-28 13:56:01 +00:00
Ralf Corsepius
0e1dd41f04 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* kern/Makefile.am: Use .$(OBJEXT) instead of .o.
	* lib/Makefile.am: Ditto.
	* libc/Makefile.am: Ditto.
	* net/Makefile.am: Ditto.
	* netinet/Makefile.am: Ditto.
	* nfs/Makefile.am: Ditto.
	* rtems/Makefile.am: Ditto.
	* wrapup/Makefile.am: Ditto.
2002-07-22 13:44:48 +00:00
Ralf Corsepius
eb4b28dca2 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* kern/Makefile.am: Eliminate LIBNAME.
	* lib/Makefile.am: Ditto.
	* libc/Makefile.am: Ditto.
	* net/Makefile.am: Ditto.
	* netinet/Makefile.am: Ditto.
	* nfs/Makefile.am: Ditto.
	* rtems/Makefile.am: Ditto.
	* wrapup/Makefile.am: Use project_libdir instead of
	$(PROJECT_RELEASE)/lib.
2002-07-22 06:35:33 +00:00
Joel Sherrill
dda0bffc41 2002-06-27 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
* Addition of a ftp client filesystem, comparable to the tftp one.
	* lib/ftpfs.c, rtems/ftpfs.h: New files.
	* lib/Makefile.am, rtems/Makefile.am: Modified to reflect above.
2002-06-27 21:59:23 +00:00
Ralf Corsepius
f22ebf02b2 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* arpa/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* kern/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	Use ../aclocal.
	* lib/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* libc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* machine/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* net/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* netinet/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* nfs/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* rtems/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* sys/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* vm/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* wrapup/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-17 09:12:00 +00:00
Joel Sherrill
8a79786886 2002-05-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Relocate c/src/libnetworking.
	* Makefile.am: Reflect moval.
	* machine/Makefile.am: Ditto.
	* net/Makefile.am: Ditto.
	* lib/Makefile.am: Ditto.
	* netinet/Makefile.am: Ditto.
	* vm/Makefile.am: Ditto.
	* libc/Makefile.am: Ditto.
	* sys/Makefile.am: Ditto.
	* arpa/Makefile.am: Ditto.
	* nfs/Makefile.am: Ditto.
	* kern/Makefile.am: Ditto.
	* rtems/Makefile.am: Ditto.
	* configure.ac: Dittp.
	* wrapup/Makefile.am: Ditto. Remove references to networking apps.
2002-05-29 17:00:59 +00:00
Joel Sherrill
01d48bf8ea 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* arpa/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* kern/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* lib/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* libc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* machine/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* net/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* netinet/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* nfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* pppd/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_servers/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_telnetd/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_webserver/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sys/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* vm/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:43 +00:00
Joel Sherrill
cf42e73556 2001-01-16 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.clib/tftpDriver.c: Fix TFTP block number checking.
2002-01-16 22:50:04 +00:00
Joel Sherrill
d4651e4104 2002-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* lib/tftpDriver.c: Remove set_errno_and_return_minus_one, include
	<rtems/seterr.h>.
2002-01-04 18:25:27 +00:00
Joel Sherrill
2539cdcd28 2001-12-18 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Allow chdir() to work on TFTP `directories'
	(path names with a / at the end) while disallowing open() operations
	on TFTP `directories'.
2001-12-19 18:11:07 +00:00
Joel Sherrill
86d9ca28ed 2001-12-07 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Restore write capability.
2001-12-07 12:59:12 +00:00
Joel Sherrill
dfe5a4e353 2001-10-18 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Properly handles ../ components in chdir() and
	open() operations within the TFTP file system.
2001-10-18 18:48:55 +00:00
Joel Sherrill
1ef8e3d448 2001-09-27 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Add limited chdir() support to the TFTP
	filesystem.
2001-09-27 13:31:56 +00:00
Joel Sherrill
5400f070e6 2001-09-19 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Add some debugging capability.
2001-09-19 17:40:37 +00:00
Joel Sherrill
126405d9ef 2000-04-24 Eric Norum <eric.norum@usask.ca>
* lib/rtems_bsdnet_ntp.c: Modifications to make the RTEMS NTP
	synchronization a little more robust -- no NTP daemon yet, but
	at least it trys a little harder when the primary NTP server is down.
2001-04-24 21:02:03 +00:00
Joel Sherrill
809feccc93 2001-01-25 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Reduce first timeout interval.  This
	improves throughput on systems which are dropping packets.
	Only the first timeout is reduced.  This keeps the number
	of extra packets down on networks that are very busy and
	dropping lots of packets.
2001-01-25 22:59:32 +00:00
Joel Sherrill
407bc8c9ee 2000-12-14 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Added write capability.
2000-12-14 14:12:19 +00:00
Joel Sherrill
0da0dea224 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* lib/tftpDriver.c: add comments to handlers struct function pointers.
	* rtems/rtems_glue.c: move pointer arithmetic to be _after_
	pointer has been checked against NULL.
2000-10-19 15:33:03 +00:00
Joel Sherrill
9b28bea577 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* kern/Makefile.am, lib/Makefile.am, libc/Makefile.am,
	net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am,
	pppd/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am,
	rtems_webserver/Makefile.am, wrapup/Makefile.am: Include compile.am
2000-09-05 16:07:35 +00:00
Joel Sherrill
4dcd9436d4 Changed name of static table versions to avoid conflict. 2000-07-14 18:52:54 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill
4bf1801d0d Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains the automake files for libnetworking plus a couple of
minor fixes.  [Now only one unused/unsupported Makefile.in remains
(./c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in).]

    To apply:
        patch -p1 < rtems-rc-20000118-7.diff
        /bin/sh rtems-rc-20000118-7.rm
        /bin/sh rtems-rc-20000118-7.add
        ./bootstrap

    Notes:
    * I have tested this one by building all BSPs for m68k, powerpc, sh and
      unix with toolchains built since last weekend.
    * I did not touch libnetworking's directory layout.
2000-02-03 13:21:38 +00:00
Joel Sherrill
fc0b91c5d5 Patch from Eric Norum <eric@cls.usask.ca> to make the NTP handler a little
more flexible about the error status returned from a timeout.
1999-12-13 19:20:38 +00:00
Joel Sherrill
809f445197 Correction from Eric Norum for timeout in TFTP driver following bug
report by Nick.SIMON@syntegra.bt.co.uk:

TFTP uses UDP and UDP packets are prime targets for getting dropped when
the network gets busy.  I want the number of retries quite large in my
application. I see that PACKET_REPLY_MILLISECONDS is, in fact, not
being used.
1999-12-13 17:03:37 +00:00
Joel Sherrill
5d3da15b83 Removed debugging printfs. 1999-12-01 16:00:38 +00:00
Joel Sherrill
017061c561 Patch from Eric Norum <eric@cls.usask.ca> to fix a spot in the tftp file
system table from when the rtems_filesystem_operations_table structure changed
and the initializer in libnetworking/lib/tftpDriver.c did not get
updated.
1999-12-01 15:54:17 +00:00
Joel Sherrill
cbccd37599 Patch from Eric Norum <eric@cls.usask.ca> which includes:
Patches against 1105 snapshot to add NTP server support to network
    configuration/BOOTP.
1999-11-10 14:31:11 +00:00
Joel Sherrill
48abdc31fd Patch from Eric Norum <eric@cls.usask.ca> to readd the behavior where
the minor number indicated the port number to try.
1999-08-23 14:58:16 +00:00
Joel Sherrill
09ea257c58 Patch from Eric Norum <eric@cls.usask.ca>:
I get the following warning when compiling the latest snapshot.  I had
a quick look at the source -- it certainly looks to me like this is a
real bug.

../../../../src/rtems-19990709/c/src/lib/libc/mount.c:97: warning:
`options' might be used uninitialized in this function

Also, I changed the TFTP test program and TFTP driver to reflect the
changes in the way paths are passed to the TFTP driver.  The TFTP driver
now needs a proper `dotted-decimal' hostname as the second component of
the path name.
1999-07-12 15:52:35 +00:00
Joel Sherrill
937ab62c30 After comments D. V. Henkel-Wallace <gumby@zembu.com>, the interface to
mount() was changed to avoid the use of a string as the options.
1999-06-15 22:16:30 +00:00
Joel Sherrill
acb644a66f Error reporting fixed by Jennifer. 1999-05-07 16:30:44 +00:00
Joel Sherrill
c1a37d3e94 Debugged and now works except for handling of minor number. 1999-02-04 14:54:31 +00:00
Joel Sherrill
94b3ee1366 Made to compile after hacking tftp driver into beginnings of a mini-filesystem. 1999-01-21 22:25:43 +00:00
Joel Sherrill
a7c4314dca Added comments for changing to a filesystem 1999-01-19 20:23:15 +00:00
Joel Sherrill
96b3916409 Added CVS Ids 1998-08-20 21:56:40 +00:00
Joel Sherrill
ff0f694d46 Fixed many warnings. 1998-08-20 21:47:37 +00:00
Joel Sherrill
39e6e65a2c Base files 1998-08-19 21:32:28 +00:00