Joel Sherrill
42cd4b0bde
netshell01: New test and stop using old network configuration code
...
The old network configuration using a data structure does not
support IPV6 and does not support all of the network settings
that the FreeBSD command line utilities do. Transition to using
the network utilities like ifconfig, route, etc. to initialize
the NIC configuration.
2012-09-01 13:34:49 -05:00
Joel Sherrill
c1e56a553c
res_send.c: Now compiles
...
This required adding ISC .h files and adding some defines to
port_before.h.
2012-09-01 09:46:13 -05:00
Joel Sherrill
236e427af6
res_mkupdate.c: Add isc/*.h and define _LIBC
...
This patch enabled a number of files to compile.
2012-09-01 09:36:41 -05:00
Joel Sherrill
21e0e4e613
_iovec.h: Improve comments
2012-09-01 09:24:33 -05:00
Joel Sherrill
234dfb80b5
ping/ping6: Use getopt_r and make main unique for RTEMS
2012-08-31 19:33:20 -05:00
Joel Sherrill
1f877f9d52
commands ping/ping6: Add initial ports of FreeBSD ping and pin6 ports
...
These compile but need to have an RTEMS specific main and use the
reentrant getopt.
2012-08-31 19:22:33 -05:00
Joel Sherrill
b4cf93e3ad
_iovec.h: Ensure only one definition of struct iovec
2012-08-31 19:21:34 -05:00
Joel Sherrill
f333955d79
Build System: Add option to disable IPV6 in orderly fashion
...
If you define DISABLE_IPV6=yes to the config.inc, then the
rtems-bsd-config.h file will be modified accordingly and
the IPV6 kernel sources will not be built. This is easier
to manage and more correct than having a patch to do the same.
2012-08-31 18:50:17 -05:00
Joel Sherrill
01099752a6
yp_prot.h: Further disable bool definition
2012-08-24 15:52:28 -05:00
Joel Sherrill
5df92c34f6
yp_prot.h: bool defined in newer code base in stdbool.h
...
Hopefully using stdbool.h for this works.
2012-08-24 15:38:52 -05:00
Joel Sherrill
ee7721244a
getaddrinfo.c: New file
2012-08-24 15:37:39 -05:00
Joel Sherrill
650e4215ef
rpc/rpc.h: Move to correct location
2012-08-24 15:30:32 -05:00
Joel Sherrill
9ae87c2c1f
rtems-bsd-config.h: IPV6 enabled by default. Make consistent with Makefile
2012-08-24 15:17:35 -05:00
Joel Sherrill
659d7adb7c
Merge branch 'master' of ssh://git.rtems.org/data/git/rtems-libbsd
2012-08-24 15:15:04 -05:00
Joel Sherrill
bb753bf85d
rtems-bsd-config.h: Add __NEW_RTEMS_BSD__ until machine/param.h in tools can be unified
2012-08-24 15:14:32 -05:00
Jennifer Averett
c2da78d84a
Fixed return values for jail methods.
2012-08-24 14:42:03 -05:00
Joel Sherrill
725c9b9a64
librpc: Delete duped .h files from libc and update Makefile
2012-08-06 14:56:56 -05:00
Joel Sherrill
f01bc1f420
librpc: Use libc versions of .h files
2012-08-05 19:12:48 -05:00
Joel Sherrill
cd450d239d
librpc: now compiles
2012-08-05 19:10:35 -05:00
Joel Sherrill
8f59c0aea7
nfsclient: Initial addition
...
Will not compile until librpc is available.
2012-08-03 14:21:13 -05:00
Joel Sherrill
20ec9e6659
librpc: Initial addition
...
This does not currently compile. There is an include file
issue and int32_t is not defined even though stdint.h is included
before its use.
2012-08-03 14:19:49 -05:00
Joel Sherrill
116c6cf409
ftpfs: Add to services
2012-08-03 08:40:27 -05:00
Joel Sherrill
78e3181795
libbsd.txt: Update some status
2012-07-28 07:13:43 -05:00
Joel Sherrill
6e77c5a929
usb01: Correct Makefile
2012-07-28 07:13:24 -05:00
Joel Sherrill
1912d7323c
from-freebsd.sh: Add arpa/ftp.h, clean up syslog.h a bit
2012-07-28 07:11:56 -05:00
Joel Sherrill
ebf411ce79
Makefile: Add telnetd and ftpd
2012-07-28 07:11:15 -05:00
Joel Sherrill
ff43f5d444
telnetd: Added from old stack
2012-07-28 07:10:41 -05:00
Joel Sherrill
f415cbba07
ftpd: Added from old stack
2012-07-28 07:09:54 -05:00
Joel Sherrill
647081dbe3
usb01: make Makefile follow pattern of others
2012-07-28 06:53:35 -05:00
Joel Sherrill
d32a9cf7c5
mghttpd01: Add test - does not build yet
2012-07-28 06:42:15 -05:00
Joel Sherrill
68e4c84698
testsuite/Makefile: Clean up after test name change
2012-07-28 06:40:35 -05:00
Joel Sherrill
a4713c61c7
Add syslog functionality from old TCP/IP stack.
2012-07-28 06:39:41 -05:00
Joel Sherrill
a3dc1f04d4
Makefile: install mongoose.h under rtems/
2012-07-28 05:58:03 -05:00
Joel Sherrill
605e5753d4
.gitignore: Add o-optimize
2012-07-27 08:15:12 -05:00
Joel Sherrill
04ca033095
loopback01: Does not include rtems specific net files
2012-07-27 08:14:05 -05:00
Joel Sherrill
7d69fb33a6
init01: Add configuration structure
2012-07-27 08:11:01 -05:00
Joel Sherrill
97cc960db7
rtems_bsdnert.h: Add old configuration
2012-07-27 08:08:37 -05:00
Joel Sherrill
e71c52a187
various publis .h: Add include <freebsd/bsd.h>
...
This makes them clean from a public include use with no RTEMS awareness.
2012-07-27 08:06:47 -05:00
Joel Sherrill
b27d8759d2
Makefile: Correct so not rebuilding all every time
2012-07-27 08:05:15 -05:00
Joel Sherrill
2cbf1af59d
mghttpd: Add services directory with mghttpd as first
2012-07-27 08:03:55 -05:00
Joel Sherrill
71703fec74
init01: Add init.c
2012-07-27 07:48:22 -05:00
Joel Sherrill
bd6dd6e233
net-setup: Add routing and old stack's configuration
...
This allows the old stack's configuration structures to be used
unchanged even though this code currently does not support all
of the options. It likely will never support all of the options
as some should eventually come through configuration files as
they would in a real FreeBSD system. Other configuration
parameters are likely configurable via "hints".
2012-07-27 07:45:06 -05:00
Joel Sherrill
4a3e48913b
loopback01: New test from samples/loopback
2012-07-26 08:17:53 -05:00
Joel Sherrill
de68d53dea
.gitignore: Add copied directory
2012-07-26 07:24:10 -05:00
Joel Sherrill
7e7dac757b
Rename link01 to init01
2012-07-26 07:22:23 -05:00
Joel Sherrill
e717e81793
link01 - Clean up and split so initialization can be reused in other tests
...
Removed building link_r since we appear to have managed to resolve
not pulling in enough of the FreeBSD source or having adequate
adapter routines.
2012-07-26 07:18:19 -05:00
Jennifer Averett
2c3d8b981b
Added rtems specific page tracking methods for uma page allocation.
2012-07-20 14:17:05 -05:00
Jennifer Averett
8fa929e60d
Added more initialization of FIXME_ucred elements.
2012-07-18 11:43:05 -05:00
Jennifer Averett
e4f2591430
Fixed rtems_bsdnet_makeFdForSocket to work with file system change.
2012-07-18 11:42:04 -05:00
Jennifer Averett
21cc0aa57a
Added initilization of pcpu info for cpu0.
2012-07-18 11:40:30 -05:00