dhcp_server.h
Go to the documentation of this file.
130 Ipv4Addr ipAddrRangeMin; ///<Lowest IP address in the pool that is available for dynamic address assignment
131 Ipv4Addr ipAddrRangeMax; ///<Highest IP address in the pool that is available for dynamic address assignment
DhcpServerBinding clientBinding[DHCP_SERVER_MAX_CLIENTS]
List of bindings.
Definition: dhcp_server.h:149
error_t(* DhcpServerParseOptionsCallback)(DhcpServerContext *context, const DhcpMessage *message, size_t length, DhcpMessageType type)
Parse DHCP options callback.
Definition: dhcp_server.h:99
DhcpServerAddOptionsCallback addOptionsCallback
Add DHCP options callback.
Definition: dhcp_server.h:135
bool_t running
This flag tells whether the DHCP server is running or not.
Definition: dhcp_server.h:147
Ipv4Addr ipAddrRangeMin
Lowest IP address in the pool that is available for dynamic address assignment.
Definition: dhcp_server.h:130
void(* DhcpServerAddOptionsCallback)(DhcpServerContext *context, DhcpMessage *message, size_t *length, DhcpMessageType type)
Add DHCP options callback.
Definition: dhcp_server.h:91
void dhcpServerDeinit(DhcpServerContext *context)
Release DHCP server context.
Definition: dhcp_server.c:244
error_t dhcpServerInit(DhcpServerContext *context, const DhcpServerSettings *settings)
DHCP server initialization.
Definition: dhcp_server.c:102
Ipv4Addr ipAddrRangeMax
Highest IP address in the pool that is available for dynamic address assignment.
Definition: dhcp_server.h:131
uint32_t leaseTime
Lease time, in seconds, assigned to the DHCP clients.
Definition: dhcp_server.h:129
void dhcpServerGetDefaultSettings(DhcpServerSettings *settings)
Initialize settings with default values.
Definition: dhcp_server.c:58
TCP/IP stack core.
DhcpServerParseOptionsCallback parseOptionsCallback
Parse DHCP options callback.
Definition: dhcp_server.h:136