dhcp_client.c
error_t dhcpClientRelease(DhcpClientContext *context)
Release DHCP lease.
Definition: dhcp_client.c:237
DHCP client (Dynamic Host Configuration Protocol)
error_t dhcpClientSendRelease(DhcpClientContext *context)
Send DHCPRELEASE message.
Definition: dhcp_client_misc.c:614
Helper functions for DHCP client.
DhcpClientTimeoutCallback timeoutEvent
DHCP configuration timeout event.
Definition: dhcp_client.h:223
error_t udpDetachRxCallback(NetInterface *interface, uint16_t port)
Unregister user callback.
Definition: udp.c:1062
error_t udpAttachRxCallback(NetInterface *interface, uint16_t port, UdpRxCallback callback, void *param)
Register user callback.
Definition: udp.c:1021
error_t dhcpClientInit(DhcpClientContext *context, const DhcpClientSettings *settings)
DHCP client initialization.
Definition: dhcp_client.c:92
DhcpState dhcpClientGetState(DhcpClientContext *context)
Retrieve current state.
Definition: dhcp_client.c:296
void dhcpClientProcessMessage(NetInterface *interface, const IpPseudoHeader *pseudoHeader, const UdpHeader *udpHeader, const NetBuffer *buffer, size_t offset, const NetRxAncillary *ancillary, void *param)
Process incoming DHCP message.
Definition: dhcp_client_misc.c:735
void osAcquireMutex(OsMutex *mutex)
Acquire ownership of the specified mutex object.
Definition: os_port_chibios.c:396
void osReleaseMutex(OsMutex *mutex)
Release ownership of the specified mutex object.
Definition: os_port_chibios.c:408
DhcpClientParseOptionsCallback parseOptionsCallback
Parse DHCP options callback.
Definition: dhcp_client.h:227
DhcpClientAddOptionsCallback addOptionsCallback
Add DHCP options callback.
Definition: dhcp_client.h:226
TCP/IP stack core.
void dhcpClientGetDefaultSettings(DhcpClientSettings *settings)
Initialize settings with default values.
Definition: dhcp_client.c:57
void dhcpClientResetConfig(DhcpClientContext *context)
Reset DHCP configuration.
Definition: dhcp_client_misc.c:1345
Debugging facilities.