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
33c9336aa7
rtems-bsd-sysctl.c: Formatting corrections
2012-09-10 16:45:30 -05:00
Joel Sherrill
b00e8b279d
rtems-bsd-symbols.h: sysctl() should be a public symbol
2012-09-10 16:45:07 -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
db068df3c4
netshell01: Link against ping command
2012-09-07 12:49:40 -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
32c7d23cf0
Merge branch 'master' of ssh://git.rtems.org/data/git/rtems-libbsd
2012-09-07 12:46:45 -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
Jennifer Averett
af4b6f2ac8
Added mman.h
...
This will be needed when the ifconfig command is added.
2012-09-07 11:41:09 -05:00
Jennifer Averett
c6cbb24186
Added contrib/pf
...
This will be needed for adding the ifconfig command.
2012-09-07 11:38:35 -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
14d4d7aa23
rtems-bsd-config.h.in: Add FreeBSD macros missing in RTEMS
...
The following were assumed to be present by multiple libc
methods or networking commands:
+ _PATH_DEVNULL ==> /dev/null
+ SIZE_T_MAX ==> SIZE_MAX
+ O_EXLOCK ==> O_EXCL
2012-09-06 13:05:53 -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
Joel Sherrill
132ec81d51
rtems-bsd-config.h.in: Do not undef __P or __strong_reference
...
<sys/cdefs.h> is the FreeBSD version now. No need to touch these.
2012-09-06 10:33:53 -05:00
Jennifer Averett
bd2941b4d4
route: Added files for the route command.
2012-09-06 10:19:13 -05:00
Jennifer Averett
6d7f48849e
Added netatalk files
...
This is part of a larger patch where network command structure is being
ported. It was easier to move these files in than to carve it out of
the command code.
2012-09-06 09:17:47 -05:00
Jennifer Averett
4d0d5ae00c
freebsd-to-rtems.py: Removed cdefs.h, signal.h, and signalvar.h
...
These are now included as part of the tools.
2012-09-06 09:06:38 -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
ab9e6dea37
rtems-bsd-vm_glue.c: Add include of <freebsd/sys/types.h>
2012-09-05 13:12:37 -05:00
Joel Sherrill
fa3526a65d
freebsd/sys/signalvar.h: Use empty file from previous commit
2012-09-05 13:11:21 -05:00
Joel Sherrill
f80f90f11d
rtems-bsd-rwlock.c: Do not redefine pthread_rwlock_t
2012-09-05 13:03:19 -05:00
Joel Sherrill
b7923cd15b
freebsd-to-rtems.py: Multiple fixes and supporting modifications
...
+ SED_PATTERN was broken when IPV6 enabled. The sed produced a
zero length rtems-bsd-config.h.
+ "make install" without all did not produce GENERATED_FILES
+ Install .h files in contrib/altq. Needed by new libc commands
being added shortly.
+ Do not copy <sys/uio.h> and <sys/_iovec.h> from FreeBSD. They
are provided by RTEMS now.
+ net/if_stf.c appears to be strictly IPV6 functionality. Make building
it conditional on IPV6.
2012-09-05 12:58:09 -05:00
Joel Sherrill
ccffd2b4e1
rtemsbsd/freebsd/sys/uio.h: New wrapper for <sys/uio.h>
...
<sys/_iovec.h> is a support file always included. Also added.
2012-09-05 12:55:51 -05:00
Joel Sherrill
582aa1beda
rtemsbsd/freebsd/sys/signalvar.h: stub file
2012-09-05 12:55:24 -05:00
Joel Sherrill
b65a44a4f2
rtemsbsd/freebsd/sys/signal.h: New wrapper for <sys/signal.h>
2012-09-05 12:54:49 -05:00
Joel Sherrill
336883b587
rtemsbsd/freebsd/sys/cdefs.h: New wrapper for <sys/cdefs.h>
2012-09-05 12:54:28 -05:00
Joel Sherrill
734ccdaf97
freebsd/net/radix_mpath.c: Fix prototype/body mismatch
...
The routines which had bodies not matching the prototype are:
- rn_mpath_count
- rtalloc_mpath_fib
2012-09-05 12:52:06 -05:00
Joel Sherrill
4c0dbd308a
freebsd/sys/signal.h: use standard <sys/signal.h>
...
This patch assumes that the <sys/signal.h> has been updated to
one include sigaltstack() support. The patch is pending.
2012-09-05 12:50:34 -05:00
Joel Sherrill
1c6a8e8bfb
freebsd/sys/cdefs.h: use standard <sys/cdefs.h>
...
This patch assumes that the <sys/cdefs.h> has been updated to
a current FreeBSD 8.x version. That patch is pending.
2012-09-05 12:49:23 -05:00
Joel Sherrill
25ed473ebf
aio.h: Disable unused field
2012-09-05 12:48:38 -05:00
Joel Sherrill
3b4d5c480b
rtems-bsd-config.h.in: Assume <sys/cdefs.h> is OK to use
...
This is part of a set of patches to newlib, RTEMS, and
rtems-libbsd to update <sys/cdefs.h> so the newlib version
can be used without issue.
2012-09-05 12:46:28 -05:00
Joel Sherrill
816b85c6c2
pci_bus.c: Fix prototype/body mismatch
2012-09-05 12:43:37 -05:00