/[lwip]/lwip/src/include/lwip/dhcp.h
ViewVC logotype

Diff of /lwip/src/include/lwip/dhcp.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by jani, Thu Feb 20 16:32:23 2003 UTC revision 1.9 by jani, Thu Feb 20 17:16:31 2003 UTC
# Line 4  Line 4 
4  #ifndef __LWIP_DHCP_H__  #ifndef __LWIP_DHCP_H__
5  #define __LWIP_DHCP_H__  #define __LWIP_DHCP_H__
6    
 #include "udp.h"  
7  #include "lwip/opt.h"  #include "lwip/opt.h"
8    #include "lwip/udp.h"
9    
10  /** period (in seconds) of the application calling dhcp_coarse_tmr() */  /** period (in seconds) of the application calling dhcp_coarse_tmr() */
11  #define DHCP_COARSE_TIMER_SECS 60  #define DHCP_COARSE_TIMER_SECS 60
# Line 86  PACK_STRUCT_END Line 86  PACK_STRUCT_END
86  #  include "arch/epstruct.h"  #  include "arch/epstruct.h"
87  #endif  #endif
88    
89    /* Declare here to avoid including netif.h creating a circular dependency */
90    struct netif;
91    
92  /** initialize DHCP client */  /** initialize DHCP client */
93  void dhcp_init(void);  void dhcp_init(void);
94  /** start DHCP configuration */  /** start DHCP configuration */
# Line 166  void dhcp_fine_tmr(void); Line 169  void dhcp_fine_tmr(void);
169    
170  /** BootP options */  /** BootP options */
171  #define DHCP_OPTION_PAD 0  #define DHCP_OPTION_PAD 0
172  #define DHCP_OPTION_SUBNET_MASK 1 // RFC 2132 3.3  #define DHCP_OPTION_SUBNET_MASK 1 /* RFC 2132 3.3 */
173  #define DHCP_OPTION_ROUTER 3  #define DHCP_OPTION_ROUTER 3
174  #define DHCP_OPTION_HOSTNAME 12  #define DHCP_OPTION_HOSTNAME 12
175  #define DHCP_OPTION_IP_TTL 23  #define DHCP_OPTION_IP_TTL 23

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26