commit | c1413d0a278d64a05e5da9d269327408f795fed0 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Wed Jun 06 15:47:07 2018 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Thu Aug 23 16:01:44 2018 +0900 |
tree | 657787490f292455ede3fd260c8483d83381d71b | |
parent | eca5b4e7532e2c7ae114167df39327b5a83ab5a3 [diff] |
Add DHCP utils extracted from DhcpClient DhcpClient can then be migrated to at least DhcpSocketFactory, and eventually DhcpPacketListener. These classes will be used to implement the new DhcpServer. FdEventsReader is PacketReader with generic T instead of byte[], to allow reading both received payload and source IP from a UDP socket with Os.recvfrom(). Bug: 109584964 Test: runtest --no-hidden-api-checks frameworks-net Change-Id: Idd7dc36938748af701b45f50bde76a2592c9bfdd