diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-29 15:26:54 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-12-05 09:16:25 +0100 |
commit | b1649d6322b8264573d0716918187b130bc9d9ad (patch) | |
tree | be2ed23920586ffc98a502d303dd3696020667f5 /rtemsbsd/include/rtems/bsd/bsd.h | |
parent | at91_mci: Fix for 32k buffer. (diff) | |
download | rtems-libbsd-b1649d6322b8264573d0716918187b130bc9d9ad.tar.bz2 |
Add rtems_bsd_initialize_dhcp()
Diffstat (limited to 'rtemsbsd/include/rtems/bsd/bsd.h')
-rwxr-xr-x | rtemsbsd/include/rtems/bsd/bsd.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/bsd/bsd.h b/rtemsbsd/include/rtems/bsd/bsd.h index 6bea4e6f..5d303e94 100755 --- a/rtemsbsd/include/rtems/bsd/bsd.h +++ b/rtemsbsd/include/rtems/bsd/bsd.h @@ -92,6 +92,28 @@ typedef struct { rtems_status_code rtems_bsd_initialize(void); /** + * @brief Initializes the libbsd and starts a DHCPCD task. + * + * The libbsd is initialized via rtems_bsd_initialize(). If this is + * successful, then the loop back interfaces are created. If this is + * successful, then a DHCPCD task is started at the least important priority. + * + * The default devices of the BSP are initialized. Support for + * - IF_BRIDGE(4), + * - LAGG(4), + * - multicast routing, + * - UNIX(4), and + * - VLAN(4), + * is enabled. + * + * No RTEMS shell commands are registered. + * + * @retval RTEMS_SUCCESSFUL Successful operation. + * @retval otherwise An error occurred. + */ +rtems_status_code rtems_bsd_initialize_dhcp(void); + +/** * @brief Configures the lo0 (loopback) interface. * * @return Returns an exit code, see also <sysexits.h>. |