OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IPV6_HEADER_LENGTH
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/services/tests/servicestests/src/android/net/
IpUtilsTest.java
30
private static final int
IPV6_HEADER_LENGTH
= 40;
99
int transportLen = packet.limit() -
IPV6_HEADER_LENGTH
;
100
assertEquals(0, IpUtils.tcpChecksum(packet, 0,
IPV6_HEADER_LENGTH
, transportLen));
103
int sumOffset =
IPV6_HEADER_LENGTH
+ TCP_CHECKSUM_OFFSET;
109
assertChecksumEquals(sum, IpUtils.tcpChecksum(packet, 0,
IPV6_HEADER_LENGTH
, transportLen));
114
IpUtils.tcpChecksum(packet, 0,
IPV6_HEADER_LENGTH
, transportLen));
115
assertEquals(0, IpUtils.tcpChecksum(packet, 0,
IPV6_HEADER_LENGTH
, transportLen));
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
PacketReflector.java
29
private static int
IPV6_HEADER_LENGTH
= 40;
200
hdrLen =
IPV6_HEADER_LENGTH
;
Completed in 69 milliseconds