summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/rtems/rtems-bsd-rc-conf-net.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtemsbsd/rtems: Check function return valuesKinsey Moore2024-01-311-4/+6
|
* rc.conf: Fix cloned interface setup.Christian Mauderer2018-08-021-1/+2
| | | | | | The cloned interfaces have to be set up befor the interface list is created. Otherwise it's not possible to configure a cloned interface with a `ifconfig_gifX` line.
* dhcpcd: Add rtems_dhcpcd_start()Sebastian Huber2018-05-081-31/+26
| | | | Use it throughout to start the DHCP client (dhcpcd).
* rc_conf: Do not create directories used by dhcpcdSebastian Huber2018-05-081-12/+0
| | | | The dhcpcd will create the directories on its own.
* rc_conf: Include missing header filesSebastian Huber2018-05-081-0/+4
|
* 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: Move the defaultroute_delay to the defaultroute processing.Chris Johns2017-04-271-49/+60
| | | | | If no default route is found atfer the delay timeout set the defaultrouter value if present.
* rc_conf: Add support for ifconfig_<interface>_alias[0-9]+.Chris Johns2017-04-271-13/+68
| | | | | | | | | | 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"
* rc_conf: Minor clean up in the net services.Chris Johns2017-04-261-2/+3
|
* rc.conf/net: Let interface option appear on a DHCP ifconfig_ line.Chris Johns2016-08-121-14/+28
| | | | | | An ifconfig_ line can have other options for the interface such as ether or hardware checksum control. Allow these to be set on the interface.
* Fix wording and spelling.Chris Johns2016-06-301-3/+4
|
* Add DHCP support to rc.conf.Chris Johns2016-06-301-50/+230
|
* Refactor rc.conf processing to be services based.Chris Johns2016-06-271-105/+356
|
* Directly use <sys/types.h> provided by NewlibSebastian Huber2016-05-301-2/+1
|
* rc.conf: Fix the wild card regex for ifconfig_Chris Johns2016-05-181-1/+1
|
* Add support for rc.conf(5) initialisation.Chris Johns2016-05-181-0/+303
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.