Commit Graph
38 Commits
Author SHA1 Message Date
Sebastian Huber 6de41c5fe9 Provide kernel space header files
These kernel space header files must be provided for Newlib
172e2050d95b41861db858dd9bc43a3fb4a28987.
2016-11-08 10:15:28 +01:00
Christian Mauderer f0fc2c0e02 libnetworking: Add <machine/_align.h>
This is necessary for new <sys/socket.h>.
2016-06-28 13:10:01 +02:00
Joel Sherrill 6520aef1e3 sparc in_cksum: Use __sparc__ which is available in -ansi mode 2013-06-20 10:52:48 -05:00
Jeffrey O. Hill d8e44ecaf8 nios2: Add optimized IP checksum support 2013-03-11 17:57:41 +01:00
Joel Sherrill 65c6425de9 Remove CVS Id Strings (manual edits after script)
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.
2012-05-11 08:44:14 -05:00
Joel Sherrill 9b4422a251 Remove All CVS Id Strings Possible Using a Script
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-05-11 08:44:13 -05:00
Ralf Corsepius ee613aa252 Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h). 2011-03-24 09:36:14 +00:00
Ralf Corsepius e59c21e37b 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/machine/in_cksum.h: Add missing includes.
2011-02-23 14:28:26 +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 f5a22134c4 Remove. 2007-05-09 16:38:18 +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 768fe4ec49 2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/machine/in_cksum.h: Eliminate __P().
2007-03-27 15:50:06 +00:00
Ralf Corsepius 95516ff3ac Remove. 2007-03-19 06:59:51 +00:00
Till Straumann 47854a0d16 PR 1110/networking
* libnetworking/machine/in_cksum.h: Replaced PPC and
	i386 assembly algorithms (must not assume carry bit is preserved
	across multiple asms). Added packet header as a 'm' input
	operand for all CPU variants. Added carry bit to clobber list.
2006-07-13 01:27:30 +00:00
Joel Sherrill 6db216dd8e 2004-11-05 Joel Sherrill <joel@OARcorp.com>
* libnetworking/machine/endian.h: Protect BYTE_ORDER from double
	definition.
2004-11-05 16:18:53 +00:00
Ralf Corsepius 3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +00:00
Ralf Corsepius d8dbdc02cf 2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/lib/ftpfs.c, libnetworking/lib/rtems_bsdnet_ntp.c,
	libnetworking/lib/tftpDriver.c, libnetworking/machine/endian.h,
	libnetworking/net/if_ppp.c, libnetworking/rtems/rtems_bsdnet.h,
	libnetworking/rtems/rtems_bsdnet_internal.h,
	libnetworking/rtems/rtems_glue.c,
	libnetworking/rtems/rtems_syscall.c: Convert to using c99 fixed size
	types.
2004-03-29 22:11:51 +00:00
Ralf Corsepius 2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Joel Sherrill 823f89eaa1 2003-09-02 Jiri Gaisler <jiri@gaisler.com>
PR 476/networking
	* machine/in_cksum.h: Fix in_cksum calculation on SPARC.
2003-09-02 21:31:16 +00:00
Ralf Corsepius 471bcf071f 2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in arpa/Makefile.am, machine/Makefile.am,
	sys/Makefile.am, vm/Makefile.am.
	Add . to SUBDIRS.
	* arpa/Makefile.am: Remove.
	* machine/Makefile.am: Remove.
	* sys/Makefile.am: Remove.
	* vm/Makefile.am: Remove.
	* configure.ac: Reflect changes above.
2002-11-15 14:55:12 +00:00
Joel Sherrill d9ab6d3b31 2002-08-01 Joel Sherrill <joel@OARcorp.com>
* machine/param.h, sys/syslimits.h: In the continued effort to
	eliminate .h conflicts between newlib and RTEMS, these were moved to
	newlib.
	* machine/Makefile.am, sys/Makefile.am: Reflect above.
2002-08-02 00:48:03 +00:00
Joel Sherrill 9fcd1a1c58 2002-07-30 Joel Sherrill <joel@OARcorp.com>
* machine/types.h: Removed as a simpler version of this file is
	now part of the RTEMS newlib support.
	* machine/Makefile.am, machine/endian.h, nfs/bootp_subr.c,
	rtems/rtems_bsdnet_internal.h, sys/Makefile.am, sys/systm.h:
	Minor modifications to use the simpler machine/types.h.  Mostly
	more complete sets of #include's to account for machine/types.h
	no longer doing this.
2002-07-30 23:31:00 +00:00
Ralf Corsepius f22ebf02b2 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* arpa/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* kern/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	Use ../aclocal.
	* lib/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* libc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* machine/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* net/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* netinet/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* nfs/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* rtems/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* sys/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* vm/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* wrapup/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-17 09:12:00 +00:00
