Searched refs:startOfIpLayer (Results 1 – 1 of 1) sorted by relevance
201 final int startOfIpLayer = mPacket.position(); in parseIPv4() local202 final int ipv4HeaderLength = (mPacket.get(startOfIpLayer) & IPV4_IHL_MASK) * 4; in parseIPv4()208 final int startOfTransportLayer = startOfIpLayer + ipv4HeaderLength; in parseIPv4()210 mPacket.position(startOfIpLayer + IPV4_FLAGS_OFFSET); in parseIPv4()214 mPacket.position(startOfIpLayer + IPV4_PROTOCOL_OFFSET); in parseIPv4()217 mPacket.position(startOfIpLayer + IPV4_SRC_ADDR_OFFSET); in parseIPv4()220 mPacket.position(startOfIpLayer + IPV4_DST_ADDR_OFFSET); in parseIPv4()242 final int startOfIpLayer = mPacket.position(); in parseIPv6() local244 mPacket.position(startOfIpLayer + IPV6_PROTOCOL_OFFSET); in parseIPv6()247 mPacket.position(startOfIpLayer + IPV6_SRC_ADDR_OFFSET); in parseIPv6()[all …]