commit | fe5ffce09c4a163ee9a190aedc9fd7cea38a576f | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Wed Mar 11 00:01:25 2015 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Mar 20 16:32:39 2015 +0900 |
tree | 30a6889cb11014d9b8ad2740facc04bf2679830e | |
parent | 86bff86778d006d59a36bb10c7a577d982934402 [diff] |
DHCP: protocol changes. 1. Define and add parsing code for MTU, max message size, T1, T2. 2. Add common TLVs (message size, hostname, vendor ID) to all packets sent by the client. 3. Don't include requested IP and server ID in renew messages, since the RFC says MUST NOT. 4. Don't hardcode the broadcast flag to true in DISCOVER packets, use what the caller passed in. 5. Make some methods static. Bug: 19704592 Change-Id: I42a0997e468b12e19cad9b403b98fe266e6cea73