Commit Graph
78 Commits
Author SHA1 Message Date
Ralf Corsepius 5821bfd478 Cosmetics from FreeBSD. 2006-12-08 15:48:34 +00:00
Ralf Corsepius bd1c23685c 2006-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/malloc.h: Remove contigmalloc (non-implemented).
	Remove __P-guards from malloc, free.
2006-11-16 14:41:32 +00:00
Joel Sherrill cf04e8aca9 *** empty log message *** 2006-09-01 19:10:01 +00:00
Joel Sherrill b3ee778ea9 2006-09-01 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/malloc.c, libnetworking/rtems/rtems_glue.c,
	libnetworking/sys/mbuf.h: Remove warnings -- use uintptr_t or
	properly sized integers.
2006-09-01 15:37:47 +00:00
Joel Sherrill a009d94459 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* 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-31 01:10:02 +00:00
Joel Sherrill ae5a79c349 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libcsupport/include/sys/ioccom.h, libnetworking/kern/uipc_socket2.c,
	libnetworking/net/ethernet.h, libnetworking/net/if.h,
	libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c,
	libnetworking/net/if_pppvar.h, libnetworking/net/ppp_tty.c,
	libnetworking/net/pppcompress.c, libnetworking/net/slcompress.c,
	libnetworking/netinet/in.h, libnetworking/netinet/ip_icmp.c,
	libnetworking/netinet/tcp.h, libnetworking/netinet/tcp_seq.h,
	libnetworking/sys/protosw.h, libnetworking/sys/socketvar.h: Remove
	warnings. Most of the warnings were 16/32 bit integer sizing issues.
	Some constants had L appended, some had casts add, some types were
	changed to reflect a bit width requirement.
2006-08-30 17:20:33 +00:00
Thomas Doerfler c9b005a9d2 applied patches for PR1117/1118/1119/1120 2006-07-09 10:05:27 +00:00
Joel Sherrill f18ebd2ee6 2006-04-13 Joel Sherrill <joel@OARcorp.com>
PR 949/networking
	* libnetworking/sys/socket.h: GNU/Linux is wrong in making
        MSG_DONTWAIT public.  It is strictly BSD and not SUSV.  See
        http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html        for clarification.
2006-04-13 13:03:29 +00:00
Joel Sherrill 0637bb3b01 2006-04-12 Lars Munch <lars@segv.dk>
PR 949/networking
	* libnetworking/sys/socket.h: Make MSG_DONTWAIT public as in GNU/Linux.
2006-04-12 20:59:21 +00:00
Ralf Corsepius 14091f5c32 2005-09-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/sys/mount.h: Cosmetical update from FreeBSD.
	Remove non-implemented interfaces (vfs, nfs, fsstat, etc.).
2005-09-19 06:11:41 +00:00
Ralf Corsepius f8e6dba705 Partial update from FreeBSD. 2005-08-01 06:29:08 +00:00
Ralf Corsepius 6d06a6371b Partial update from FreeBSD. 2005-07-06 09:56:42 +00:00
Ralf Corsepius a736847cb3 Partial update from FreeBSD. 2005-05-21 16:31:28 +00:00
Ralf Corsepius 8e040322e3 Abandon AF_NS, PF_NS. 2005-05-11 03:37:48 +00:00
Ralf Corsepius 059ad88be2 2005-05-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/sys/un.h: Partial update from FreeBSD.
	Remove non-implemented functions/variables.
2005-05-09 13:32:24 +00:00
Ralf Corsepius a9dd6dea0f Ansification. 2005-05-09 13:13:12 +00:00
Ralf Corsepius 9e7678d2af Partial update from FreeBSD. 2005-05-09 13:12:45 +00:00
Ralf Corsepius ec3e093566 Include <sys/types.h>.
Remove in_port_t. Misc. updates from FreeBSD
2005-05-08 09:18:24 +00:00
Ralf Corsepius 45717e8ed8 Partial update from FreeBSD. 2005-05-08 07:30:21 +00:00
Ralf Corsepius cf29bcb979 Cosmetics from FreeBSD. 2005-05-08 06:40:09 +00:00
Ralf Corsepius 15ef6ee3b5 Cosmetical updates from FreeBSD. 2005-05-07 13:25:01 +00:00
Ralf Corsepius 51cb6761c6 Update from FreeBSD 2005-05-01 04:00:43 +00:00
Ralf Corsepius a3c06e11e0 Cosmetics from FreeBSD. 2005-04-18 05:20:02 +00:00
Ralf Corsepius c834daa716 2005-04-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/sys/mount.h: More updates from FreeBSD.
	Remove ufs, mfs, dosfs, isofs.
