301 Commits

Author SHA1 Message Date
Kevin Kirspel
b1580fb039 PIPE(2): Port to RTEMS 2016-12-23 08:26:14 +01:00
Sebastian Huber
546b38d684 Add BRIDGE(4) support to configuration 2016-12-15 09:53:07 +01:00
Chris Johns
f7a4107c6f Add a RTEMS Debugger TCP remote transport.
The patch also adds support to libbsd's build system making source
conditional on a configure check. The debugger support is not
available on all architectures and this feature lets us test if
is avaliable.
2016-11-29 15:27:23 +11:00
Sebastian Huber
e49f301a4f Fix default network memory configuration 2016-11-10 10:52:22 +01:00
Sebastian Huber
520ab224ca Modify rtems_bsd_set_vprintf_handler()
Return previous vprintf()-handler in rtems_bsd_set_vprintf_handler().
2016-11-09 09:46:32 +01:00
Sebastian Huber
335bb97980 testsuite: Fix warnings 2016-10-07 07:24:42 +02:00
Sebastian Huber
ec5b97bed1 usb01: Simplify test program 2016-09-28 15:33:50 +02:00
Christian Mauderer
6634edbee8 devfs: Create path. 2016-08-16 09:16:43 +02:00
Christian Mauderer
bc9e939a4c pf: Add configuration via rc.conf. 2016-08-08 16:12:05 +02:00
Christian Mauderer
a8d016c39d testsuite/pf01: Remove pflog-module from test.
This module is not tested inside the pf01 test. Therefore remove it. It
is still build in the interactive pf02 test.
2016-08-08 08:54:35 +02:00
Christian Mauderer
32a3dd1e43 pf: Add RTEMS_BSD_CONFIG_FIREWALL_xxx options. 2016-08-08 08:54:34 +02:00
Christian Mauderer
7aaa9a19d1 testsuite/pf02: Add interactive pf test. 2016-08-03 13:58:38 +02:00
Christian Mauderer
df222eba72 testsuite/pf01: Test pfctl and pf. 2016-08-02 10:21:52 +02:00
Christian Mauderer
d31a3658d0 rtemsbsd: Add wrapper for open, fopen, malloc, ...
Add the following rtems_bsd_program_... wrapper:

