Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java978 private static boolean shouldSkipOption(byte optionType, byte[] optionsToSkip) { in shouldSkipOption() argument
979 for (byte option : optionsToSkip) { in shouldSkipOption()
995 static DhcpPacket decodeFullPacket(ByteBuffer packet, int pktType, byte[] optionsToSkip) in decodeFullPacket() argument
1198 if (shouldSkipOption(optionType, optionsToSkip)) { in decodeFullPacket()
1422 byte[] optionsToSkip) throws ParseException { in decodeFullPacket() argument
1425 return decodeFullPacket(buffer, pktType, optionsToSkip); in decodeFullPacket()
DDhcpClient.java659 final ByteArrayOutputStream optionsToSkip = new ByteArrayOutputStream(2); in getOptionsToSkip() local
660 if (!isCapportApiEnabled()) optionsToSkip.write(DHCP_CAPTIVE_PORTAL); in getOptionsToSkip()
662 optionsToSkip.write(DHCP_DOMAIN_SEARCHLIST); in getOptionsToSkip()
664 return optionsToSkip.toByteArray(); in getOptionsToSkip()