Commit Graph

153 Commits

Author SHA1 Message Date
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
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
f94e799ee9 Preps to eliminate _IP_VHL (Abandoned in FreeBSD). Misc mergers from upstream FreeBSD. 2007-03-29 07:50:03 +00:00
Ralf Corsepius
4939788183 Preps to eliminate _IP_VHL (Abandoned in FreeBSD). 2007-03-29 07:47:15 +00:00
Ralf Corsepius
7ff51b00c1 Preps to eliminate _IP_VHL (Abandoned in FreeBSD). 2007-03-29 05:21:31 +00:00
Ralf Corsepius
0c67b4363b Partial update from FreeBSD. 2007-03-29 05:18:26 +00:00
Ralf Corsepius
e67b6ea141 Eliminate __P(). 2007-03-29 05:16:42 +00:00
Ralf Corsepius
387cc207c9 Use uint32_t optlen. 2007-03-28 05:36:38 +00:00
Ralf Corsepius
e5d6315e20 Eliminate __P(). 2007-03-28 05:23:18 +00:00
Ralf Corsepius
d506dffaeb Reflect changes to sys/protosw.h. 2007-03-28 04:48:01 +00:00
Ralf Corsepius
0b07d8724e 2007-03-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_input.c: Eliminate __P().
	Change "int next" to "int32_t next" for 16bit targets.
2007-03-28 04:40:36 +00:00
Ralf Corsepius
239d981f8d Eliminate __P(). 2007-03-28 04:38:00 +00:00
Ralf Corsepius
652f618231 Eliminate __P(). 2007-03-28 03:08:08 +00:00
Ralf Corsepius
6b4010d6f1 2007-03-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_mroute.c: Eliminate __P().
2007-03-27 10:18:16 +00:00
Ralf Corsepius
c95ac2f3cc 2007-03-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
2007-03-27 10:17:09 +00:00
Ralf Corsepius
6efd1a6d90 2007-03-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/if_ether.h: Eliminate __P().
2007-03-26 07:12:36 +00:00
Ralf Corsepius
19ef9f729f 2007-03-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_var.h: Eliminate __P().
2007-03-26 06:01:00 +00:00