Jennifer Averett
5a95703a80
Added res_findzonecut2 to user space.
2012-09-12 14:20:15 -05:00
Jennifer Averett
8c92f71d9a
Added __res_state to user space.
2012-09-12 14:05:27 -05:00
Jennifer Averett
e4e17463bb
Added userspace db files.
2012-09-12 10:59:41 -05:00
Jennifer Averett
97d85af79f
namespace.h: Added fileio methods and _sigprocmask
...
Rearranged defines into logical blocks and added the following:
_close
_write
_fcntl
_fsync
_fstat
_stat
_sigprocmask
2012-09-12 10:48:11 -05:00
Joel Sherrill
d73df24536
namespace.h: Add some pthread rwlock and mutex methods
2012-09-12 08:51:04 -05:00
Joel Sherrill
0d928a036e
nameser/ns_samedomain.c: New file
2012-09-11 19:13:52 -05:00
Joel Sherrill
7d017b5e64
local/port_before.h: Make more like FreeBSD version
2012-09-11 16:05:36 -05:00
Jennifer Averett
060d28d8b2
Added fgetln()
2012-09-11 11:56:44 -05:00
Joel Sherrill
0f2ea18bd0
lib/libc/net/name6.c: New file
...
netshell01 needed the following symbols:
- getipnodebyaddr
- getipnodebyaddr
- getipnodebyname
2012-09-10 19:03:41 -05:00
Joel Sherrill
c4c01b8a81
namespace.h: Remove nsdispatch. File missing - not name issue
2012-09-07 13:29:57 -05:00
Joel Sherrill
3bed89ace5
freebsd-userspace/lib/libc/isc/eventlib_p.h: New file
2012-09-07 13:29:18 -05:00
Joel Sherrill
5d3848da35
lib/libc/isc/ev*.c: New files
...
lib/libc/isc/ev_streams.c
lib/libc/isc/ev_timers.c
2012-09-07 13:28:10 -05:00
Joel Sherrill
e6fe77ef56
freebsd-userspace/Makefile: Resolve conflict so ifconfig and netstat are both here
2012-09-07 13:19:21 -05:00
Jennifer Averett
ebbe3cc71f
Added the ifconfig command.
2012-09-07 13:16:22 -05:00
Joel Sherrill
f1710b69d4
netstat: New command - Almost completely compiles
...
Currently disable in Makefile until all builds. Adding it so
others can assist in debugging issues.
2012-09-07 12:50:18 -05:00
Joel Sherrill
53ad1b2f5a
netcmds-config.h: New file. Use it in test
2012-09-07 12:49:22 -05:00
Joel Sherrill
48db7fb6bc
from-freebsd.sh: Add sys/socketvar.h
2012-09-07 12:48:11 -05:00
Joel Sherrill
61e67f89af
sys/socketvar.h: New wrapper file
2012-09-07 12:47:36 -05:00
Joel Sherrill
f25ce7ab7d
libc namespace.h: Use RTEMS specific versions
...
FreeBSD adds an _ prefix to a number of libc symbols so they
can switch from threaded to non-threaded libraries. We don't
have that distinction and don't need this.
Unfortunately, they also explicitly use the _ prefixed names
of some methods. So we fix this in our version of namespace.h
2012-09-07 12:43:13 -05:00
Joel Sherrill
a1cc6f43f3
freebsd/stdint.h: Add user space wrapper for freebsd/sys/stdint.h
2012-09-06 15:50:30 -05:00
Joel Sherrill
e1fc84b98d
dhclient: New files
2012-09-06 13:08:06 -05:00
Joel Sherrill
4e18d8b807
libc *.h: Add multiple user space .h file wrappers
2012-09-06 12:20:27 -05:00
Joel Sherrill
9dd59215ce
Merge branch 'master' of ssh://git.rtems.org/data/git/rtems-libbsd
2012-09-06 10:36:47 -05:00
Joel Sherrill
7b1b5b8279
Revert patches moving include of port_local.h to top of file
...
This was covering up rtems-bsd-config.h.in undefining __P. These
files can remain closer to the FreeBSD originals.
2012-09-06 10:35:55 -05:00
Jennifer Averett
bd2941b4d4
route: Added files for the route command.
2012-09-06 10:19:13 -05:00
Joel Sherrill
324dde6faa
Makefile: Add err.c
2012-09-05 13:24:06 -05:00
Joel Sherrill
9054adf53b
libc/gen/err.[3c]: New files
2012-09-05 13:23:23 -05:00
Joel Sherrill
05abe2c791
rtems/syslog.c: Include port_before.h first
2012-09-05 13:22:23 -05:00
Joel Sherrill
aef6891254
libc/inet/*.c: Include port_before.h first
2012-09-05 13:21:22 -05:00
Joel Sherrill
b0cd1b9c23
getaddrinfo.c: Use freebsd/ to ully specify kernel .h files
2012-09-05 13:20:15 -05:00
Joel Sherrill
f3e8e10b34
err.h: For rtems include <freebsd/sys/_types.h>
2012-09-05 13:17:06 -05:00
Joel Sherrill
dafaba3b0b
ping6.c: Add include of port_before.h
2012-09-05 13:15:58 -05:00
Joel Sherrill
3604a2578f
ping.c: Add include of port_before.h and rtems shell glue
2012-09-05 13:15:40 -05:00
Joel Sherrill
c77d779831
userspace Makefile: Do not build old style NIC configuration
2012-09-01 13:36:46 -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
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
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
cd450d239d
librpc: now compiles
2012-08-05 19:10:35 -05:00
Joel Sherrill
116c6cf409
ftpfs: Add to services
2012-08-03 08:40:27 -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
a4713c61c7
Add syslog functionality from old TCP/IP stack.
2012-07-28 06:39:41 -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
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
aa8c37d59c
rpcb_prot.h: Remove generated file
2012-07-14 14:05:58 -05:00
Joel Sherrill
1543249d3e
port_before.h: Add _ALIGNBYTES and enable getservent.c
2012-07-11 17:54:57 -05:00