Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DPacketReflector.java67 private static void swapBytes(byte[] buf, int pos1, int pos2, int len) { in swapBytes() method in PacketReflector
89 swapBytes(buf, addrPos, addrPos + addrLen, addrLen); in swapAddresses()
118 swapBytes(buf, portOffset, portOffset + 2, 2); in processUdpPacket()