Commit Graph
169 Commits
Author SHA1 Message Date
Sebastian Huber e800b0738b network: Fix warnings 2016-04-22 09:25:11 +02:00
Sebastian Huber c6cb9bad75 network: Delete unused in4_cksum() 2016-04-22 09:25:10 +02:00
Sebastian Huber 51c88e8bf4 libnetworking: Delete dead code
The so_uid is always 0 in RTEMS.
2015-01-20 07:08:30 +01:00
Sebastian Huber ca1d84efb8 network: Include missing header file 2013-07-22 16:45:58 +02:00
Joel Sherrill 6520aef1e3 sparc in_cksum: Use __sparc__ which is available in -ansi mode 2013-06-20 10:52:48 -05:00
Jiri Gaisler 1f4ee306d3 Added in_cksum_sparc.h to optimize IP checksum calculations for SPARC. 2013-06-19 08:21:40 -05:00
Jeffrey O. Hill d8e44ecaf8 nios2: Add optimized IP checksum support 2013-03-11 17:57:41 +01:00
Sebastian Huber 8cbd90c51c libnetworking: Disconnect after mbuf shortage
The missing disconnect left the socket in an unusable state.  Each send
request resulted in an EISCONN error.
2012-11-05 11:01: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
Joel Sherrill 067489b904 2011-07-14 Gene Smith <gene.smith@siemens.com>
PR 1381/networking
	* libnetworking/netinet/ip_output.c: If a null or unreachable gateway
	is specified either statically in networkconfig.h or from dhcp/bootp,
	sendto() fails on multicast send with errno 118 Host
2011-07-14 19:16:09 +00:00
Ralf Corsepius c7d0d8678a Make self-contained. 2011-05-11 14:35:03 +00:00
Ralf Corsepius ee613aa252 Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h). 2011-03-24 09:36:14 +00:00
Ralf Corsepius ddbfa05096 Use <sys/queue.h> instead of <rtems/bsd/sys/queue.h. 2011-03-02 14:39:32 +00:00
Ralf Corsepius ee7f2f7bcc 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_icmp.c, libnetworking/netinet/ip_icmp.h:
	Misc. changes from FreeBSD.
	* libnetworking/netinet/tcp_var.h: Include <netinet/tcp_timer.h>.
2011-02-24 14:57:34 +00:00
Ralf Corsepius 460674d99f 2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_systm.h,
	libnetworking/netinet/tcp_debug.c,
	libnetworking/netinet/tcp_debug.h, libnetworking/netinet/tcp_seq.h,
	libnetworking/netinet/tcp_var.h, libnetworking/netinet/tcpip.h:
	Misc changes from FreeBSD.
2011-02-24 06:48:52 +00:00
Ralf Corsepius e532099e5a 2010-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/if_ether.c: Misc. 64bit fixes from FreeBSD.
2010-06-18 09:57:54 +00:00
Ralf Corsepius d537b1d728 2010-06-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_fw.c, libnetworking/netinet/ip_input.c:
	Misc. 64bit-compatibility fixes.
2010-06-15 11:33:51 +00:00
Ralf Corsepius 9ec2f4ebd2 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_pcb.c:
	Eliminate "ushort".
2010-06-14 05:59:49 +00:00
Ralf Corsepius e04cfeb92a 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/raw_ip.c:
	Cast nam to uintptr_t instead of int.
2010-05-29 04:33:42 +00:00
Ralf Corsepius f091ce8613 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/raw_ip.c,
	libnetworking/netinet/udp_usrreq.c:
	Cast mbufs to uintptr_t instead of u_long.
2010-05-27 16:45:15 +00:00
Ralf Corsepius b25b88e732 Add HAVE_CONFIG_H support to let files receive configure defines. 2010-03-28 05:50:29 +00:00
Ralf Corsepius 05c18861dd Whitespace removal. 2009-11-30 16:01:51 +00:00
Ralf Corsepius 004092e893 Cosmetics from FreeBSD. 2009-01-03 08:05:59 +00:00
Ralf Corsepius af20d0e1a5 Add in_addr_t.
Re-base "struct in_addr" on in_addr_t (mandated by POSIX).
2009-01-03 08:01:24 +00:00
Ralf Corsepius df197f7d0a Remove struct ip_opts (unused). 2009-01-03 07:55:57 +00:00
Ralf Corsepius 87b4896c01 Add missing initializers. 2008-12-23 05:32:27 +00:00
Ralf Corsepius b7cfd627b3 Add missing initializers. 2008-12-23 05:00:57 +00:00
Ralf Corsepius 404b1fb473 Add missing initializers. 2008-12-22 17:47:57 +00:00
Ralf Corsepius ff31d9a52e Add missing initializers. 2008-12-22 12:56:06 +00:00
Ralf Corsepius b3f8c9e15b Include <errno.h> (POSIX,C99) instead of <sys/errno.h> (BSD'ism). 2008-12-22 07:47:28 +00:00
Ralf Corsepius e4c4c42fc8 Stop using old-style function definitions. 2008-09-07 15:34:30 +00:00
Ralf Corsepius dd967330f8 Stop using old-style function definitions. 2008-09-01 06:36:17 +00:00
Ralf Corsepius 2acc6eeb4f Fix broken declaration of tcp_trace(). 2008-09-01 06:33:59 +00:00
Ralf Corsepius f5a2f211c4 Remove BSD "Add clause" (From FreeBSD). 2008-09-01 06:26:20 +00:00
Ralf Corsepius d82bd27951 Add missing prototypes. 2008-08-19 06:34:44 +00:00
Joel Sherrill 1487880d2c 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c,
	libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c,
	libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h,
	libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix
	warnings.
2008-08-18 21:16:42 +00:00
Ralf Corsepius d95b9e7ea2 Add missing prototype. 2008-08-18 10:39:38 +00:00
Ralf Corsepius 142025c80c Add missing prototypes. 2008-08-18 07:22:23 +00:00
Ralf Corsepius e386ad7265 Add missing prototypes. 2008-08-01 05:07:41 +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
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
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
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
Ralf Corsepius cd9564e1cd Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>. 2007-05-10 07:29:14 +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 0f9861be81 Include <rtems/endian.h> instead of <machine/endian.h>. 2007-05-09 16:35:03 +00:00
Ralf Corsepius 491f63a5b3 Further _IP_VHL removal preps. 2007-03-29 14:31:08 +00:00