summaryrefslogtreecommitdiffstats
path: root/testsuite/rcconf01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update due to Newlib 2017-06-07 changesSebastian Huber2017-06-081-1/+1
| | | | | | | | | | | | | | | | | The following files are now provided by Newlib: * arpa/inet.h * net/if.h * netinet/in.h * netinet/tcp.h * sys/socket.h * sys/uio.h * sys/un.h The <sys/param.h> and <sys/cpuset.h> are now compatible enough to be used directly. Update #2833.
* rc_conf: Add support for ifconfig_<interface>_alias[0-9]+.Chris Johns2017-04-271-1/+44
| | | | | | | | | | The interface alias allows extra IP addresses to be set on and interface and it also allows the MAC address to be set. Examples: ifconfig_em0="inet 10.10.5.33 netmask 255.255.255.0" ifconfig_em0_alias0="ether 10:22:33:44:55:66" ifconfig_em0_alias1="inet 10.1.1.111 netmask 0xffffffff"
* Refactor rc.conf processing to be services based.Chris Johns2016-06-271-30/+128
|
* testsuite/rcconf01: Add missing includeSebastian Huber2016-05-301-0/+1
|
* Add support for rc.conf(5) initialisation.Chris Johns2016-05-181-0/+164
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.