Commit Graph

618 Commits

Author SHA1 Message Date
Thomas Doerfler
a184e5ee44 Bugfix: Moved definition of ppp_softc into source file. 2008-05-27 10:33:22 +00:00
Till Straumann
793249a2eb 2008-05-23 Till Straumann <strauman@slac.stanford.edu>
* 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-23 21:48:06 +00:00
Chris Johns
50303dfbd1 2008-05-01 Maarten Van Es <maarten@mind.be>
* 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-05-01 02:57:49 +00:00
Joel Sherrill
4273e70b1c 2008-02-06 Joel Sherrill <joel.sherrill@OARcorp.com>
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-06 16:59:31 +00:00
Joel Sherrill
5c62b53a64 2008-02-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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.
2008-02-05 22:29:19 +00:00
Chris Johns
1ff9922df0 2007-12-22 Chris Johns <chrisj@rtems.org>
* 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-22 08:27:18 +00:00
Chris Johns
2eeb648c35 2007-12-17 Chris Johns <chrisj@rtems.org>
* 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-12-17 00:12:01 +00:00
Joel Sherrill
cf7ebcf9b0 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnetworking/netinet/in_cksum.c: ARM optimized version does not
	support Thumb.
2007-11-27 15:10:37 +00:00
Till Straumann
247f83ca46 2007-11-17 Till Straumann <strauman@slac.stanford.edu>
* 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-11-17 19:38:08 +00:00
Ralf Corsepius
807337d281 Adjust to POSIX. Minor updates from FreeBSD. 2007-10-15 07:59:00 +00:00
Ralf Corsepius
9aab34cd3d Regenerate. 2007-10-04 16:08:35 +00:00
Ralf Corsepius
b268e70e07 2007-10-04 Keith Robertson <kjrobert@alumni.uwaterloo.ca>,
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-04 16:08:15 +00:00
Ralf Corsepius
0295725f55 Add if_nameindex etc. (from FreeBSD). 2007-10-04 14:24:10 +00:00
Ralf Corsepius
3d2a28d738 New (from FreeBSD) 2007-10-04 14:23:45 +00:00
Joel Sherrill
b5bf8cd163 2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
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-24 21:35:10 +00:00
Joel Sherrill
6f57450dfe 2007-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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-21 15:34:10 +00:00
Ralf Corsepius
e80aa4fae8 2007-09-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
	Use uint32_t for ext_accm.
2007-09-16 06:23:26 +00:00
Joel Sherrill
51b6226c25 2007-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
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-08-01 00:44:05 +00:00
Ralf Corsepius
3a8d083bc1 2007-07-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_cksum_m68k.h: Use __mcoldfire__ to
	  identify coldfire cpus.
2007-07-30 17:14:10 +00:00
Joel Sherrill
ff089035c7 2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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 18:31:34 +00:00
Joel Sherrill
4ab3a29bb5 2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
	libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
2007-06-21 15:32:37 +00:00
Ralf Corsepius
be94ff7c9c Include <rtems/bsd/sys/cdefs.h> 2007-05-10 07:45:16 +00:00
Ralf Corsepius
cd9564e1cd Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>. 2007-05-10 07:29:14 +00:00
Ralf Corsepius
03a429caca Regenerate. 2007-05-10 06:42:09 +00:00
Ralf Corsepius
39350cf7cd Reflect having removed sys/queue.h. 2007-05-10 06:40:29 +00:00
Ralf Corsepius
2016a98667 Remove (moved to include/rtems/bsd/sys/queue.h). 2007-05-10 06:40:07 +00:00
Ralf Corsepius
c30157091b Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>. 2007-05-10 05:12:54 +00:00
Ralf Corsepius
8fc471a554 Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>. 2007-05-10 05:07:28 +00:00
Ralf Corsepius
6e08cf7b01 Regenerate. 2007-05-09 17:32:27 +00:00
Ralf Corsepius
54802dce0d Remove machine/endian.h. 2007-05-09 16:38:32 +00:00
Ralf Corsepius
f5a22134c4 Remove. 2007-05-09 16:38:18 +00:00
Ralf Corsepius
0f9861be81 Include <rtems/endian.h> instead of <machine/endian.h>. 2007-05-09 16:35:03 +00:00
Ralf Corsepius
203ed7ff8c Include <rtems/stdint.h> instead of <stdint.h>. 2007-05-09 15:56:13 +00:00
Ralf Corsepius
2bcd08be8d 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/machine/endian.h: Remove
	  CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
2007-05-09 15:31:39 +00:00
Ralf Corsepius
5a2feeada7 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/machine/endian.h: Convert htons, htonl, ntohs, ntohl
	to inline functions, using uint[16,32]_t.
2007-05-08 21:10:19 +00:00
Ralf Corsepius
70e624e366 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netdb.h: Change netent->n_net to uint32_t to comply
	with SUSv3.
2007-05-08 16:39:57 +00:00
Ralf Corsepius
678b3b069a Eliminate __P. 2007-05-08 12:44:16 +00:00
Ralf Corsepius
26f83151f6 2007-03-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/Makefile.am: Move libc/send.c to libc_a_SOURCES.
	* libnetworking/Makefile.am: Move libc/recv.c to libc_a_SOURCES.
2007-03-30 07:21:22 +00:00
Ralf Corsepius
ada4d9be25 cosmetics. 2007-03-30 06:31:09 +00:00
Ralf Corsepius
0e609caf80 Move libc/res_config.h to libnetworking_a_SOURCES (File is being used).
Remove libc/iso_addr.c, libc/iso_addr.3.
2007-03-30 06:29:29 +00:00
Ralf Corsepius
53d8e07c66 Remove (Unused). 2007-03-30 06:28:33 +00:00
Ralf Corsepius
e59dc2106c Remove net/ppp-deflate.c, net/bsd-comp.c. 2007-03-30 05:38:36 +00:00
Ralf Corsepius
f8a6097c52 Remove (Unused) 2007-03-30 05:38:16 +00:00
Ralf Corsepius
09fdb5e819 Eliminate SCCS, LINT. Add HAVE_CONFIG_H. 2007-03-30 05:15:58 +00:00
Ralf Corsepius
491f63a5b3 Further _IP_VHL removal preps. 2007-03-29 14:31:08 +00:00
Ralf Corsepius
ef0b69d12f 2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip.h: Add FreeBSD's alignement macros.
2007-03-29 14:28:49 +00:00
Ralf Corsepius
6209041c60 2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/netisr.h: Partial update from FreeBSD.
2007-03-29 14:27:48 +00:00
Ralf Corsepius
0f0318e2de 2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/strsep.c: Don't build if provided by libc.
2007-03-29 14:25:40 +00:00
Ralf Corsepius
dbd2c7dcea 2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
2007-03-29 08:39:21 +00:00
Ralf Corsepius
e546aceffb Remove selrecord, selwakeup (Unused). 2007-03-29 08:06:14 +00:00