DHCP server context. More...
#include <dhcp_server.h>
Data Fields | |
| NetContext * | netContext |
| TCP/IP stack context. More... | |
| NetInterface * | interface |
| Underlying network interface. More... | |
| uint_t | ipAddrIndex |
| Index of the IP address assigned to the DHCP server. More... | |
| bool_t | rapidCommit |
| Quick configuration using rapid commit. More... | |
| uint32_t | leaseTime |
| Lease time, in seconds, assigned to the DHCP clients. More... | |
| Ipv4Addr | ipAddrRangeMin |
| Lowest IP address in the pool that is available for dynamic address assignment. More... | |
| Ipv4Addr | ipAddrRangeMax |
| Highest IP address in the pool that is available for dynamic address assignment. More... | |
| Ipv4Addr | subnetMask |
| Subnet mask. More... | |
| Ipv4Addr | defaultGateway |
| Default gateway. More... | |
| Ipv4Addr | dnsServer [DHCP_SERVER_MAX_DNS_SERVERS] |
| DNS servers. More... | |
| DhcpServerAddOptionsCallback | addOptionsCallback |
| Add DHCP options callback. More... | |
| DhcpServerParseOptionsCallback | parseOptionsCallback |
| Parse DHCP options callback. More... | |
| bool_t | running |
| Operational state of the DHCP server. More... | |
| Ipv4Addr | nextIpAddr |
| Next IP address to be assigned. More... | |
| DhcpServerBinding | clientBinding [DHCP_SERVER_MAX_CLIENTS] |
| List of bindings. More... | |
Detailed Description
DHCP server context.
Definition at line 144 of file dhcp_server.h.
Field Documentation
◆ addOptionsCallback
| DhcpServerAddOptionsCallback addOptionsCallback |
Add DHCP options callback.
Definition at line 156 of file dhcp_server.h.
◆ clientBinding
| DhcpServerBinding clientBinding[DHCP_SERVER_MAX_CLIENTS] |
List of bindings.
Definition at line 160 of file dhcp_server.h.
◆ defaultGateway
| Ipv4Addr defaultGateway |
Default gateway.
Definition at line 154 of file dhcp_server.h.
◆ dnsServer
| Ipv4Addr dnsServer[DHCP_SERVER_MAX_DNS_SERVERS] |
DNS servers.
Definition at line 155 of file dhcp_server.h.
◆ interface
| NetInterface* interface |
Underlying network interface.
Definition at line 147 of file dhcp_server.h.
◆ ipAddrIndex
| uint_t ipAddrIndex |
Index of the IP address assigned to the DHCP server.
Definition at line 148 of file dhcp_server.h.
◆ ipAddrRangeMax
| Ipv4Addr ipAddrRangeMax |
Highest IP address in the pool that is available for dynamic address assignment.
Definition at line 152 of file dhcp_server.h.
◆ ipAddrRangeMin
| Ipv4Addr ipAddrRangeMin |
Lowest IP address in the pool that is available for dynamic address assignment.
Definition at line 151 of file dhcp_server.h.
◆ leaseTime
| uint32_t leaseTime |
Lease time, in seconds, assigned to the DHCP clients.
Definition at line 150 of file dhcp_server.h.
◆ netContext
| NetContext* netContext |
TCP/IP stack context.
Definition at line 146 of file dhcp_server.h.
◆ nextIpAddr
| Ipv4Addr nextIpAddr |
Next IP address to be assigned.
Definition at line 159 of file dhcp_server.h.
◆ parseOptionsCallback
| DhcpServerParseOptionsCallback parseOptionsCallback |
Parse DHCP options callback.
Definition at line 157 of file dhcp_server.h.
◆ rapidCommit
| bool_t rapidCommit |
Quick configuration using rapid commit.
Definition at line 149 of file dhcp_server.h.
◆ running
| bool_t running |
Operational state of the DHCP server.
Definition at line 158 of file dhcp_server.h.
◆ subnetMask
| Ipv4Addr subnetMask |
Subnet mask.
Definition at line 153 of file dhcp_server.h.
The documentation for this struct was generated from the following file:
- cyclone_tcp/dhcp/dhcp_server.h
