Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
_DhcpClientContext Struct Reference
DHCP client context. More...
#include <dhcp_client.h>
Data Fields | |
| DhcpClientSettings | settings |
| DHCP client settings. | |
| bool_t | running |
| This flag tells whether the DHCP client is running or not. | |
| DhcpState | state |
| Current state of the FSM. | |
| bool_t | timeoutEventDone |
| Timeout callback function has been called. | |
| systime_t | timestamp |
| Timestamp to manage retransmissions. | |
| systime_t | timeout |
| Timeout value. | |
| systime_t | retransmitTimeout |
| Retransmission timeout. | |
| uint_t | retransmitCount |
| Retransmission counter. | |
| Ipv4Addr | serverIpAddr |
| DHCP server IPv4 address. | |
| Ipv4Addr | requestedIpAddr |
| Requested IPv4 address. | |
| uint32_t | transactionId |
| Value to match requests with replies. | |
| systime_t | configStartTime |
| Address acquisition or renewal process start time. | |
| systime_t | leaseStartTime |
| Lease start time. | |
| uint32_t | leaseTime |
| Lease time. | |
| uint32_t | t1 |
| Time at which the client enters the RENEWING state. | |
| uint32_t | t2 |
| Time at which the client enters the REBINDING state. | |
Detailed Description
DHCP client context.
Definition at line 197 of file dhcp_client.h.
Field Documentation
| systime_t configStartTime |
Address acquisition or renewal process start time.
Definition at line 210 of file dhcp_client.h.
| systime_t leaseStartTime |
Lease start time.
Definition at line 211 of file dhcp_client.h.
| uint32_t leaseTime |
Lease time.
Definition at line 212 of file dhcp_client.h.
Requested IPv4 address.
Definition at line 208 of file dhcp_client.h.
| uint_t retransmitCount |
Retransmission counter.
Definition at line 206 of file dhcp_client.h.
| systime_t retransmitTimeout |
Retransmission timeout.
Definition at line 205 of file dhcp_client.h.
| bool_t running |
This flag tells whether the DHCP client is running or not.
Definition at line 200 of file dhcp_client.h.
DHCP server IPv4 address.
Definition at line 207 of file dhcp_client.h.
DHCP client settings.
Definition at line 199 of file dhcp_client.h.
Current state of the FSM.
Definition at line 201 of file dhcp_client.h.
| uint32_t t1 |
Time at which the client enters the RENEWING state.
Definition at line 213 of file dhcp_client.h.
| uint32_t t2 |
Time at which the client enters the REBINDING state.
Definition at line 214 of file dhcp_client.h.
| systime_t timeout |
Timeout value.
Definition at line 204 of file dhcp_client.h.
| bool_t timeoutEventDone |
Timeout callback function has been called.
Definition at line 202 of file dhcp_client.h.
| systime_t timestamp |
Timestamp to manage retransmissions.
Definition at line 203 of file dhcp_client.h.
| uint32_t transactionId |
Value to match requests with replies.
Definition at line 209 of file dhcp_client.h.
Generated on Tue Jul 12 2022 17:10:23 by
1.7.2