summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 2006-01-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-01-081-14/+15
| | | | * libnetworking/rtems/rtems_mii_ioctl.h: Fix formatting.
* removed a few spaces...Till Straumann2005-11-141-2/+2
|
* Reflect mii.h and if_media.h having moved.Ralf Corsepius2005-11-141-3/+2
|
* 2005-11-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-11-081-0/+2
| | | | | | | | * libnetworking/net/if.h: Add forward reference declaration to struct mbuf so ifru_tap callback is properly typed. * libnetworking/rtems/rtems_bsdnet.h: Add definition of _BSD_VISIBLE which needs to be defined so various pieces of the .h files are visible to device drives.
* Eliminate obsolete types.Ralf Corsepius2005-11-062-3/+3
|
* 2005-11-02 straumanatslacdotstanford.eduTill Straumann2005-11-033-0/+421
| | | | | | | | | * libnetworking/Makefile.am, libnetworking/preinstall.am: Added simple implementation of ethernet media ioctl SIOCSIFMEDIA/SIOCGIFMEDIA for mii compliant phys. * libnetworking/rtems/rtems_mii_ioctl.c, libnetworking/rtems/rtems_mii_ioctl.h, libnetworking/rtems/rtems_mii_ioctl_kern.c: New files.
* Don't sign-extend address components.Eric Norum2005-10-251-2/+2
|
* The DHCP header.Chris Johns2005-06-301-0/+47
|
* DHCP server for RTEMS.Chris Johns2005-06-301-0/+1133
|
* Add "ICMP panic avoided" diagnostic counter.Eric Norum2005-05-241-1/+2
|
* 2005-05-20 Sergei Organov <osv@javad.ru>Joel Sherrill2005-05-201-1/+1
| | | | | | PR networking/772. * libnetworking/rtems/rtems_select.c (socket_select): fixed bug setting SB_WAIT flag of so_rcv instead of so_snd when FWRITE.
* 2005-05-20 Sergei Organov <osv@topconrd.ru>Joel Sherrill2005-05-201-1/+1
| | | | | PR 749/networking * libnetworking/rtems/rtems_showroute.c: Avoid NULL dereference.
* New.Ralf Corsepius2005-05-091-0/+44
|
* 2005-05-07 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-05-071-8/+8
| | | | | * libnetworking/rtems/rtems_bsdnet.h: Eliminate rtems_* fixed size types.
* * libnetworking/rtems/rtems_showifstat.c: Remove warning.Joel Sherrill2005-05-061-0/+1
|
* 2005-04-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-04-284-4/+5
| | | | | | | | | | | | * libnetworking/kern/kern_sysctl.c, libnetworking/libc/inet_ntop.c, libnetworking/net/if_ppp.c, libnetworking/net/pppcompress.c, libnetworking/net/slcompress.c, libnetworking/netinet/ip_output.c, libnetworking/netinet/udp_usrreq.c, libnetworking/nfs/bootp_subr.c, libnetworking/rtems/rtems_select.c, libnetworking/rtems/rtems_showifstat.c, libnetworking/rtems/rtems_showroute.c, libnetworking/rtems/rtems_syscall.c: Fixed type mismatch and uninitialized variable warnings.
* 2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-02-033-12/+5
| | | | | | | | | | | | | | | | PR 755/rtems * libnetworking/rtems_glue.c: Rename rtems_bsdnet_nameservers to _rtems_bsdnet_nameservers. Rename rtems_bsdnet_ntpservers to _rtems_bsdnet_ntpservers. Add new rtems_bsdnet_nameservers, rtems_bsdnet_ntpservers as pointers to _rtems_bsdnet_*servers arrays. * libnetworking/rtems/rtems_bsdnet_internal.h: Remove rtems_bsdnet_nameserver, rtems_bsdnet_nameserver_count. * libnetworking/rtems/rtems_bsdnet.h: Remove rtems_bsdnet_ntpserver, rtems_bsdnet_ntp_count. * libnetworking/rtems/bsdnet/servers.h: New. * libnetworking/opt_ipsec.h: New (BSD compatibility). * libnetworking/Makefile.am: Reflect changes above.
* New.Ralf Corsepius2005-02-031-0/+21
|
* New header guards.Ralf Corsepius2005-02-025-12/+12
|