[DHCPD] add new version DHCPD use lwip raw api.

This commit is contained in:
aozima
2018-06-20 10:11:53 +08:00
parent 5fde2f0f08
commit 330e68e5f4
3 changed files with 755 additions and 1 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
if GetDepend('RT_USING_LWIP202'):
src = ['dhcp_server_raw.c']
else:
src = ['dhcp_server.c']
CPPPATH = [cwd]
+8
View File
@@ -31,7 +31,15 @@
#ifndef DHCPV4_SERVER_H__
#define DHCPV4_SERVER_H__
#ifdef __cplusplus
extern "C" {
#endif
void dhcpd_start(const char *netif_name);
#ifdef __cplusplus
}
#endif
#endif
File diff suppressed because it is too large Load Diff