Home
last modified time | relevance | path

Searched refs:etherHeaderLen (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/packets/
DNeighborAdvertisement.java71 final int etherHeaderLen = Struct.getSize(EthernetHeader.class); in toByteBuffer() local
76 final ByteBuffer packet = ByteBuffer.allocate(etherHeaderLen + ipv6HeaderLen in toByteBuffer()
DNeighborSolicitation.java71 final int etherHeaderLen = Struct.getSize(EthernetHeader.class); in toByteBuffer() local
76 final ByteBuffer packet = ByteBuffer.allocate(etherHeaderLen + ipv6HeaderLen in toByteBuffer()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DIpv6Utils.java92 final int etherHeaderLen = Struct.getSize(EthernetHeader.class); in buildIcmpv6Packet() local
93 final ByteBuffer packet = ByteBuffer.allocate(etherHeaderLen + payload.limit()); in buildIcmpv6Packet()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java792 final int etherHeaderLen = hasEther ? Struct.getSize(EthernetHeader.class) : 0;
796 final ByteBuffer packet = ByteBuffer.allocate(etherHeaderLen + ipv4HeaderLen
825 final int ipv4HeaderOffset = hasEther ? etherHeaderLen : 0;