summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/rtems_bootp.c
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2021-02-24 19:06:38 -0700
committerVijay Kumar Banerjee <vijay@rtems.org>2021-04-07 16:15:38 -0600
commit2a13ad389af61429a184e1cfac53c69eb673ad76 (patch)
tree035aca3f29ec996074a55d22b028f29c1d0cc4ea /cpukit/libnetworking/rtems/rtems_bootp.c
parentcpukit: Move ftpfs from libnetworking to libfs (diff)
downloadrtems-2a13ad389af61429a184e1cfac53c69eb673ad76.tar.bz2
cpukit: Remove libnetworking
Update #3850
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_bootp.c')
-rw-r--r--cpukit/libnetworking/rtems/rtems_bootp.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bootp.c b/cpukit/libnetworking/rtems/rtems_bootp.c
deleted file mode 100644
index 134ae90cfd..0000000000
--- a/cpukit/libnetworking/rtems/rtems_bootp.c
+++ /dev/null
@@ -1,42 +0,0 @@
-#include <machine/rtems-bsd-kernel-space.h>
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems.h>
-#include <rtems/error.h>
-#include <sys/types.h>
-#include <rtems/rtems_bsdnet.h>
-#include <rtems/rtems_bsdnet_internal.h>
-
-#include "rtems/bootp.h"
-
-/*
- * Perform a BOOTP request
- */
-void
-rtems_bsdnet_do_bootp (void)
-{
- bool ok;
- rtems_bsdnet_semaphore_obtain ();
- ok = bootpc_init (false, true);
- rtems_bsdnet_semaphore_release ();
- if (!ok)
- panic ("rtems_bsdnet_do_bootp: bootp failed");
-}
-
-/*
- * Perform a BOOTP request and update "standard" files in /etc
- * with the results.
- */
-void
-rtems_bsdnet_do_bootp_and_rootfs (void)
-{
- bool ok;
- rtems_bsdnet_semaphore_obtain ();
- ok = bootpc_init (true, true);
- rtems_bsdnet_semaphore_release ();
- if (!ok)
- panic ("rtems_bsdnet_do_bootp_and_rootfs: bootp failed");
-}