Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp226 int hops = kLinkLocalHopLimit; in android_net_utils_setupRaSocket() local
227 len = sizeof(hops); in android_net_utils_setupRaSocket()
228 if (setsockopt(fd, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &hops, len) != 0) { in android_net_utils_setupRaSocket()
235 hops = kLinkLocalHopLimit; in android_net_utils_setupRaSocket()
236 len = sizeof(hops); in android_net_utils_setupRaSocket()
237 if (setsockopt(fd, IPPROTO_IPV6, IPV6_UNICAST_HOPS, &hops, len) != 0) { in android_net_utils_setupRaSocket()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java863 byte hops = packet.get(); in decodeFullPacket()