summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* #include <unistd.h>Ralf Corsepius2010-04-041-0/+1
|
* Add HAVE_CONFIG_H support to let files receive configure defines.Ralf Corsepius2010-03-285-0/+20
|
* 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-111-3/+3
| | | | | | | | | | | | * ftpd/ftpd.c, httpd/uemf.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libblock/src/diskdevs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/uuid/parse.c, libnetworking/lib/ftpfs.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_network.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Fix warnings for ctype methods.
* 2009-12-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-211-1/+1
| | | | * libnetworking/lib/ftpfs.c: Use EINVAL not EBADRQC.
* 2009-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-172-3/+3
| | | | | | | | | * libcsupport/src/termios.c, libfs/src/dosfs/msdos_format.c, libfs/src/nfsclient/src/nfs.c, libfs/src/pipe/fifo.c, libnetworking/lib/rtems_bsdnet_ntp.c, libnetworking/lib/tftpDriver.c, libnetworking/rtems/rtems_glue.c, libnetworking/rtems/rtems_select.c: Eliminate uses of deprecated rtems_clock_get() and replace with properly typed routine.
* Whitespace removal.Ralf Corsepius2009-11-301-27/+27
|
* 2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-291-2/+0
| | | | * libnetworking/lib/tftpDriver.c: Remove vim: meta-tags.
* 2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-291-0/+1
| | | | | * libnetworking/lib/tftpDriver.c (rtems_tftp_eval_path): Add missing parameter pathlen.
* 2009-06-12 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libblock/src/bdbuf.c: Update comments. * libblock/src/bdpart.c, libblock/src/ide_part_table.c: Get the device from the rdev field of the stat buf. * libcsupport/include/rtems/libio.h: Add a path length to evalpath handler. Add parent locations to rmmod and unlink handlers. * libcsupport/include/rtems/libio_.h: Add a path length to rtems_filesystem_evaluate_path. Add rtems_filesystem_evaluate_relative_path, rtems_filesystem_dirname, and rtems_filesystem_prefix_separators. Remove rtems_filesystem_evaluate_parent. * libcsupport/src/base_fs.c, libcsupport/src/chdir.c, libcsupport/src/chmod.c, libcsupport/src/chown.c, libcsupport/src/chroot.c, libcsupport/src/fchdir.c, libcsupport/src/link.c, libcsupport/src/mount.c, libcsupport/src/open.c, libcsupport/src/privateenv.c, libcsupport/src/readlink.c, libcsupport/src/unmount.c, libcsupport/src/utime.c, libcsupport/src/unmount.c, libcsupport/src/utime.c, libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devstat.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_load_tar.c, libfs/src/imfs/ioman.c, libfs/src/pipe/pipe.c, libmisc/fsmount/fsmount.c, libnetworking/lib/ftpfs.c: Add the length parameter to the eval call. * libcsupport/src/eval.c: Add rtems_filesystem_prefix_separators, rtems_filesystem_dirname, rtems_filesystem_evaluate_relative_path. Add the length parameter to the eval call. * libcsupport/src/rmdir.c: Find the parent pathloc then the node pathloc from that node. Remove the call to find the parent given the node pathloc. * libcsupport/src/stat.c: Add the length parameter to the eval call. Set the device into the rdev field. * libcsupport/src/unlink.c: Find the parent pathloc then the node pathloc from that node. Remove the call to find the parent given the node pathloc. * libfs/src/dosfs/fat.c, libfs/src/dosfs/msdos_format.c: Get the disk device number from the stat rdev field. * libfs/src/dosfs/msdos.h: Add the length parameter to the eval call. Add the parent pathloc to the rmnod handler. * libfs/src/dosfs/msdos_dir.c: Add the parent pathloc to the rmnod handler. * libfs/src/dosfs/msdos_eval.c: Add the length parameter to the eval and token call. * libfs/src/imfs/imfs_directory.c: Add the parent pathloc to the rmnod handler. * libfs/src/imfs/imfs_fchmod.c: Do not test the mode flags for only the allowed flags. Add the missing flags spec'ed in the POSIX standard. * libfs/src/imfs/imfs_fsunmount.c, libfs/src/imfs/imfs_rmnod.c, libfs/src/imfs/imfs_unlink.c, libfs/src/imfs/memfile.c: Add the parent node. Currently ignored in the IMFS. * libfs/src/imfs/imfs_stat.c: Return the device number in the rdev field. * libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_symlink.c : Add the length parameter to the token call. * libfs/src/nfsclient/src/nfs.c: Add the length parameter to the eval call and parent node to the rmnod and unlink command. * libmisc/shell/internal.h: Remove the libc mounter decl to make public. * libmisc/shell/main_mount.c: Add support for hooking external mount support for new file systems. * libmisc/shell/shell.h: Add helper functions for the mount command.
* libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h: AddedThomas Doerfler2009-05-071-66/+307
| | | | timeouts. Options are now per file system instance.
* 2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-061-1/+1
| | | | | * libmisc/uuid/gen_uuid.c, libnetworking/lib/syslog.c, telnetd/telnetd.c: Fixed warnings.
* Added timeout for active data connectionThomas Doerfler2009-05-051-24/+40
| | | | | | accept. Return EIO for close() errors. Changed PORT format string. Fixed connection termination after store errors on passive connections. Added magic device identifier for stat().
* 2009-04-29 Chris Johns <chrisj@rtems.org>Chris Johns2009-04-292-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/include/rtems/libio.h: Add rtems_off64_t for internal use. Update the internal off_t to the 64bit offset. * libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c, libfs/src/nfsclient/src/nfs.c, libfs/src/imfs/imfs_fifo.c, libfs/src/imfs/memfile.c, libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs.h, libfs/src/imfs/deviceio.c: Change off_t to rtems_off64_t. * libmisc/shell/main_msdosfmt.c: Add an info level so the format code can tell the user what is happening. Add more options to control the format configuration. * libfs/src/dosfs/msdos_format.c: Add a print function to display the format progress and print statements. Select a better default cluster size depending on the size of the disk. This lowers the size of the FAT on large disks. Read and maintain the MRB partition information. * libfs/src/dosfs/dosfs.h, libfs/src/dosfs/fat.h, libfs/src/dosfs/fat_file.c, libfs/src/dosfs/fat_file.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_conv.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_handlers_dir.c, libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Add long file name support. Change off_t to rtems_off64_t.
* Fixed return codes of open handler.Thomas Doerfler2009-04-141-25/+41
| | | | Request reply after data write connection close.
* 2009-03-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2009-03-301-46/+34
| | | | | * libcsupport/src/symlink.c: Check if path evaluation handler exists. * libnetworking/lib/ftpfs.c: Cleanup.
* * libmisc/shell/shell.h: Pointer toThomas Doerfler2009-03-261-1003/+943
| | | | | | | | | oparations table for mount command is now const. * libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h: Rewrite of the FTP file system which implements now the trivial command state machines of RFC 959. For the data transfer passive (= default) and active (= fallback) modes are now supported. * libmisc/shell/main_mount_ftp.c: Update for FTP file system changes.
* 2009-02-05 Sebastian Huber <sebastian.huber@embedded-brains.de>Ralf Corsepius2009-02-051-2/+2
| | | | | * libnetworking/lib/ftpfs.c: Enable write and mount filesystem with read-write access.
* Add __attribute__((unused)) to unused function args.Ralf Corsepius2009-01-031-5/+5
|
* Use INADDR_ANY/INADDR_BROADCAST.Ralf Corsepius2009-01-031-1/+1
|
* Final resolution of this "small" por t number change.Eric Norum2008-09-261-1/+1
|
* 2008-09-25 Eric Norum <norume@aps.anl.gov>Joel Sherrill2008-09-251-1/+1
| | | | * libnetworking/lib/rtems_bsdnet_ntp.c: Revert previous patch.
* 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-09-241-1/+1
| | | | | * libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix comparision of unsigned < 0).
* 2008-09-23 Eric Norum <norume@aps.anl.gov>Joel Sherrill2008-09-231-1/+1
| | | | | * libnetworking/lib/rtems_bsdnet_ntp.c: Let TCP/IP stack pick port rather than hard coding selection.
* Use bool instead of boolean.Ralf Corsepius2008-09-041-10/+10
|
* 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-181-1/+0
| | | | | | | | | * 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.
* Add prototypes.Ralf Corsepius2008-08-031-1/+1
|
* Add missing prototypes.Ralf Corsepius2008-08-011-1/+1
|
* Use size_t instead of uint32_t for read/write count-args.Ralf Corsepius2006-12-082-4/+4
|
* *** empty log message ***Joel Sherrill2006-09-012-7/+7
|
* Fix spelling mistake.Ralf Corsepius2005-07-061-1/+1
|
* 2005-05-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-271-3/+3
| | | | | | * 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.
* socklen_t.Ralf Corsepius2005-05-101-1/+1
|
* socklen_t, PRIu32.Ralf Corsepius2005-05-091-3/+4
|
* socklen_t.Ralf Corsepius2005-05-091-2/+2
|
* 2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-031-0/+2
| | | | | | PR 755/rtems * libnetworking/libc/res_init.c, libnetworking/lib/rtems_bsdnet_ntp.c, libnetworking/nfs/bootp_subr.c: Include <rtems/bsdnet/servers.h>.
* 2004-07-25 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2004-07-251-52/+76
| | | | | | PR 620/networking * libnetworking/lib/rtems_bsdnet_ntp.c, libnetworking/rtems/rtems_bsdnet.h: Enhance NTP API.
* 2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-293-35/+35
| | | | | | | | | | * 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.
* Unused.Ralf Corsepius2004-03-081-2/+0
|
* 2004-03-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-03-051-2/+2
| | | | * libnetworking/lib/ftpfs.c: Switch bcopy to memcpy.
* 2004-03-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-03-052-7/+2
| | | | | | | | | | | | | | | | | | | | | * 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 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-03-052-2/+7
| | | | | | | | | | | | | | | | | | | | | * 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:
* 2003-11-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-11-281-31/+0
| | | | | | * libc/Makefile.am: Remove. * lib/Makefile.am: Remove. * Makefile.am: Merge-in the Makefile.ams above.
* 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-07-081-4/+6
| | | | | | | * 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-02-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2003-02-051-4/+4
| | | | | | PR 341/networking * lib/ftpfs.c: Account for NULL at end of strings when malloc()'ing memory.
* 2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-111-4/+2
| | | | | | | | | | | * 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-10-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-283-4/+5
| | | | | | | | | | | | | | | | | | | | | * 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-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-221-1/+1
| | | | | | | | | | | * 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 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-221-3/+1
| | | | | | | | | | | | * 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-06-27 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2002-06-272-1/+1160
| | | | | | * 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-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-06-171-4/+4
| | | | | | | | | | | | | | | | | * 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.