History log of /system/connectivity/dhcp_client/dhcp_options_writer.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
15c10d2a1c42c31c68c1d88f85627ff9bdefd29d 22-Jan-2016 Ningyuan Wang <nywang@google.com> dhcp_client: use ByteString for DHCPOptionsWriter

This changes the buffer type from uint8_t* to shill::ByteString*
for DHCPOptionsWriter.
While there, fixes an indenting problem in DHCPMessage.

Bug: 25642025
TEST=compile and unittests
Change-Id: I2f1a0e9c5749325a956ced4a54012f4e430160f8
/system/connectivity/dhcp_client/dhcp_options_writer.cc
d4b86841f58d9c4b299e651ce1772cd0b505c614 13-Jan-2016 Ningyuan Wang <nywang@google.com> dhcp client: add class DHCPOptionWriter

Add class DHCPOptionsWriter for writing dhcp options.
Also add the corresponding unittests.
while there, change the variable name from 'option_number'
to 'option_code' for better readability.

Bug: 25642025
TEST=compile and unittests
Change-Id: I6410651d32525760405df427b38c961ce106293f
/system/connectivity/dhcp_client/dhcp_options_writer.cc