4.104.114.84.95
Line | |
---|
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 |
---|
24 | extern "C" |
---|
25 | { |
---|
26 | #endif |
---|
27 | |
---|
28 | /* |
---|
29 | * Perform DHCP. |
---|
30 | */ |
---|
31 | void rtems_bsdnet_do_dhcp (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 |
---|
Note: See
TracBrowser
for help on using the repository browser.