Ralf Corsepius
bcf8ee282f
2009-02-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libnetworking/lib/ftpfs.c: Enable write and mount filesystem
with read-write access.
2009-02-05 05:45:55 +00:00
Ralf Corsepius
722bdd8f8c
Add __attribute__((unused)) to unused function args.
2009-01-03 08:31:25 +00:00
Ralf Corsepius
0b8706452a
Use INADDR_ANY/INADDR_BROADCAST.
2009-01-03 08:28:02 +00:00
Eric Norum
ac337bc053
Final resolution of this "small" por t number change.
2008-09-26 15:03:29 +00:00
Joel Sherrill
0655f79d8e
2008-09-25 Eric Norum <norume@aps.anl.gov>
...
* libnetworking/lib/rtems_bsdnet_ntp.c: Revert previous patch.
2008-09-25 19:54:26 +00:00
Ralf Corsepius
3469329c31
2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix
comparision of unsigned < 0).
2008-09-24 08:51:54 +00:00
Joel Sherrill
dba0264924
2008-09-23 Eric Norum <norume@aps.anl.gov>
...
* libnetworking/lib/rtems_bsdnet_ntp.c: Let TCP/IP stack pick port
rather than hard coding selection.
2008-09-23 15:21:21 +00:00
Ralf Corsepius
f002800eaf
Use bool instead of boolean.
2008-09-04 14:20:51 +00:00
Joel Sherrill
02aaec7647
2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c,
libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c,
libnetworking/rtems/rtems_glue.c,
libnetworking/rtems/rtems_malloc_mbuf.c,
libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h:
Fix some warnings.
2008-08-18 21:42:41 +00:00
Ralf Corsepius
b5cc0592f7
Add prototypes.
2008-08-03 04:27:50 +00:00
Ralf Corsepius
e386ad7265
Add missing prototypes.
2008-08-01 05:07:41 +00:00
Ralf Corsepius
7192476f7a
Use size_t instead of uint32_t for read/write count-args.
2006-12-08 07:18:27 +00:00
Joel Sherrill
300c914c64
*** empty log message ***
2006-09-01 18:15:01 +00:00
Ralf Corsepius
4b35e0e24e
Fix spelling mistake.
2005-07-06 09:56:57 +00:00
Joel Sherrill
9d16b9c3f0
2005-05-26 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/lib/ftpfs.c, librpc/include/rpc/svc.h,
librpc/src/rpc/get_myaddress.c, librpc/src/rpc/pmap_getmaps.c,
librpc/src/rpc/pmap_getport.c: Remove warnings.
2005-05-27 00:37:13 +00:00
Ralf Corsepius
8b02581b22
socklen_t.
2005-05-10 08:06:58 +00:00
Ralf Corsepius
64d29bcf58
socklen_t, PRIu32.
2005-05-09 12:42:59 +00:00
Ralf Corsepius
1ed739c0a0
socklen_t.
2005-05-09 12:41:28 +00:00
Ralf Corsepius
b90307a092
2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>
...
PR 755/rtems
* libnetworking/libc/res_init.c, libnetworking/lib/rtems_bsdnet_ntp.c,
libnetworking/nfs/bootp_subr.c: Include <rtems/bsdnet/servers.h>.
2005-02-03 05:49:30 +00:00
Joel Sherrill
8d2733f020
2004-07-25 Till Straumann <strauman@slac.stanford.edu>
...
PR 620/networking
* libnetworking/lib/rtems_bsdnet_ntp.c,
libnetworking/rtems/rtems_bsdnet.h: Enhance NTP API.
2004-07-25 15:04:13 +00:00
Ralf Corsepius
d8dbdc02cf
2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libnetworking/lib/ftpfs.c, libnetworking/lib/rtems_bsdnet_ntp.c,
libnetworking/lib/tftpDriver.c, libnetworking/machine/endian.h,
libnetworking/net/if_ppp.c, libnetworking/rtems/rtems_bsdnet.h,
libnetworking/rtems/rtems_bsdnet_internal.h,
libnetworking/rtems/rtems_glue.c,
libnetworking/rtems/rtems_syscall.c: Convert to using c99 fixed size
types.
2004-03-29 22:11:51 +00:00
Ralf Corsepius
2609e83f77
Unused.
2004-03-08 16:26:41 +00:00
Joel Sherrill
1cf0ea1f0a
2004-03-05 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/lib/ftpfs.c: Switch bcopy to memcpy.
2004-03-05 18:25:33 +00:00
Joel Sherrill
cb2f32039d
2004-03-05 Joel Sherrill <joel@OARcorp.com>
...
* libblock/src/bdbuf.c, libblock/src/ramdisk.c,
libcsupport/src/newlibc.c, libcsupport/src/sync.c,
libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c,
libmisc/shell/cmds.c, libmisc/shell/shell.c,
libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c,
libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c,
libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c,
libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c,
libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c,
libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c,
libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c,
libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c,
libnetworking/libc/res_send.c, libnetworking/libc/res_update.c,
libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c,
librpc/src/rpc/clnt_perror.c, librpc/src/rpc/svc.c,
score/macros/rtems/score/chain.inl, score/src/objectidtoname.c: Too
much was accidentally committed -- revert.
2004-03-05 18:02:41 +00:00
Joel Sherrill
b2b143f402
2004-03-05 Joel Sherrill <joel@OARcorp.com>
...
* libblock/src/bdbuf.c, libblock/src/ramdisk.c,
libcsupport/src/newlibc.c, libcsupport/src/sync.c,
libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c,
libmisc/shell/cmds.c, libmisc/shell/shell.c,
libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c,
libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c,
libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c,
libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c,
libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c,
libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c,
libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c,
libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c,
libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c,
libnetworking/libc/res_send.c, libnetworking/libc/res_update.c,
libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c,
librpc/src/rpc/clnt_perror.c, librpc/src/rpc/rtems_rpc.c,
librpc/src/rpc/svc.c, sapi/include/confdefs.h,
score/macros/rtems/score/chain.inl, score/src/objectidtoname.c:
2004-03-05 17:58:51 +00:00
Ralf Corsepius
489c1588f4
2003-11-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* libc/Makefile.am: Remove.
* lib/Makefile.am: Remove.
* Makefile.am: Merge-in the Makefile.ams above.
2003-11-28 13:27:15 +00:00
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