summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/rtems/rtems-bsd-rc-conf-net.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-02rc.conf: Fix cloned interface setup.Christian Mauderer1-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.
2018-05-08dhcpcd: Add rtems_dhcpcd_start()Sebastian Huber1-31/+26
Use it throughout to start the DHCP client (dhcpcd).
2018-05-08rc_conf: Do not create directories used by dhcpcdSebastian Huber1-12/+0
The dhcpcd will create the directories on its own.
2018-05-08rc_conf: Include missing header filesSebastian Huber1-0/+4
2017-06-08Update due to Newlib 2017-06-07 changesSebastian Huber1-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.
2017-04-27rc_conf: Move the defaultroute_delay to the defaultroute processing.Chris Johns1-49/+60
If no default route is found atfer the delay timeout set the defaultrouter value if present.
2017-04-27rc_conf: Add support for ifconfig_<interface>_alias[0-9]+.Chris Johns1-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"
2017-04-26rc_conf: Minor clean up in the net services.Chris Johns1-2/+3
2016-08-12rc.conf/net: Let interface option appear on a DHCP ifconfig_ line.Chris Johns1-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.
2016-06-30Fix wording and spelling.Chris Johns1-3/+4
2016-06-30Add DHCP support to rc.conf.Chris Johns1-50/+230
2016-06-27Refactor rc.conf processing to be services based.Chris Johns1-105/+356
2016-05-30Directly use <sys/types.h> provided by NewlibSebastian Huber1-2/+1
2016-05-18rc.conf: Fix the wild card regex for ifconfig_Chris Johns1-1/+1
2016-05-18Add support for rc.conf(5) initialisation.Chris Johns1-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.