Joel Sherrill
df900d3a86
Commands: Build with IPV6 enabled
2012-10-23 14:21:44 -05:00
Joel Sherrill
68e0948111
Makefile: Conditionalize IPV6 files and build some commands as .rel
...
At least ifconfig has "static" global C constructors and you have
to force the objects in.
2012-10-23 13:31:30 -05:00
Joel Sherrill
6bf758668b
Add if_nametoindex()
2012-10-12 13:41:29 -05:00
Joel Sherrill
82e1c695b6
Userspace Makefile: Clean up yacc/lex handling to avoid conflicts
2012-10-11 17:28:30 -05:00
Jennifer Averett
05519817fb
Added files to get netshell to link when using ping.
2012-10-11 09:03:25 -05:00
Jennifer Averett
4ffe3f450e
Added h_errno methods to userspace.
2012-09-13 14:52:42 -05:00
Jennifer Averett
99dc0d7d9b
rec_close.c: Removed usage of munmap() method.
...
Note that there is a define MMAP_NOT_AVAILABLE that when NOT
defined results in mmap not being called but munmap is still
called. A comment was also added to our notes about this.
2012-09-13 14:03:35 -05:00
Jennifer Averett
bf4a3380c6
Added resolv/mtctxres.c to userspace for ___mtctxres().
2012-09-13 12:07:02 -05:00
Joel Sherrill
210671ae7d
Merge branch 'master' of ssh://git.rtems.org/data/git/rtems-libbsd
2012-09-12 17:11:22 -05:00
Joel Sherrill
c52d92245a
nsdispatch.c: New file added along with required dependencies
...
This file uses dynamic loading and is using some magic for
statically linked modules included in it. These modules may
or may not show up magically in an RTEMS executable. This will
eventually have to be investigated and resolved.
2012-09-12 17:11:16 -05:00
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
Joel Sherrill
0d928a036e
nameser/ns_samedomain.c: New file
2012-09-11 19:13:52 -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
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
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
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
Joel Sherrill
9054adf53b
libc/gen/err.[3c]: New files
2012-09-05 13:23: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
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
ee7721244a
getaddrinfo.c: New file
2012-08-24 15:37:39 -05:00
Joel Sherrill
a98a274dbe
gethostbydns.c: dprintf conflicts with POSIX - rename to DPRINTF
...
This is done by the from-freebsd.sh script.
2012-07-11 17:36:34 -05:00
Joel Sherrill
028aaafa79
freebsd-userspace: All files in old libnetworking/libc now present
...
But they don't all compile. Multiple issues left to address.
2012-07-11 16:01:37 -05:00
Joel Sherrill
1b13f6981a
FreeBSD user space support - First additions
...
This requires a full checkout of the FreeBSD 8.2 source code.
The checkout we have been using is missing at least the libc,
include, and sys directories. The script to copy files in is
crude.
This eventually needs to separate the manually written .h files
out and add the RTEMS specific network initialization support
with functionality to program the IP addresses and gateways as
the old stack did.
2012-07-11 13:23:45 -05:00