Searched refs:UDP_HDRLEN (Results 1 – 9 of 9) sorted by relevance
22 import static android.net.cts.PacketUtils.UDP_HDRLEN;83 ikeOffset = IP6_HDRLEN + UDP_HDRLEN; in isIke()92 ikeOffset = IP4_HDRLEN + UDP_HDRLEN + encapMarkerLen; in isIke()101 final int nonEspMarkerOffset = IP4_HDRLEN + UDP_HDRLEN; in hasNonEspMarkerv4()
22 import static android.net.cts.PacketUtils.UDP_HDRLEN;188 && isSpiEqual(pkt, IP4_HDRLEN + UDP_HDRLEN, spi); in isEsp()
28 import static android.net.cts.PacketUtils.UDP_HDRLEN;271 int expectedPacketSize = TEST_DATA.length + UDP_HDRLEN; in getPacketSize()292 expectedPacketSize += useEncap ? UDP_HDRLEN : 0; in getPacketSize()
49 import static android.net.cts.PacketUtils.UDP_HDRLEN;523 int udpEncapLen = doUdpEncap ? UDP_HDRLEN : 0; in checkTransform()531 transportHdrLen = UDP_HDRLEN; in checkTransform()635 expectedNumPkts * (dataWithEspHeader.length + UDP_HDRLEN + IP4_HDRLEN); in checkIkePacket()
48 static final int UDP_HDRLEN = 8; field in PacketUtils
25 import static android.ipsec.ike.cts.PacketUtils.UDP_HDRLEN;225 int ikeOffset = UDP_HDRLEN + hdrLen; in getIkeOffset()235 int ikeOffset = UDP_HDRLEN + hdrLen; in hasNonEspMarker()
21 import static android.ipsec.ike.cts.PacketUtils.UDP_HDRLEN;194 && isSpiEqual(pkt, IP4_HDRLEN + UDP_HDRLEN, spi); in isEsp()
49 static final int UDP_HDRLEN = 8; field in PacketUtils
50 static constexpr ssize_t UDP_HDRLEN = sizeof(struct udphdr); variable292 if (udpPacket.size() < UDP_HDRLEN) { in validateUdpPacket()