* rtems_bsd_program_open
* rtems_bsd_program_socket
* rtems_bsd_program_close
* rtems_bsd_program_fopen
* rtems_bsd_program_fclose
* rtems_bsd_program_malloc
* rtems_bsd_program_calloc
* rtems_bsd_program_realloc
* rtems_bsd_program_free
* rtems_bsd_program_strdup
* rtems_bsd_program_vasprintf
* rtems_bsd_program_asprintf
2016-08-02 10:21:46 +02:00
Christian Mauderer
3d91340868 rtemsbsd: Add call to program with a data restore
This adds the rtems_bsd_program_call_main_width_data_restore function.
2016-08-02 10:21:38 +02:00
Christian Mauderer
fa43d6a7ea testsuite/syscalls01: Split out program01 part.
This allows to use normal functions for sockets and similar while
allowing to test the upcoming rtems_bsd_program_opan/close/... for the
program part.
2016-08-02 10:20:51 +02:00
Christian Mauderer
a9bd4224e8 testsuite/pf01: Add test that links PF. 2016-08-01 14:02:04 +02:00
Christian Mauderer
8dacfe492e testsuite/cdev01: Add test for cdev functions. 2016-08-01 14:02:04 +02:00
Chris Johns
b8c7bf933c Set syslog priority to 'debug' for all tests. 2016-07-06 17:08:07 +10:00
Chris Johns
4dec435385 Add a wait for key press to test rccof02. 2016-07-01 16:36:13 +10:00
Chris Johns
65c65bb7a3 Add telnetd as service to rc.conf. 2016-07-01 15:49:52 +10:00
Chris Johns
f01b1f7209 Add RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE.
The domain allocator page abd mbuf size can be configured by the
user using RTEMS_BSD_CONFIG_DOMAIN_PAGE_MBUFS_SIZE.
2016-06-30 11:42:49 +10:00
Chris Johns
573b198243 Add DHCP support to rc.conf. 2016-06-30 09:19:52 +10:00
Chris Johns
90873cc802 Add ftpd as a service. Add rtems-bsd-config.h for app libbsd set up. 2016-06-28 13:32:01 +10:00
Chris Johns
7439724ac3 Add a services base test. 2016-06-27 13:32:24 +10:00
Chris Johns
55c564a028 Refactor rc.conf processing to be services based. 2016-06-27 13:32:24 +10:00
Chris Johns
c6713d1b51 Add DEFAULT_NETWORK_PAGE_MBUFS_SIZE to allow per BSP allocation domain sizes. 2016-06-27 13:32:24 +10:00
Sebastian Huber
c991d65d8d Update due to RTEMS printer API changes 2016-06-23 14:18:17 +02:00
Sebastian Huber
32fd702138 Update due to RTEMS printer API changes 2016-06-23 14:08:02 +02:00
Sebastian Huber
58c4e1c592 nfsclient: Port to LibBSD 2016-06-10 14:15:02 +02:00
Sebastian Huber
68d406b3b8 ftpfs: Import from RTEMS
RTEMS Git commit 251c94d3d3d27e0039f01b718e5c2eb06f39fdf7.
2016-06-10 14:09:13 +02:00
Sebastian Huber
71f66e761d selectpollkqueue01: Add EVFILT_USER test case 2016-06-10 14:03:34 +02:00
Chris Johns
ab5cd63b55 tests: Fix compile errors after tools upgrade. 2016-05-31 17:16:54 +10:00
Sebastian Huber
3d1e767c8f Directly use <sys/types.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
f70f9f5013 testsuite/rcconf01: Add missing include 2016-05-30 16:06:40 +02:00
Sebastian Huber
92e9493726 testsuite: Update due to API changes 2016-05-25 13:10:22 +02:00
Chris Johns
f5c6651da8 Add support for rc.conf(5) initialisation.
Provide user support for rc.conf(5) so a user can create a suitable
/etc/rc.conf file to initialise libbsd.

This patch by default adds basic networking support:

 cloned_interfaces
 ifconfig_'interface'
 defaultrouter
 hostname

Refer to FreeBSD documentation for examples.

Users can make a single call to have /etc/rc.conf processed, or pass a
file name to a specific configuration file or a text string with line
feeds can be passed to the scripting version of the interface.

The rc.conf support is implemented in terms of directive handlers that
are called based on a regular expression. The design allows new handlers
to be added as needed.

Line concatenation is still to be implemented.
2016-05-18 13:49:17 +10:00
Sebastian Huber
f9a697a750 media01: Add sysctl command 2016-05-06 14:34:41 +02:00
Sebastian Huber
356f59c898 kvprintf: Add support for %m 2016-05-06 14:07:34 +02:00
Sebastian Huber
54a577d44f subr_prf.c: Port to RTEMS 2016-05-06 14:07:31 +02:00
Sebastian Huber
ee9991f4c6 Partially revert 27aedffc1bd8e41f4e06a3326a5b95c54ca38b79 2016-05-06 08:56:03 +02:00
Chris Johns
83eb07c4d6 Add sbin/sysctl 2016-05-06 15:07:56 +10:00
Sebastian Huber
27aedffc1b default-network-init.h: Fix warnings 2016-05-04 11:49:44 +02:00
Chris Johns
a1a2e10d98 Add tcpdump to the test shell commands. 2016-05-04 16:00:15 +10:00
Chris Johns
f3f816cc76 Add nexus devices for default-init. 2016-04-28 13:49:40 +10:00
Sebastian Huber
5edcb9ecd2 media01: Add telnetd 2016-04-26 15:20:59 +02:00
Sebastian Huber
5529f7daf9 swi01: Move include to avoid type conflict 2016-04-18 15:06:41 +02:00
Sebastian Huber
dd96574e45 SOCKETPAIR(2): Port to RTEMS 2015-11-16 09:52:50 +01:00
Sebastian Huber
06d83167c7 testsuite/ppp01: Avoid build error on SMP 2015-11-12 13:16:25 +01:00
Sebastian Huber
293fefa43e testsuite: Add bdbuf configuration 2015-11-02 09:11:22 +01:00