2005-04-18 03:42:36 +00:00
Ralf Corsepius 471745e9b2 Remove nfs_args. 2005-04-17 07:31:45 +00:00
Ralf Corsepius fe85335844 Cosmetical update from FreeBSD. Remove special casing of arm/mips. 2005-04-17 07:31:23 +00:00
Ralf Corsepius ef4a8d38d9 Cosmetical update from FreeBSD. 2005-04-17 07:30:47 +00:00
Ralf Corsepius 17225e0cc4 2005-02-21 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 764/networking
	* libnetworking/sys/sysctl.h: include <rtems/stdint.h>.
2005-02-21 16:24:43 +00:00
Ralf Corsepius 0e9384d5e7 2005-02-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/sys/sysctl.h (struct sysctl_oid): uint32_t
	oid_kind (16bit target compliance).
2005-02-17 07:17:14 +00:00
Ralf Corsepius 64b6cb5272 Cosmetics from FreeBSD 2004-12-29 18:33:37 +00:00
Greg Menke 5194a28430 PR 730
* cpu_asm.S: Collected PR 601 changes for commit to cvshead
	for rtems-4.7
2004-12-06 20:29:51 +00:00
Ralf Corsepius 46a1aa9efa 2004-12-02 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/kern/kern_sysctl.c,
	libnetworking/sys/sysctl.h: Add SYSCTL_CHILDREN_SET
	(Update from FreeBSD for GCC-4.0.0).
2004-12-03 02:23:20 +00:00
Joel Sherrill 78219ad15b 2004-12-02 Joel Sherrill <joel@OARcorp.com>
* libnetworking/kern/kern_sysctl.c, libnetworking/netinet/ip_mroute.c,
	libnetworking/sys/socketvar.h: Remove warnings.
2004-12-02 20:24:30 +00:00
Ralf Corsepius dac1edba93 2004-12-02 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/net/radix.c, libnetworking/net/radix.h,
	libnetworking/net/route.h, libnetworking/netinet/if_ether.h,
	libnetworking/netinet/in_var.h, libnetworking/netinet/tcp_timer.h,
	libnetworking/netinet/udp_usrreq.c, libnetworking/netinet/udp_var.h,
	libnetworking/sys/callout.h, libnetworking/sys/socketvar.h,
	libnetworking/sys/sysctl.h: Cosmetics from FreeBSD.
2004-12-02 18:42:53 +00:00
Ralf Corsepius d589e75279 2004-04-26 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/netinet/igmp_var.h: Cosmetic updates from FreeBSD.
	* libnetworking/sys/sysctl.h: Update from FreeBSD.
	* libnetworking/sys/socketvar.h: Update from FreeBSD.
2004-04-26 11:46:52 +00:00
Ralf Corsepius 9869240df7 2004-04-24 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/sys/protosw.h: More partial updates from FreeBSD.
2004-04-24 04:04:25 +00:00
Ralf Corsepius 105dcfcd3b 2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/sys/socket.h: Further update from FreeBSD
	(Add sa_family_t).
2004-04-22 04:31:34 +00:00
Ralf Corsepius 8bbe9ea012 Fix typos. 2004-04-22 04:22:30 +00:00
Ralf Corsepius caeacbccc5 2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/sys/protosw.h: Partial update from FreeBSD.
	* libnetworking/sys/socket.h: Partial update from FreeBSD.
	* libnetworking/rtems/rtems_syscall.c: Reflect changes to socket.h.
2004-04-22 04:04:21 +00:00
Ralf Corsepius dc28f16d8e Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance. 2004-04-20 12:28:19 +00:00
Ralf Corsepius 0739963874 2004-04-19 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/sys/sysctl.h: Partial update from FreeBSD.
	* libnetworking/kern/kern_sysctl.c: Partial update from FreeBSD.
2004-04-19 13:49:10 +00:00
Ralf Corsepius 2c9df304f5 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* libnetworking/poll.h: Replace with sys/poll.h wrapper.
	* libnetworking/sys/poll.h: New (Original FreeBSD file).
	* libnetworking/Makefile.am: Don't install opt_ipfw.h,
	opt_mrouting.h, opt_tcpdebug.h.	Add sys/poll.h.
