Searched refs:startOfIpLayer (Results 1 – 1 of 1) sorted by relevance
151 final int startOfIpLayer = mPacket.position(); in parseIPv4() local152 final int ipv4HeaderLength = (mPacket.get(startOfIpLayer) & IPV4_IHL_MASK) * 4; in parseIPv4()158 final int startOfTransportLayer = startOfIpLayer + ipv4HeaderLength; in parseIPv4()160 mPacket.position(startOfIpLayer + IPV4_FLAGS_OFFSET); in parseIPv4()164 mPacket.position(startOfIpLayer + IPV4_PROTOCOL_OFFSET); in parseIPv4()167 mPacket.position(startOfIpLayer + IPV4_SRC_ADDR_OFFSET); in parseIPv4()170 mPacket.position(startOfIpLayer + IPV4_DST_ADDR_OFFSET); in parseIPv4()192 final int startOfIpLayer = mPacket.position(); in parseIPv6() local194 mPacket.position(startOfIpLayer + IPV6_PROTOCOL_OFFSET); in parseIPv6()197 mPacket.position(startOfIpLayer + IPV6_SRC_ADDR_OFFSET); in parseIPv6()[all …]