From b1649d6322b8264573d0716918187b130bc9d9ad Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 29 Nov 2017 15:26:54 +0100 Subject: Add rtems_bsd_initialize_dhcp() --- rtemsbsd/include/rtems/bsd/bsd.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'rtemsbsd/include/rtems') 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 @@ -91,6 +91,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. * -- cgit v1.2.3