2004-04-02 01:15:37 +00:00
Ralf Corsepius 2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Joel Sherrill bef4fddd1d 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	* sys/linker_set.h: This patch makes RTEMS/PowerPC eabi compliant.
	Declare all linker-script defined addresses as
	variables of unknown size and not as short objects
	like 'int', 'void*' etc.  Since only addresses are used and never those
	variable's values, the type used in a declaration is not important.
2003-03-18 20:42:51 +00:00
Joel Sherrill 6bd96fc7ab 2003-01-03 Jitendra Vegiraju <jvegiraju@netscape.net>
* sys/queue.h: Fix alignment problem on ARM.
2003-01-03 20:40:29 +00:00
Joel Sherrill 36799d4063 2002-11-26 Chris Johns <cjohns@cybertec.com.au>
* Makefile.am: Added sys/linker_set.h
	* kern/Makefile.am: Added kern_mib.c and kern_sysctl.c.
	* kern/uipc_socket.c: OID changed from KERN_SOMAXCONN to KIPC_SOMAXCONN.
	* kern/uipc_socket2.c: OID changed from KERN_MAXSOCKBUF to
	KIPC_MAXSOCKBUF.
	* net/if_ethersubr.c: FreeBSD 2.2.2 does not have a _net_link node
	while 5.0 does.
	* net/if_ppp.c: Removed the TEXT_SET define as these macros are
	now implemented.
	* net/rtsock.c: Enable sysctl support plus fix the bug with the
	lastest FreeBSD sysctl header file.
	* netinet/icmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_icmp
	node while 5.0 does.
	* netinet/if_ether.c: FreeBSD 2.2.2 does not have a _net_link_ether
	node while 5.0 does.
	* netinet/igmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_igmp
	node while 5.0 does.
	* netinet/in_pcb.c: Fixed the arguments to the sysctl call. Add
	inp_gencnt and ipi_count. These are used when listing connections.
	* netinet/in_pcb.h: Added counters to aid the listing of connections.
	* netinet/in_var.h: Provide the _net_inet_ip and _net_inet_raw nodes.
	* netinet/ip_fw.c: Disable the firewall sysctl calls.
	* netinet/tcp_subr.c: Merge tcp_pcblist from the lastest FreeBSD source.
	* netinet/tcp_var.h: Add structures needed by net-snmp to list
	connections.
	* netinet/udp_usrreq.c: Merged udp_pcblist from the lastest FreeBSD
	source.
	* netinet/udp_var.h: Added the sysctl id UDPCTL_PCBLIST. Used by
	net-snmp.
	* rtems_glue.c: Call sysctl_register_all when initialising the
	network stack to register all the sysctl calls. These are in the
	special sections and required an updated linker script.
	* rtems/rtems_syscall.c: Add the sysctl call.
	* sys/kernel.h: Use the lastest FreeBSD method of handling sysctl
	structures.  This now held in the sys/linker_set.h file.
	* sys/queue.h: This is from the lastest FreeBSD code with the circular
	code merged back in as it is not used in the lastest FreeBSD kernel.
	* sys/sysctl.h: The lastest sysctl. This was needed to use with the new
	linker set method. The FreeBSD 2.2.2 version has asm hacks. The lastest
	version of the FreeBSD does not have these hacks. It uses gcc attribute
	directives.
2003-01-03 18:09:57 +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
Chris Johns 8d3eba16f7 Need to be extern C for use by C++. 2002-11-09 04:37:33 +00:00
Joel Sherrill 3fb7680513 2002-10-04 Jay Monkman <jtm@smoothsmoothie.com>
* netinet/in_cksum.c, netinet/ip_icmp.h, netinet/ip_input.c,
	netinet/tcp_input.c, netinet/tcp_subr.c, netinet/tcp_var.h,
	sys/queue.h: Address alignment requirements for the ARM.
2002-10-04 14:47:11 +00:00
Joel Sherrill ce2c216469 2002-09-14 Vyacheslav V. Burdjanadze <wr@zelax.ru>
* kern/uipc_mbuf.c, sys/mbuf.h, netinet/udp_usrreq.c: Add
	optional UDP broadcast forwarding support.
	* netinet/Makefile.am: Defined FORWARD_PROTOCOL to enabled UDP
	broadcast forwarding.
2002-09-14 18:18:50 +00:00