summaryrefslogtreecommitdiff
path: root/common/framework/com/android/net/module/util/IpUtils.java
AgeCommit message (Collapse)Author
2020-10-05Add an icmpv6Checksum utility to IpUtilsRemi NGUYEN VAN
The utility is similar to the existing udpChecksum and tcpChecksum methods, but for ICMPv6 messages. Bug: 168868607 Test: m, followup tests using this utility Change-Id: I41f478af89260a0225f597e672bd798932f1b5eb
2020-10-05Move IpUtils to frameworks/libs/netRemi NGUYEN VAN
The utility classes are useful for mainline modules and their tests, for example IpClientIntegrationTest. Bug: 168868607 Test: m && atest NetworkStackCoverageTests Change-Id: Ie3eea7731fa45cd58cd4acf8249da68ff3eb6a70