RTEMS CPU Kit with SuperCore  4.11.3
dhcp.h
Go to the documentation of this file.
1 /*
2  ------------------------------------------------------------------------
3 
4  Copyright Cybertec Pty Ltd, 2005
5  All rights reserved Cybertec Pty Ltd, 2005
6 
7  This software with is provided ``as is'' and with NO WARRANTY.
8 
9  ------------------------------------------------------------------------
10  */
11 
18 #if !defined (__RTEMS_DHCP_H__)
19 #define __RTEMS_DHCP_H__
20 
21 #if __cplusplus
22 extern "C"
23 {
24 #endif
25 
26 /*
27  * Perform DHCP.
28  */
29 void rtems_bsdnet_do_dhcp (void);
30 int rtems_bsdnet_do_dhcp_timeout (void);
31 void rtems_bsdnet_dhcp_down (void);
32 
33 /*
34  * Maintain a DHCP offer that has already been accepted.
35  */
36 void 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