Merge branch 'dhcp' of https://github.com/Governa/esp-open-rtos into
Governa-dhcp # Conflicts: # examples/access_point/access_point.c # extras/dhcpserver/dhcpserver.c # extras/dhcpserver/include/dhcpserver.h
This commit is contained in:
commit
548e2b5596
4 changed files with 65 additions and 73 deletions
|
|
@ -25,8 +25,10 @@ extern "C" {
|
|||
first_client_addr is the IP address of the first lease to be handed
|
||||
to a client. Subsequent lease addresses are calculated by
|
||||
incrementing the final octet of the IPv4 address, up to max_leases.
|
||||
|
||||
The server will wait for requests on server_if interface.
|
||||
*/
|
||||
void dhcpserver_start(const ip4_addr_t *first_client_addr, uint8_t max_leases);
|
||||
void dhcpserver_start(struct netif *server_if, const ip_addr_t *first_client_addr, uint8_t max_leases);
|
||||
|
||||
void dhcpserver_get_lease(const ip4_addr_t *first_client_addr, uint8_t max_leases);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue