16 Commits

Author SHA1 Message Date
Christian Mauderer
65a0afdd62 dhcpcd: Pass config structure. 2020-02-06 13:12:24 +01:00
Sebastian Huber
b2eb48c23b dhcpcd: Add hooks 2018-05-08 07:37:17 +02:00
Sebastian Huber
8bd38d645c dhcpcd: Add rtems_dhcpcd_start()
Use it throughout to start the DHCP client (dhcpcd).
2018-05-08 06:50:17 +02:00
Christian Mauderer
338f3005fc buildset: Add minimal and everything config.
This adds two new buildset configurations: One that leaves out as much
features as possible and one that enables all features. For the default
configuration WiFi support is now disabled.

To disable IPv6 for the minimal configuration, all -DINET6 are
eliminated in libbsd.py. They are now replaced by a #ifdef that checks
for RTEMS_BSD_MODULE_NETINET6 instead.

Close #3351.
2018-05-03 07:09:46 +02:00
Christian Mauderer
ddd16bcc32 dhcpcd: Don't ignore interface on transient errors.
In case of WPA on a WiFi interface, the interface isn't yet ready when
the dhcpcd starts. Sending a packet during that time returns with a
ENOBUFS. That caused the interface to be ignored.

On the upstream repository of dhcpcd, that transient error (and some
others) are already ignored.
2017-11-10 13:33:03 +01:00
Sebastian Huber
7ec4d8760d dhcpcd: Honour file descriptor maximum 2017-10-20 14:59:54 +02:00
Sebastian Huber
2017a6df2b Directly use <sys/time.h> provided by Newlib 2016-05-30 16:06:41 +02:00
Sebastian Huber
7758fcc11d DHCPCD(8): Add MASTER_ONLY option 2014-01-30 16:23:04 +01:00
Sebastian Huber
9cc83a74e2 DHCPCD(8): Disable script support 2014-01-30 16:23:04 +01:00
Sebastian Huber
f724741db0 DHCPCD(8): Add getopt_long_r() support 2014-01-30 16:23:03 +01:00
Sebastian Huber
61d281e39d DHCPCD(8): Add RTEMS program support 2014-01-30 16:23:03 +01:00
Sebastian Huber
e6d558f7ae DHCPCD(8): Use select() instead of pselect() 2014-01-30 16:23:03 +01:00
Sebastian Huber
ec37843a84 DHCPCD(8): Add config.h 2014-01-30 16:23:03 +01:00
Sebastian Huber
f7fe39938e DHCPCD(8): Add namespace header 2014-01-30 16:23:03 +01:00
Sebastian Huber
5638ae8bfa DHCPCD(8): Add automatically generated files 2014-01-30 16:23:03 +01:00
Sebastian Huber
f2ed769880 DHCPCD(8): Import
Import DHCPCD(8) from:

http://roy.marples.name/projects/dhcpcd/

The upstream sources can be obtained via:

fossil clone http://roy.marples.name/projects/dhcpcd

The imported version is 2014-01-29 19:46:44 [6b209507bb].
2014-01-30 16:23:03 +01:00