DHCP: implement simple Server/Client (solicit/reply) (#884)

* DHCP implementation
- implementation Dhcp client/server (solicit/reply)
- two build options --enable-dhcp6-server  --enable-dhcp6-client (default disable)
- add Cert_5_3_09_AddressQuery for Dhcp Client/Server test in travis
This commit is contained in:
rongli
2016-10-31 21:38:56 -07:00
committed by Jonathan Hui
parent 196c28d022
commit 3001fc689c
36 changed files with 2844 additions and 33 deletions
+8
View File
@@ -65,6 +65,14 @@ ifeq ($(JOINER),1)
configure_OPTIONS += --enable-joiner
endif
ifeq ($(DHCP6_SERVER),1)
configure_OPTIONS += --enable-dhcp6-server
endif
ifeq ($(DHCP6_CLIENT),1)
configure_OPTIONS += --enable-dhcp6-client
endif
COMMONCFLAGS := \
-fdata-sections \
-ffunction-sections \
+1 -1
View File
@@ -92,7 +92,7 @@ configure_OPTIONS = \
$(NULL)
ifeq ($(COVERAGE),1)
configure_OPTIONS += --enable-coverage --enable-commissioner --enable-joiner
configure_OPTIONS += --enable-coverage --enable-commissioner --enable-joiner --enable-dhcp6-client --enable-dhcp6-server
else
configure_OPTIONS +=
endif