OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:udpChecksum
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/services/tests/servicestests/src/android/net/
IpUtilsTest.java
135
// UDP checksum, so the
udpChecksum
rewrites 0 to 0xffff).
137
assertEquals((short) 0xffff, IpUtils.
udpChecksum
(packet, 0, IPV4_HEADER_LENGTH));
154
assertChecksumEquals(udpSum, IpUtils.
udpChecksum
(packet, 0, IPV4_HEADER_LENGTH));
158
packet.putShort(udpSumOffset, IpUtils.
udpChecksum
(packet, 0, IPV4_HEADER_LENGTH));
160
assertEquals((short) 0xffff, IpUtils.
udpChecksum
(packet, 0, IPV4_HEADER_LENGTH));
/frameworks/base/services/core/java/com/android/server/connectivity/
KeepalivePacketData.java
133
buf.putShort(udpChecksumOffset, IpUtils.
udpChecksum
(buf, 0, IPV4_HEADER_LENGTH));
/frameworks/base/services/net/java/android/net/util/
IpUtils.java
132
public static short
udpChecksum
(ByteBuffer buf, int ipOffset, int transportOffset) {
Completed in 1303 milliseconds