Searched refs:ipv4Header (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | PacketBuilderTest.java | 601 final Ipv4Header ipv4Header = Struct.parse(Ipv4Header.class, actual); in checkIpv4Header() local 602 assertEquals(Ipv4Header.IPHDR_VERSION_IHL, ipv4Header.vi); in checkIpv4Header() 603 assertEquals(TYPE_OF_SERVICE, ipv4Header.tos); in checkIpv4Header() 604 assertEquals(ID, ipv4Header.id); in checkIpv4Header() 605 assertEquals(FLAGS_AND_FRAGMENT_OFFSET, ipv4Header.flagsAndFragmentOffset); in checkIpv4Header() 606 assertEquals(TIME_TO_LIVE, ipv4Header.ttl); in checkIpv4Header() 607 assertEquals(IPV4_SRC_ADDR, ipv4Header.srcIp); in checkIpv4Header() 608 assertEquals(IPV4_DST_ADDR, ipv4Header.dstIp); in checkIpv4Header() 613 ipv4Header.totalLength); in checkIpv4Header() 614 assertEquals((byte) IPPROTO_TCP, ipv4Header.protocol); in checkIpv4Header() [all …]
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | PacketBuilder.java | 128 final Ipv4Header ipv4Header = new Ipv4Header(tos, in writeIpv4Header() local 134 ipv4Header.writeToByteBuffer(mBuffer); in writeIpv4Header()
|
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/ |
D | TetheringTester.java | 806 final Ipv4Header ipv4Header = new Ipv4Header(TYPE_OF_SERVICE, 810 ipv4Header.writeToByteBuffer(packet);
|