Searched refs:asByte (Results 1 – 2 of 2) sorted by relevance
372 private static byte asByte(int value) { in asByte() method in RouterAdvertisementDaemon381 final byte flags = hasDefaultRoute ? asByte(0x08) : asByte(0); in putHeader()384 new Icmpv6Header(asByte(ICMPV6_ROUTER_ADVERTISEMENT) /* type */, in putHeader()385 asByte(0) /* code */, asShort(0) /* checksum */); in putHeader()398 final ByteBuffer sllaOption = LlaOption.build(asByte(ICMPV6_ND_OPTION_SLLA), in putSlla()442 asByte(PIO_FLAG_ON_LINK | PIO_FLAG_AUTONOMOUS), validTime, preferredTime); in putPio()467 final byte rio_num_8octets = asByte( in putRio()473 .put(asByte(prefixLength)) in putRio()474 .put(asByte(0x18)) in putRio()586 if (rval < 1 || mSolicitation[0] != asByte(ICMPV6_ROUTER_SOLICITATION)) { in run()
23 import static android.net.util.NetworkConstants.asByte;1482 dnsBytes[dnsBytes.length - 1] = getRandomSanitizedByte(DOUG_ADAMS, asByte(0), asByte(1)); in getLocalDnsIpFor()