summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-10-20 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-10-201-1/+1
| | | | | | PR1424/networking * libnetworking/net/rtsock.c: (merged from BSD) copy information out to user buffer.
* 2009-10-20 Chris Johns <chrisj@rtems.org>Chris Johns2009-10-201-1/+1
| | | | | | | * libnetworking/rtems/rtems_mii_ioctl_kern.c: Added IFM_ACTIVE and IFM_AVALID to the status for a link up. These are the supported but in the BSD stack. Before IFM_LINK_OK was set and this is a spare bit.
* 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-301-1/+1
| | | | | * libnetworking/net/ppp_tty.c: Reflect termios_baud_to_number having been renamed to rtems_termios_baud_to_number.
* 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-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-062-16/+1
| | | | | | | * libcsupport/src/issetugid.c: New (relocated from libnetworking). * libnetworking/rtems/issetugid.c: Remove. * libnetworking/Makefile.am: Reflect changes above. * libcsupport/Makefile.am: Reflect changes above.
* 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.
* 2009-05-08 Chris Johns <chrisj@rtems.org>Chris Johns2009-05-081-13/+13
| | | | | | | * cpukit/libblock/src/bdpart.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_rm.c, libnetworking/libc/gethostnamadr.c, score/include/rtems/score/bitfield.h, score/inline/rtems/score/priority.inl: Remove warnings.
* libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h: AddedThomas Doerfler2009-05-072-81/+366
| | | | 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.
* 2009-04-28 Chris Johns <chrisj@rtems.org>Chris Johns2009-04-282-21/+46
| | | | | | | | | | * libnetworking/nfs/bootp_subr.c: Fixed PR1384. The route set in the initialise pass is not deleted so an exists error is returned. Ignore the error. Print the server address as an IP address not hex digits. * libnetworking/rtems/rtems_dhcp.c: Fixed PR1338. Close the socket, handle the returned event flags.
* 2009-04-14 Till Straumann <strauman@slac.stanford.edu>Till Straumann2009-04-151-0/+12
| | | | | * libnetworking/rtems/rtems_mii_ioctl_kern.c: poll BMSR twice to clear latched link-status low.
* 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.
* 2009-03-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2009-03-271-6/+3
| | | | | | | | | | | | * Makefile.am, preinstall.am, libmisc/Makefile.am, libmisc/shell/shell.c, libmisc/shell/shell.h, telnetd/check_passwd.c, telnetd/telnetd.c, telnetd/telnetd.h: Generalized login check. * libmisc/shell/login.h, libmisc/shell/login_check.c, libmisc/shell/login_prompt.c: New files. * libmisc/stackchk/check.c: Changed format for blown stack message. * libcsupport/src/libio_sockets.c: Removed superfluous cast. * libnetworking/rtems/ftpfs.h: Documentation.
* * libmisc/shell/shell.h: Pointer toThomas Doerfler2009-03-262-1015/+1049
| | | | | | | | | 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-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-02-191-0/+4
| | | | | | * libnetworking/rtems/rtems_bsdnet_internal.h: Re-add boolean when building BSD code. This is used by at least one of the BSD NIC drivers I am currently porting. I am trying out
* Partial update from FreeBSD.Ralf Corsepius2009-02-112-9/+11
|
* Remove PSEUDO_* (Unused, not in FreeBSD).Ralf Corsepius2009-02-111-28/+0
|
* Remove struct linker_set (Unused).Ralf Corsepius2009-02-111-6/+0
|
* Remove PSEUDO_SET (Unused).Ralf Corsepius2009-02-111-2/+1
|
* Remove domain_set (Unused).Ralf Corsepius2009-02-111-2/+0
|
* 2009-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-02-111-41/+5
| | | | | | | * libnetworking/sys/kernel.h: Remove execsw_set, si_elem_t (Unused, not in FreeBSD). #include <sys/linker_set.h>. Add #ifdef _KERNEL guards (From FreeBSD).
* 2009-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-02-111-5/+0
| | | | | * libnetworking/sys/kernel.h: Remove hostnamelen, domainnamelen, lbolt, tickdelta, timedelta (Unused, not in FreeBSD).
* Cosmetics from FreeBSD.Ralf Corsepius2009-02-101-6/+32
|
* Remove struct vm_page, vm_page_t, boolean_t (Unused).Ralf Corsepius2009-02-101-5/+0
|
* Cosmetics from FreeBSD.Ralf Corsepius2009-02-102-47/+29
|
* Remove struct file (Unused).Ralf Corsepius2009-02-101-1/+0
|
* Remove struct file, soo_ioctl, soo_select, soo_stat, getsock (Unused).Ralf Corsepius2009-02-091-10/+0
|
* 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.
* Eliminate pppattach, pppintr (Unused).Ralf Corsepius2009-02-041-4/+0
|
* Eliminate pppintr (Unused).Ralf Corsepius2009-02-041-8/+0
|
* Remove #define KERNEL.Ralf Corsepius2009-02-041-6/+0
|
* Remove -D_COMPILING_BSD_KERNEL_ (Unused).Ralf Corsepius2009-02-041-5/+0
|
* Remove -D_COMPILING_BSD_KERNEL_.Ralf Corsepius2009-02-042-3/+1
|
* Remove -DKERNEL.Ralf Corsepius2009-02-041-1/+1
|
* Remove #undef KERNEL.Ralf Corsepius2009-02-041-1/+0
|
* #include <sys/ucred.h>.Ralf Corsepius2009-02-041-0/+1
|
* Regenerate.Ralf Corsepius2009-01-051-4/+0
|
* Remove installation of libnetworking/sys/uio.h.Ralf Corsepius2009-01-051-1/+1
|
* Add __attribute__((unused)) to unused function args.Ralf Corsepius2009-01-031-5/+5
|
* Use INADDR_ANY/INADDR_BROADCAST.Ralf Corsepius2009-01-031-1/+1
|
* Cosmetics from FreeBSD.Ralf Corsepius2009-01-031-2/+2
|
* Add in_addr_t.Ralf Corsepius2009-01-031-1/+6
| | | | Re-base "struct in_addr" on in_addr_t (mandated by POSIX).
* Remove struct ip_opts (unused).Ralf Corsepius2009-01-031-12/+0
|
* Add missing initializers.Ralf Corsepius2008-12-231-1/+1
|
* Add missing initializers.Ralf Corsepius2008-12-235-6/+7
|
* Add missing initializers.Ralf Corsepius2008-12-222-4/+4
|