summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2015-03-11 01:16:18 +0900
committerLorenzo Colitti <lorenzo@google.com>2015-03-20 16:32:39 +0900
commit86bff86778d006d59a36bb10c7a577d982934402 (patch)
treef991eadedbc1e9742e3d3bde63a7ba2b57f221c4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7f7cc6115914b4a0ebd99c5d77db8f571195a1fb (diff)
DHCP: glue code.
1. Add a method to make a DhcpResults object from a DHCP packet. 2. Add a method to fetch the client MAC from the packet. This is needed to check that the message is for us (lots of DHCP messages are broadcast). 3. Add a length argument to the method that parses DHCP packets, so the caller can use the same MTU-sized array all the time instead of having to pass in a new array for every packet. Bug: 19704592 Change-Id: I58223f5ec90fb5c762bc2934649e02f9122018b2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions