summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit: Remove libnetworkingVijay Kumar Banerjee2021-04-0763-14740/+0
| | | | Update #3850
* Canonicalize config.h includeSebastian Huber2020-04-1642-42/+42
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* Remove strlcat(), strlcpy(), strsep(), readdir_r()Sebastian Huber2018-10-221-88/+0
| | | | | | These functions are provided by Newlib since 2002. Update #3409.
* network: Use kernel/user space header filesSebastian Huber2018-09-1050-0/+100
| | | | | | | | | | Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
* network: Remove unused filesSebastian Huber2018-09-107-1006/+0
|
* network: Remove FreeBSD specific hackSebastian Huber2017-06-124-0/+8
| | | | | | | | | For whatever reason FreeBSD renames several functions provided by <arpa/inet.h> and uses weak references to provide the standard function names. This causes problems on targets lacking proper support for weak references. We do not need this function renaming on RTEMS.lk:x Update #2833.
* network: Update <arpa/inet.h>Sebastian Huber2017-06-075-102/+168
| | | | Update #2833.
* net: Fix byte order issue for getnameinfo()Sebastian Huber2016-07-011-4/+2
|
* libnetworking: Add minimal getnameinfo()Christian Mauderer2016-06-281-0/+61
| | | | | | | This implementation just falls back to giving a string representation of the IP. It supports IPv4 only. Add test for getnameinfo().
* libnetworking: Import current <netdb.h>Christian Mauderer2016-06-285-18/+54
| | | | | | | | | | | | Import the <netdb.h> from current FreeBSD. This allows to build some current software (e.g. libressl). Add __h_errno(). Update gethostent_r() API. Linux and FreeBSD use a common API now. Adapt the RTEMS one to provide the same one. Match gethostbyname_r() with prototype.
* libnetworking: Add <rtems/rtems_netdb.h>Christian Mauderer2016-06-289-0/+9
| | | | | Move prototypes of non-portable _get*by*name/addr and _set/end*ent functions. This makes it easier to update <netdb.h>.
* network: Fix warningsSebastian Huber2016-04-221-0/+2
|
* Chase Newlib sys/types.h / sys/select.h changesNick Withers2016-01-181-0/+3
|
* libnetworking: Fix the sethostname decl to match newlib.Chris Johns2014-10-311-1/+1
|
* Remove CVS Id Strings (manual edits after script)Joel Sherrill2012-05-111-3/+0
| | | | | | These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-1132-57/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2012-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsépius2012-03-021-1/+4
| | | | | | * configure.ac: Check for rcmd in unistd.h. * libnetworking/libc/rcmd.c: Build iff rcmd is declared in unistd.h. Change rcmd's decl to match with Linux/FreeBSD's decl.
* Avoid buffer overflow and misaligned memory accessSebastian Huber2012-02-141-14/+24
|
* 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-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-071-1/+1
| | | | | * libnetworking/libc/ns_parse.c (ns_parserr): Comment out if ( section < 0 ) (type is unsigned).
* 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-071-0/+2
| | | | | * libnetworking/libc/gethostbydns.c: Comment out __dns_getanswer (Unused).
* 2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-201-2/+1
| | | | | * libnetworking/libc/res_mkupdate.c (res_mkupdate): Remove unused var "sp1".
* 2011-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-021-2/+2
| | | | * libnetworking/libc/res_comp.c: Eliminate unused var "ppch".
* Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h).Ralf Corsepius2011-03-245-5/+5
|
* 2010-09-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-09-013-393/+0
| | | | | | | * libnetworking/libc/addr2ascii.c, libnetworking/libc/ascii2addr.c, libnetworking/libc/addr2ascii.3: Remove. * libnetworking/Makefile.am: Reflect changes above.
* 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-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/libc/gethostbydns.c: Use uintptr_t instead of u_long for 16bit target compliance.
* 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-283-0/+12
|
* 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-129-50/+50
| | | | | | | | | | | | | | | | | | | * 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.
* 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-113-9/+9
| | | | | | | | | | | | * 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-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.
* Add missing initializers.Ralf Corsepius2008-12-221-17/+17
|
* Stop using old-style function definitions.Ralf Corsepius2008-09-0123-139/+131
|
* Remove BSD "Add clause" (From FreeBSD).Ralf Corsepius2008-09-011-4/+0
|
* Stop using old-style function-definitions.Ralf Corsepius2008-08-277-20/+24
|
* 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-08-191-2/+2
| | | | | * libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix warnings.
* 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-182-1/+2
| | | | | | | | | * 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 missing prototypes.Ralf Corsepius2008-08-0210-103/+110
|
* Add missing prototypes.Ralf Corsepius2008-08-011-8/+9
|
* 2008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-023-0/+49
| | | | | | | | | * libnetworking/Makefile.am, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getservbyname.c, libnetworking/libc/getservbyport.c: Add initial versions of getservbyport_r(), gethostbyaddr_r(), and getservbyport_r(). At this point they are just simple weappers for the version without the _r in the name.
* Adjust to POSIX. Minor updates from FreeBSD.Ralf Corsepius2007-10-152-7/+4
|
* New (from FreeBSD)Ralf Corsepius2007-10-043-0/+648
|
* 2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-242-4/+9
| | | | | | | | | | PR 1262/filesystem * libcsupport/Makefile.am, libnetworking/libc/herror.c, libnetworking/libc/res_send.c, libnetworking/sys/uio.h, telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am, telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and writev() including documentation and test case. * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
* Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.Ralf Corsepius2007-05-102-2/+2
|
* Eliminate __P.Ralf Corsepius2007-05-083-5/+5
|
* Remove (Unused).Ralf Corsepius2007-03-302-230/+0
|