summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-09-061-15/+0
| | | | | | | * 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.
* libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h: AddedThomas Doerfler2009-05-071-15/+59
| | | | timeouts. Options are now per file system instance.
* 2009-04-28 Chris Johns <chrisj@rtems.org>Chris Johns2009-04-281-13/+30
| | | | | | | | | | * 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.
* 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-261-12/+106
| | | | | | | | | 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
* Remove struct vm_page, vm_page_t, boolean_t (Unused).Ralf Corsepius2009-02-101-5/+0
|
* Remove struct file (Unused).Ralf Corsepius2009-02-101-1/+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-041-2/+0
|
* Remove #undef KERNEL.Ralf Corsepius2009-02-041-1/+0
|
* Add missing initializers.Ralf Corsepius2008-12-231-0/+1
|
* Include <errno.h> (POSIX,C99) instead of <sys/errno.h> (BSD'ism).Ralf Corsepius2008-12-224-4/+4
|
* #include <stdint.h> instead of <rtems/stdint.h>.Ralf Corsepius2008-12-111-1/+1
|
* libnetworking/rtems/rtems_glue.c: Copy nothing if ↵Thomas Doerfler2008-10-101-9/+17
| | | | | | rtems_bsdnet_parse_driver_name() if namep is NULL. include/rtems/status-checks.h: Added prefix "RTEMS" for all macros. Doxygen style comments. Cleanup.
* Stop using old-style function definitions.Ralf Corsepius2008-09-011-12/+10
|
* 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-183-7/+24
| | | | | | | | | * 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-014-7/+7
|
* 2008-05-01 Maarten Van Es <maarten@mind.be>Chris Johns2008-05-015-74/+569
| | | | | | | | | | | | | | | | | | * 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-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-052-0/+47
| | | | | | | | | | | * 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-22 Chris Johns <chrisj@rtems.org>Chris Johns2007-12-221-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-17 Chris Johns <chrisj@rtems.org>Chris Johns2007-12-172-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-17 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-11-171-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-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-211-0/+51
| | | | | | | * 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-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-08-011-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-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-06-211-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-21 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-06-213-0/+24
| | | | | * libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
* Include <rtems/bsd/sys/cdefs.h>Ralf Corsepius2007-05-101-2/+1
|
* Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>.Ralf Corsepius2007-05-101-1/+1
|
* Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>.Ralf Corsepius2007-05-107-7/+7
|
* Include <rtems/endian.h> instead of <machine/endian.h>.Ralf Corsepius2007-05-091-1/+1
|
* 2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-03-281-1/+1
| | | | | * libnetworking/rtems/rtems_glue.c: Cast to intptr_t instead of "long", because long is not guaranteed to be castable to char*.
* Eliminate __P().Ralf Corsepius2007-03-281-1/+1
|
* 2007-01-16 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-01-173-4/+132
| | | | | | | * libnetworking/rtems/rtems_mii_ioctl.c, * libnetworking/rtems/rtems_mii_ioctl.h, * libnetworking/rtems/rtems_mii_ioctl_kern.c: Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
* Remove local extern strdup.Ralf Corsepius2006-12-081-1/+0
|
* Use size_t instead of uint32_t for read/write count-args.Ralf Corsepius2006-12-081-2/+2
|
* Fix typo.Ralf Corsepius2006-11-161-1/+1
|
* 2006-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-11-161-3/+4
| | | | * libnetworking/rtems/rtems_bsdnet_internal.h: Add timeout() define.
* 2006-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2006-11-161-2/+2
| | | | | * libnetworking/rtems/rtems_glue.c: Rename timeout() into rtems_bsdnet_timeout().
* 2006-09-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-09-131-0/+1
| | | | | * libnetworking/rtems/rtems_malloc_mbuf.c: Removed warning by adding prototype of malloc.
* *** empty log message ***Joel Sherrill2006-09-012-2/+2
|
* 2006-09-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-09-011-3/+3
| | | | | | * libcsupport/src/malloc.c, libnetworking/rtems/rtems_glue.c, libnetworking/sys/mbuf.h: Remove warnings -- use uintptr_t or properly sized integers.
* 2006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-311-3/+9
| | | | | | | | | | | | | | | * ftpd/ftpd.c, libcsupport/include/sys/ioccom.h, libcsupport/src/ioctl.c, libnetworking/kern/uipc_mbuf.c, libnetworking/libc/inet_addr.c, libnetworking/net/ethernet.h, libnetworking/net/if.c, libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h, libnetworking/net/if_var.h, libnetworking/net/ppp_tty.c, libnetworking/netinet/in_cksum.c, libnetworking/nfs/bootp_subr.c, libnetworking/rtems/rtems_bsdnet_internal.h, libnetworking/sys/mbuf.h, pppd/md4.c, pppd/pppd.h: Remove warnings due to improper use of int which shows up on 16 bit targets. Added ioctl_command_t since IOCTL command argument does not reliably fit into 16 bits.
* 2006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-301-2/+3
| | | | | | * libcsupport/src/utsname.c, libnetworking/libc/res_debug.c, libnetworking/net/if_media.h, libnetworking/rtems/rtems_mii_ioctl.c, librpc/src/rpc/svc_simple.c: Remove printf format warnings.
* * libnetworking/rtems/rtems_mii_ioctl_kern.c:Till Straumann2006-08-101-1/+1
| | | | | fixed wrong calculation of 1000baseTx autonegotiation result.
* * libnetworking/rtems/rtems_mii_ioctl_kern.c:Till Straumann2006-08-091-2/+13
| | | | | read ANER and include partner's autoneg capability when determining active link parameters.
* Add flag to inhibit ICMP replies.Eric Norum2006-05-301-0/+1
|
* Provide customisable mbuf allocation.Eric Norum2006-05-253-3/+52
| | | | Patch from Steven Johnson <sjohnson@sakuraindustries.com>