summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include/rtems')
-rwxr-xr-xrtemsbsd/include/rtems/bsd/bsd.h22
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>.