Embedded TCP/IP stack: fnet_dhcp_cln_options Struct Reference

FNET

fnet_dhcp_cln_options Struct Reference

DHCP options are retrieved from a DHCP server. More...

Data Fields

struct fnet_in_addr ip_address
 Client IP address assigned by the DHCP server (in network byte order). More...
 
struct fnet_in_addr netmask
 Subnet Mask (in network byte order). More...
 
struct fnet_in_addr gateway
 The IP address of a router on the client's subnet (in network byte order). More...
 
struct fnet_in_addr dhcp_server
 The DHCP server IP address (in network byte order). More...
 
fnet_uint32_t t1
 Renewal (T1) Time Value in seconds (in network byte order).
This option specifies the time interval from address assignment, until the client transitions to the RENEWING state.
A user application may ignore this option value. It is used for internal and debug purposes only. More...
 
fnet_uint32_t t2
 Rebinding (T2) Time Value in seconds (in network byte order).
This option specifies the time interval from address assignment until the client transitions to the REBINDING state.
A user application may ignore this option value. It is used for internal and debug purposes only. More...
 
fnet_uint32_t lease_time
 The IP Address Lease Time in seconds (in network byte order).
t1 < t2 < lease_time.
By default, t1=0.5*lease_time; t2=0.875*lease_time.
A user application may ignore this option value. It is used for internal and debug purposes only. More...
 

Detailed Description

DHCP options are retrieved from a DHCP server.

This structure is used by the fnet_dhcp_cln_get_options() function.
User application should never assign retrieved IP parameters directly to network interface. The DHCP client service does it automatically.

Definition at line 135 of file fnet_dhcp_cln.h.


The documentation for this struct was generated from the following file:

© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net