Home
last modified time | relevance | path

Searched refs:ipv6HeaderLen (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DIpv6Utils.java53 final int ipv6HeaderLen = Struct.getSize(Ipv6Header.class); in buildIcmpv6Packet() local
59 final ByteBuffer packet = ByteBuffer.allocate(ipv6HeaderLen + icmpv6HeaderLen + payloadLen); in buildIcmpv6Packet()
77 packet.putShort(ipv6HeaderLen + 2, icmpv6Checksum(packet, 0 /* ipOffset */, in buildIcmpv6Packet()
78 ipv6HeaderLen /* transportOffset */, in buildIcmpv6Packet()
/packages/modules/NetworkStack/src/com/android/networkstack/packets/
DNeighborAdvertisement.java72 final int ipv6HeaderLen = Struct.getSize(Ipv6Header.class); in toByteBuffer() local
76 final ByteBuffer packet = ByteBuffer.allocate(etherHeaderLen + ipv6HeaderLen in toByteBuffer()
DNeighborSolicitation.java72 final int ipv6HeaderLen = Struct.getSize(Ipv6Header.class); in toByteBuffer() local
76 final ByteBuffer packet = ByteBuffer.allocate(etherHeaderLen + ipv6HeaderLen in toByteBuffer()