summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libnetworking: Disconnect after mbuf shortageSebastian Huber2018-01-111-1/+4
| | | | | The missing disconnect left the socket in an unusable state. Each send request resulted in an EISCONN error.
* network/bootp: PR2031: Add and use header fileSebastien Bourdeauducq2018-01-116-37/+50
|
* network/dhcp: PR1841: Fix DNS processing in DHCPSebastien Bourdeauducq2018-01-111-3/+45
|
* tftpDriver: don't free directory node's path stringMichael Davidsaver2017-01-261-1/+2
| | | | Update #2375.
* tftpDriver: backport fixesMichael Davidsaver2017-01-262-92/+84
| | | | | | ensure that node_access is comparable in unmount() Update #2375.
* tftpDriver: apply changes through masterMichael Davidsaver2017-01-261-215/+161
| | | | | | | from 4.10.2-15-g5b21eb6 to eb7753437ff858ebe34a08baef7dfdb45eb0f018 Update #2375.
* tftpDriver: close() false errorMichael Davidsaver2015-07-291-1/+3
| | | | closes #2376.
* networking: alignment exception in ioctl(SIOCGIFCONF)Till Straumann2015-02-231-11/+12
| | | | | Access memory using a byte stream when copying to avoid unaligned access. update #1401
* Avoid buffer overflow and misaligned memory accessSebastian Huber2014-11-241-14/+24
|
* ppp: PR1943: Avoid NULL pointer accessSebastian Huber2014-11-221-8/+2
| | | | | | | Waiting for mbufs at this level is a bad solution. It would be better to try to allocate a new mbuf chain before we hand over the current mbuf chain to the upper layer. In case the allocation fails we should drop the current packet and use its mbuf chain for a new packet.
* tftpfs: PR1624: Fix parsing of hostnames and pathsDylan Maxwell2012-12-061-8/+11
|
* Add .git ignore. Remove .cvsignoreJoel Sherrill2012-02-021-2/+0
|
* 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-071-1/+1
| | | | | | PR 1983/networking * libnetworking/libc/gethostbyht.c (gethostent_r): Abort if (!hostf).
* 2011-07-14 Gene Smith <gene.smith@siemens.com>Joel Sherrill2011-07-141-0/+9
| | | | | | | PR 1381/networking * libnetworking/netinet/ip_output.c: If a null or unreachable gateway is specified either statically in networkconfig.h or from dhcp/bootp, sendto() fails on multicast send with errno 118 Host
* 2011-05-27 Bo Hansen <mdboha@gmail.com>Chris Johns2011-05-261-5/+1
| | | | | | PR 1776/networking * libnetworking/rtems/rtems_glue.c: Higher resolution microtime() for SO_TIMESTAMP.
* 2010-08-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-09-011-30/+36
| | | | | * posix/include/aio.h, posix/src/aio_return.c: Let aio_return return ssize_t (Mandated by POSIX).
* 2010-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-09-014-395/+2
| | | | | | | * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c, libnetworking/libc/addr2ascii.3: Remove. * libnetworking/Makefile.am: Reflect changes above.
* 2010-08-11 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-111-0/+1
| | | | | PR 1667/cpukit * libnetworking/rtems/mkrootfs.c: Include <rtems/libio.h>.
* 2010-06-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-012-16/+4
| | | | | | | * libnetworking/lib/tftpDriver.c: rtems_tftp_ops and rtems_tftp_handlers are now const and static. * libnetworking/rtems/tftp.h: Removed rtems_bsdnet_initialize_tftp_filesystem and rtems_tftp_ops.
* 2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-012-57/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/src/unmount.c: Removed obsolete declarations. Fixed invalid memory free. 2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de> * libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Removed rtems_ftpfs_mount(). 2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de> * libcsupport/src/mount-mktgt.c: New file. * libcsupport/Makefile.am: Reflect change above. * libcsupport/include/rtems/libio.h: Declare mount_and_make_target_path(). 2010-06-09 Sebastian Huber <sebastian.huber@embedded-brains.de> * libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Added rtems_ftpfs_mount() again. Documentation. 2010-06-09 Sebastian Huber <sebastian.huber@embedded-brains.de> * libcsupport/include/rtems/libio.h, sapi/include/confdefs.h: Added and use defines for file system types. 2010-06-09 Sebastian Huber <sebastian.huber@embedded-brains.de> * libcsupport/src/mount.c: Fixed NULL pointer access.
* 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-012-99/+2
| | | | | | | | | | | | | | | * libcsupport/include/rtems/libio.h: Documentation. 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de> PR 1524/filesystem * libcsupport/src/rtems_mkdir.c: New file. * libcsupport/src/Makefile.am: Reflect change above. * libcsupport/include/rtems/libio.h: Added rtems_mkdir(). * libmisc/fsmount/fsmount.h, libmisc/fsmount/fsmount.c, libblock/src/bdpart-mount.c, libnetworking/rtems/mkrootfs.h, libnetworking/rtems/mkrootfs.c: Use rtems_mkdir(). Removed rtems_fsmount_create_mount_point() and rtems_rootfs_mkdir().
* 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-181-5/+20
| | | | * libnetworking/rtems/mkrootfs.h: doxygen cosmetics.
* 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-181-8/+8
| | | | | * libnetworking/netinet/if_ether.c: Misc. 64bit fixes from FreeBSD. * libfs/src/nfsclient/src/rpcio.c: Misc. 64bit fixes.
* 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-164-8/+8
| | | | | | | | PR 1566/filesystem * libnetworking/rtems/mkrootfs.c, libnetworking/rtems/mkrootfs.h: Let rtems_rootfs_append_host_rec take an in_addr_t as first arg. * libnetworking/rtems/rtems_dhcp.c, libnetworking/nfs/bootp_subr.c: Reflect changes above.
* 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-151-1/+1
| | | | | * libfs/src/rfs/rtems-rfs-block.c, libfs/src/rfs/rtems-rfs-buffer.c, libnetworking/nfs/bootp_subr.c: Misc. 64bit-compatibility fixes.
* 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-152-5/+6
| | | | | * libnetworking/netinet/ip_fw.c, libnetworking/netinet/ip_input.c: Misc. 64bit-compatibility fixes.
* 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-141-2/+2
| | | | | | | | | * libnetworking/rtems/mkrootfs.h, posix/include/rtems/posix/pthread.h, score/include/rtems/score/coresem.h, score/include/rtems/score/priority.h, score/include/rtems/score/threadq.h, score/include/rtems/score/timestamp.h: Move 'extern "C"'.
* 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-06-141-1/+1
| | | | | * libnetworking/netinet/in_pcb.c: Eliminate "ushort".
* 2010-05-31 Chris Johns <chrisj@rtems.org>Chris Johns2010-05-314-244/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libcsupport/Makefile.am: Add mount-mgr.c. * libcsupport/src/mount-mgr.c: New. * include/rtems/fs.h: Added rtems_filesystem_location_mount. * libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New mount interface. It is similar to Linux. * libcsupport/include/rtems/libio_.h: Remove the init_fs_mount_table call. * libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use the new mount call. Remove setting the root node in the global pathloc. Mount does this now. * libcsupport/src/privateenv.c: Remove the hack to set the root mount table entry in the environment. * libcsupport/src/unmount.cL Free the target string. * libblock/src/bdpart-mount.c: New mount API. * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c, libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c, libfs/src/imfs/miniimfs_init.c, libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h, libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h, libnetworking/rtems/tftp.h: New mount_h API. * libfs/src/devfs/devfs_eval.c: Local include of extern ops. * libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount me call and fixed the initialisation to happen when mounting. * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount filesystem files. * libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to the new mount table values. * libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c, libmisc/shell/main_mount_tftp.c: Removed. * libmisc/shell/main_mount.c: Use the new mount API. Also access the file system table for the file system types. * libnetworking/lib/tftpDriver.c: Updated to the new mount API. Fixed to allow mounting from any mount point. Also can now have more than file system mounted. * sapi/include/confdefs.h: Add file system configuration support.
* 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-291-1/+1
| | | | | * libnetworking/net/if.c: Use uintptr_t and void* in _offsetof().
* 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-291-1/+1
| | | | | * libnetworking/netinet/raw_ip.c: Cast nam to uintptr_t instead of int.
* 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-291-1/+1
| | | | | * libnetworking/libc/gethostnamadr.c: Cast addr to uintptr_t instead of size_t.
* 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-271-1/+1
| | | | | * libnetworking/libc/gethostnamadr.c: Try to make crazy address arithmetic more portable.
* 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-272-2/+2
| | | | | | * libnetworking/netinet/raw_ip.c, libnetworking/netinet/udp_usrreq.c: Cast mbufs to uintptr_t instead of u_long.
* 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-272-3/+3
| | | | | | * libnetworking/rtems/rtems_mii_ioctl.h, libnetworking/rtems/rtems_mii_ioctl_kern.c: Use uint32_t instead of int as ioctl cmd arg.
* 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-272-2/+2
| | | | | * libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c: Use size_t instead of int for pathnamelen.
* 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-271-2/+2
| | | | | * libnetworking/sys/socketvar.h (struct sockbuf): Use void* instead of caddr_t.
* 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-05-271-2/+2
| | | | | * libnetworking/sys/socket.h (struct sockwakeup): Use void* instead of caddr_t.
* 2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-04-301-113/+124
| | | | | | * libnetworking/lib/ftpfs.c: Format changes. Fixed pathname allocation in rtems_ftpfs_eval_path(). Send QUIT command during file close.
* 2010-04-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-291-1/+1
| | | | | * libnetworking/libc/map_v4v6.c: Use uintptr_t instead of u_long for better 16bit target compliance.
* 2010-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-141-1/+1
| | | | | * libnetworking/sys/mbuf.h: Use uintptr_t instead of u_long for 16bit target compliance.
* 2010-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-141-1/+1
| | | | | * libnetworking/libc/gethostbydns.c: Use uintptr_t instead of u_long for 16bit target compliance.
* 2010-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-141-1/+1
| | | | | * libnetworking/sys/sysctl.h: Change sysctl_oid->arg2 into int32_t for 16bit target compliance.
* 2010-04-12 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-04-121-3/+3
| | | | | | | * libnetworking/lib/ftpfs.c: 16bit target fixes: Use ioctl_command_t as arg to rtems_ftpfs_do_ioctl. Explicitly cast to uint32_t in char[] to uint32_t conversion.
* #include <unistd.h>Ralf Corsepius2010-04-041-0/+1
|
* #include <sys/time.h>.Ralf Corsepius2010-04-021-0/+2
|
* Add HAVE_STRINGS_H for better POSIX compliance.Ralf Corsepius2010-03-281-0/+3
|
* Add HAVE_CONFIG_H support to let files receive configure defines.Ralf Corsepius2010-03-2840-0/+160
|
* Add HAVE_STRINGS_H for better POSIX compliance.Ralf Corsepius2010-03-2710-0/+30
|
* 2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-1210-52/+52
| | | | | | | | | | | | | | | | | | | * ftpd/ftpd.c, httpd/asp.c, httpd/ejparse.c, httpd/emfdb.c, httpd/misc.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_misc.c, libfs/src/nfsclient/src/nfs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/shell/shell.c, libmisc/shell/shell_makeargs.c, libmisc/uuid/parse.c, libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_addr.c, libnetworking/libc/inet_network.c, libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c, libnetworking/libc/res_query.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Readdress use of ctype methods per recommendation from D.J. Delorie on the newlib mailing list. We should pass an unsigned char into these methods.