|
EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of dhcp service configuration utilities. More...
Go to the source code of this file.
Functions | |
| int | run_dhcp (struct dhcp_conf *dconf, UT_array *dns_server_array, char *supervisor_control_path, bool exec_dhcp) |
| Run the DHCP server. More... | |
| bool | close_dhcp (void) |
| Closes (terminates) dhcp process. More... | |
| int | clear_dhcp_lease (char *mac_addr, struct dhcp_conf *dconf) |
| Clear the DHCP lease for a MAC addrress. More... | |
File containing the definition of dhcp service configuration utilities.
| int clear_dhcp_lease | ( | char * | mac_addr, |
| struct dhcp_conf * | dconf | ||
| ) |
Clear the DHCP lease for a MAC addrress.
| mac_addr | The MAC address string |
| dconf | The dhcp configuration structures |
| bool close_dhcp | ( | void | ) |
Closes (terminates) dhcp process.
| int run_dhcp | ( | struct dhcp_conf * | dconf, |
| UT_array * | dns_server_array, | ||
| char * | supervisor_control_path, | ||
| bool | exec_dhcp | ||
| ) |
Run the DHCP server.
| dconf | The dhcp configuration structures. |
| dns_server_array | The array including the DNS servers IP addresses. |
| supervisor_control_path | The UNIX domain control path. |
| exec_dhcp | Flag to execute/signal the DHCP process. |