summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-08-01Add missing prototypes.Ralf Corsepius8-23/+25
2008-07-022008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill4-1/+50
* 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.
2008-05-27Bugfix: Moved definition of ppp_softc into source file.Thomas Doerfler2-2/+2
2008-05-232008-05-23 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-0/+1
* libnetworking/netinet/ip_output.c: when fragmenting multicast packets M_MCAST must be set on all fragments. This was fixed in FreeBSD ip_output.c 1.82 on 1998/8/23 ! (see my email to rtems-users from 2008/5/15).
2008-05-012008-05-01 Maarten Van Es <maarten@mind.be>Chris Johns8-143/+692
* libnetworking/rtems/rtems_dhcp.c: Removed panic()s. Added interface for rtems_dhcp_failsafe. * libnetworking/rtems/rtems_dhcp.h: Added interface for rtems_dhcp_failsafe. 2008-05-01 Arnout Vandecappelle <arnout@mind.be> * libnetworking/nfs/bootp_subr: Allow some errors for sosend() and return on timeout in bootpc_call(). Removed panic()s. * libnetworking/rtems/rtems_glue.c: Fix the cast for the SIOCAIFADDR ioctl call. * libnetworking/rtems/rtems_dhcp_failsafe.c, libnetworking/rtems/rtems_dhcp_failsafe.h: New. * libnetworking/Makefile.am, libnetworking/preinstall.am: Added rtems_dhcp_failsafe.c and rtems_dhcp_failsafe.h files.
2008-02-062008-02-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+1
PR 1277/networking * libnetworking/netinet/in_cksum_i386.h: Use q instead of r in constraint for assembly language. This restricts the register choice to the a-d registers.
2008-02-052008-02-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill5-0/+82
* libnetworking/kern/uipc_socket2.c, libnetworking/netinet/tcp_usrreq.c, libnetworking/netinet/udp_usrreq.c, libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_glue.c: Add configuration parameters for network stack efficiency multiplier and default socket buffer sizes. Change default multiplier from 8 to 2 to match GNU/Linux. This has no impact on performance on the BSPs tested.
2007-12-222007-12-22 Chris Johns <chrisj@rtems.org>Chris Johns1-4/+7
* configure.ac: fixed bug that always enabled strict order mutexes. * score/inline/rtems/score/coremutex.inl: Fixed coding standard. * score/src/coremutex.c: Add the holder's thread to the lock_mutex list if the mutex is initialised locked. * libnetworking/rtems/rtems_glue.c: Changed semaphore error message to show the error is an rtems-net error. * libmisc/monitor/mon-network.c: Removed warnings. * telnetd/icmds.c: Changed shell_* to rtems_shell_*. * score/Makefile.am: Fixed typo that stopped 'make tags' working. * libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c, libmisc/shell/extern-cp.h, libmisc/shell/fts.c, libmisc/shell/fts.h, libmisc/shell/main_cp.c, libmisc/shell/utils-cp.c, libmisc/shell/verr.c, libmisc/shell/verrx.c, libmisc/shell/vwarn.c, libmisc/shell/vwarnx.c, libmisc/shell/warn.c, libmisc/shell/warnx.c: New. Ported from BSD. * libmisc/shell/shellconfig.h: Add the cp command. * libmisc/Makefile.am: Add the new files to the shell. * libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting support. * libblock/src/flashdisk.c: Fixed disk drive count size setting bug.
2007-12-172007-12-17 Chris Johns <chrisj@rtems.org>Chris Johns2-0/+13
* libnetworking/rtems/tftp.h: Provide a decl to the TFTP file system opts table. * libnetworking/rtems/ftpfs.h: Provide a decl to the FTP file system opts table. * libmisc/Makefile.am: Add the mount command and supporting files. * libmisc/preinstall.am: Rebuilt. * libmisc/shell/cat_file.c, libmisc/shell/cmds.c, libmisc/shell/main_alias.c, libmisc/shell/main_cat.c, libmisc/shell/main_cd.c, libmisc/shell/main_chdir.c, libmisc/shell/main_chmod.c, libmisc/shell/main_chroot.c, libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c, libmisc/shell/main_dir.c, libmisc/shell/main_exit.c, libmisc/shell/main_help.c, libmisc/shell/main_id.c, libmisc/shell/main_logoff.c, libmisc/shell/main_ls.c, libmisc/shell/main_mallocdump.c, libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c, libmisc/shell/main_mkdir.c, libmisc/shell/main_mmove.c, libmisc/shell/main_mwdump.c, libmisc/shell/main_pwd.c, libmisc/shell/main_rm.c, libmisc/shell/main_rmdir.c, libmisc/shell/main_stackuse.c, libmisc/shell/main_tty.c, libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c, libmisc/shell/shell.c, libmisc/shell/shell_cmdset.c, libmisc/shell/shell_makeargs.c, libmisc/shell/str2int.c, libmisc/shell/write_file.c: Move all shell_* types, variables and functions to rtems_shell_* to avoid namespace clashes with applications. The is an RTEMS shell after all. * libmisc/shell/shell.h, libmisc/shell/internal.h, libmisc/shell/shellconfig.h: Move all shell_* types, variables and functions to rtems_shell_* to avoid namespace clashes with applications. Add the mount command supporting types. * libmisc/shell/main_mount.c, libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_nfs.c, libmisc/shell/main_mount_tftp.c: New.
2007-11-272007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+2
* libnetworking/netinet/in_cksum.c: ARM optimized version does not support Thumb.
2007-11-172007-11-17 Till Straumann <strauman@slac.stanford.edu>Till Straumann1-0/+4
* libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig (SIOCGIFMEDIA) pass the user parameter down to the ioctl so that it knows what PHY they want to look at.
2007-10-15Adjust to POSIX. Minor updates from FreeBSD.Ralf Corsepius3-14/+7
2007-10-04Regenerate.Ralf Corsepius1-0/+4
2007-10-042007-10-04 Keith Robertson <kjrobert@alumni.uwaterloo.ca>,Ralf Corsepius1-0/+5
Ralf Corsépius <ralf.corsepius@rtems.org> * libnetworking/ifaddrs.h, libnetworking/libc/getifaddrs.c, libnetworking/libc/if_indextoname.c, libnetworking/libc/if_nameindex.c: New (from FreeBSD) * Makefile.am: Add files above. * libnetworking/net/if.h: Add if_nameindex (from FreeBSD).
2007-10-04Add if_nameindex etc. (from FreeBSD).Ralf Corsepius1-0/+13
2007-10-04New (from FreeBSD)Ralf Corsepius4-0/+704
2007-09-242007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-8/+12
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.
2007-09-212007-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-2/+54
* libnetworking/Makefile.am: Add dummy socketpair() implementation to document what is required to provide a fully functional implementation. * libnetworking/rtems/rtems_socketpair.c: New file.
2007-09-162007-09-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+3
* libnetworking/net/ppp_defs.h: Include rtems/stdint.h. Use uint32_t for ext_accm.
2007-08-012007-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-1/+5
PR 1248/networking * libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com> reported that when no interfaces are successfully attached, the default route is broken and may result in a jump to an illegal address.
2007-07-302007-07-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to identify coldfire cpus.
2007-06-212007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-19/+8
* libnetworking/rtems/rtems_syscall.c: Remove RTEMS versions of send() and recv(). We already had the BSD versions and these conflict sometimes when linking.
2007-06-212007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill3-0/+24
* libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
2007-05-10Include <rtems/bsd/sys/cdefs.h>Ralf Corsepius1-2/+1
2007-05-10Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.Ralf Corsepius21-21/+21
2007-05-10Regenerate.Ralf Corsepius1-4/+0
2007-05-10Reflect having removed sys/queue.h.Ralf Corsepius1-1/+1
2007-05-10Remove (moved to include/rtems/bsd/sys/queue.h).Ralf Corsepius1-602/+0
2007-05-10Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>.Ralf Corsepius33-33/+33
2007-05-10Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>.Ralf Corsepius9-9/+9
2007-05-09Regenerate.Ralf Corsepius1-4/+0
2007-05-09Remove machine/endian.h.Ralf Corsepius1-1/+1
2007-05-09Remove.Ralf Corsepius1-92/+0
2007-05-09Include <rtems/endian.h> instead of <machine/endian.h>.Ralf Corsepius3-3/+3
2007-05-09Include <rtems/stdint.h> instead of <stdint.h>.Ralf Corsepius1-1/+1
2007-05-092007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-4/+0
* libnetworking/machine/endian.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2007-05-082007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-8/+38
* libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl to inline functions, using uint[16,32]_t.
2007-05-082007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* libnetworking/netdb.h: Change netent->n_net to uint32_t to comply with SUSv3.
2007-05-08Eliminate __P.Ralf Corsepius3-5/+5
2007-03-302007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+3
* libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES. * libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
2007-03-30cosmetics.Ralf Corsepius1-2/+2
2007-03-30Move libc/res_config.h to libnetworking_a_SOURCES (File is being used).Ralf Corsepius1-4/+5
Remove libc/iso_addr.c, libc/iso_addr.3.
2007-03-30Remove (Unused).Ralf Corsepius2-230/+0
2007-03-30Remove net/ppp-deflate.c, net/bsd-comp.c.Ralf Corsepius1-1/+0
2007-03-30Remove (Unused)Ralf Corsepius2-1800/+0
2007-03-30Eliminate SCCS, LINT. Add HAVE_CONFIG_H.Ralf Corsepius56-196/+170
2007-03-29Further _IP_VHL removal preps.Ralf Corsepius3-2/+32
2007-03-292007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+3
* libnetworking/netinet/ip.h: Add FreeBSD's alignement macros.
2007-03-292007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-15/+6
* libnetworking/net/netisr.h: Partial update from FreeBSD.
2007-03-292007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+7
* libnetworking/libc/strsep.c: Don't build if provided by libc.