source: rtems/cpukit/libnetworking/rtems/dhcp.h @ 587e310e

4.104.114.84.95
Last change on this file since 587e310e was 587e310e, checked in by Chris Johns <chrisj@…>, on 06/30/05 at 04:03:56

The DHCP header.

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[587e310e]1/*
2  ------------------------------------------------------------------------
3  $Id$
4  ------------------------------------------------------------------------
5
6  Copyright Cybertec Pty Ltd, 2005
7  All rights reserved Cybertec Pty Ltd, 2005
8   
9  This software with is provided ``as is'' and with NO WARRANTY.
10
11  ------------------------------------------------------------------------
12 */
13
14/**
15  @file
16
17  DHCP Server interface.
18*/
19
20#if !defined (__RTEMS_DHCP_H__)
21#define __RTEMS_DHCP_H__
22
23#if __cplusplus
24extern "C"
25{
26#endif
27
28/*
29 * Perform DHCP.
30 */
31void rtems_bsdnet_do_dhcp (void);
32
33/*
34 * Maintain a DHCP offer that has already been accepted.
35 */
36void rtems_bsdnet_do_dhcp_refresh_only (unsigned long xid,
37                                        unsigned long lease_time,
38                                        unsigned long elapsed_time,
39                                        unsigned long ip_address,
40                                        unsigned long srv_address,
41                                        const char    *hostname);
42
43#if __cplusplus
44}
45#endif
46
47#endif
Note: See TracBrowser for help on using the repository browser.