source: rtems/cpukit/libnetworking/rtems/rtems_bootp.c @ 4aa8a23

4.104.114.84.95
Last change on this file since 4aa8a23 was 4aa8a23, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/02/05 at 03:06:41

Include config.h.

  • Property mode set to 100644
File size: 602 bytes
Line 
1/*
2 *  $Id$
3 */
4
5#if HAVE_CONFIG_H
6#include "config.h"
7#endif
8
9#include <rtems.h>
10#include <rtems/error.h>
11#include <sys/types.h>
12#include <rtems/rtems_bsdnet.h>
13#include <rtems/rtems_bsdnet_internal.h>
14
15/*
16 * Perform a BOOTP request
17 */
18void
19rtems_bsdnet_do_bootp (void)
20{
21        rtems_bsdnet_semaphore_obtain ();
22        bootpc_init (FALSE);
23        rtems_bsdnet_semaphore_release ();
24}
25
26/*
27 * Perform a BOOTP request and update "standard" files in /etc
28 * with the results.
29 */
30void
31rtems_bsdnet_do_bootp_and_rootfs (void)
32{
33        rtems_bsdnet_semaphore_obtain ();
34        bootpc_init (TRUE);
35        rtems_bsdnet_semaphore_release ();
36}
Note: See TracBrowser for help on using the repository browser.