Joel Sherrill 8a79786886 2002-05-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Relocate c/src/libnetworking.
	* Makefile.am: Reflect moval.
	* machine/Makefile.am: Ditto.
	* net/Makefile.am: Ditto.
	* lib/Makefile.am: Ditto.
	* netinet/Makefile.am: Ditto.
	* vm/Makefile.am: Ditto.
	* libc/Makefile.am: Ditto.
	* sys/Makefile.am: Ditto.
	* arpa/Makefile.am: Ditto.
	* nfs/Makefile.am: Ditto.
	* kern/Makefile.am: Ditto.
	* rtems/Makefile.am: Ditto.
	* configure.ac: Dittp.
	* wrapup/Makefile.am: Ditto. Remove references to networking apps.
2002-05-29 17:00:59 +00:00
Joel Sherrill 51b39864ae 2002-05-01 Eric Norum <eric.norum@usask.ca>
* machine/in_cksum.h: Per PR200 fix multi-line inline assembly
	to satisfy gcc 3.1 and newer.
2002-05-01 23:09:37 +00:00
Joel Sherrill 01d48bf8ea 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* arpa/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* kern/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* lib/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* libc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* machine/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* net/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* netinet/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* nfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* pppd/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_servers/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_telnetd/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtems_webserver/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* sys/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* vm/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:43 +00:00
Joel Sherrill b68e01c5d9 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* machine/Makefile.am: Use 'PREINSTALL_FILES ='.
	* net/Makefile.am: Use 'PREINSTALL_FILES ='.
	* netinet/Makefile.am: Use 'PREINSTALL_FILES ='.
	* vm/Makefile.am: Use 'PREINSTALL_FILES ='.
	* pppd/Makefile.am: Use 'PREINSTALL_FILES ='.
	* sys/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtems_servers/Makefile.am: Use 'PREINSTALL_FILES ='.
	* arpa/Makefile.am: Use 'PREINSTALL_FILES ='.
	* nfs/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtems_webserver/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtems_telnetd/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-27 13:28:22 +00:00
Joel Sherrill e6d8fe4717 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, arpa/Makefile.am, machine/Makefile.am, net/Makefile.am,
	netinet/Makefile.am, nfs/Makefile.am, rtems/Makefile.am,
	rtems_servers/Makefile.am, rtems_webserver/Makefile.am,
	sys/Makefile.am, vm/Makefile.am:
	Apply include_*HEADERS instead of H_FILES.
	* include/Makefile.am: Remove.
	* Makefile.am: Add handling of *.h files.
	* configure.in: Remove include/Makefile.
2001-02-05 18:36:27 +00:00
Joel Sherrill 3e597933ff 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib.  This resulted in
	some definitions moving to other files and thus some secondary
	effects in RTEMS source code.
	* machine/types.h: Added _CLOCKID_T_ and _TIMER_T_ to be in sync
	with newlib's <machine/types.h>.
	* rtems/rtems_bsdnet_internal.h: newlib now includes definition
	of struct itimerval in <sys/time.h>.
2000-10-31 16:37:16 +00:00
Joel Sherrill 4b60bd3408 2000-09-22 Joel Sherrill <joel@OARcorp.com>
* machine/types.h, pppd/pppd.h, rtems/rtems_bsdnet_internal.h,
	rtems_webserver/webmain.c: machine/types.h  should not have
	included rtems.h.  It is now including precisely the
	least amount of low level, yet portable .h files to get
	the basic RTEMS types defined.  This rippled into other
	files since rtems_bsdnet_internal.h used machine/types.h to include
	rtems.h.
2000-09-22 20:38:57 +00:00
Joel Sherrill df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill 4bf1801d0d Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains the automake files for libnetworking plus a couple of
minor fixes.  [Now only one unused/unsupported Makefile.in remains
(./c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in).]

    To apply:
        patch -p1 < rtems-rc-20000118-7.diff
        /bin/sh rtems-rc-20000118-7.rm
        /bin/sh rtems-rc-20000118-7.add
        ./bootstrap

    Notes:
    * I have tested this one by building all BSPs for m68k, powerpc, sh and
      unix with toolchains built since last weekend.
    * I did not touch libnetworking's directory layout.
2000-02-03 13:21:38 +00:00
Joel Sherrill 517660f192 Moved sparc specific version of in_cksum_hdr to an inline routine like
the reset of the CPU specific implementations after comment from
Eric Norum.
1999-04-01 16:36:22 +00:00
Joel Sherrill 8cce4452a5 Added PowerPC specific header checksum code.
Added volatile to i386 assembly statements in header checksum code.
1999-02-04 14:56:03 +00:00
Joel Sherrill 96b3916409 Added CVS Ids 1998-08-20 21:56:40 +00:00
Joel Sherrill 3f098aed45 FreeBSD stack compiles for the first time (except libc/strsep.c). 1998-08-20 14:37:17 +00:00