Home
last modified time | relevance | path

Searched refs:nextHeader (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java209 public Ip6Header(int nextHeader, Inet6Address src, Inet6Address dst, Payload payload) { in Ip6Header() argument
210 super(nextHeader, src, dst, payload); in Ip6Header()
356 public final int nextHeader; field in PacketUtils.EspHeader
371 public EspHeader(int nextHeader, int spi, int seqNum, byte[] key, byte[] payload) { in EspHeader() argument
372 this(nextHeader, spi, seqNum, payload, getDefaultCipher(key), getDefaultAuth(key)); in EspHeader()
385 int nextHeader, in EspHeader() argument
391 this.nextHeader = nextHeader; in EspHeader()
439 espPayloadBuffer.put(cipher.getCipherText(nextHeader, payload, spi, seqNum)); in addPacketBytes()
521 public static byte[] getPaddedPayload(int nextHeader, byte[] payload, int blockSize) { in getPaddedPayload() argument
534 paddedPayload.put((byte) nextHeader); in getPaddedPayload()
[all …]
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DPacketUtils.java169 public Ip6Header(int nextHeader, Inet6Address src, Inet6Address dst, Payload payload) { in Ip6Header() argument
170 super(nextHeader, src, dst, payload); in Ip6Header()
316 public final int nextHeader; field in PacketUtils.EspHeader
330 public EspHeader(int nextHeader, int spi, int seqNum, byte[] key, byte[] payload) { in EspHeader() argument
331 this.nextHeader = nextHeader; in EspHeader()
391 paddedPayload.put((byte) nextHeader); in getCiphertext()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/packets/
DNeighborAdvertisementTest.java176 assertEquals(IPPROTO_ICMPV6, na.ipv6Hdr.nextHeader); in testGratuitousNa_parse()
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java255 if (ipv6Hdr.nextHeader != (byte) IPPROTO_ICMPV6) return false; in isRouterAdvertisement()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1161 private static ByteBuffer makeIpv6Packet(int nextHeader) { in makeIpv6Packet() argument
1164 packet.put(IPV6_NEXT_HEADER_OFFSET, (byte) nextHeader); in makeIpv6Packet()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java2875 assertEquals(IPPROTO_ICMPV6, na.ipv6Hdr.nextHeader);