Home
last modified time | relevance | path

Searched refs:ifIndex (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp202 jint ifIndex) in android_net_utils_setupRaSocket() argument
253 len = sizeof(ifIndex); in android_net_utils_setupRaSocket()
254 if (setsockopt(fd, IPPROTO_IPV6, IPV6_MULTICAST_IF, &ifIndex, len) != 0) { in android_net_utils_setupRaSocket()
284 .ipv6mr_interface = ifIndex, in android_net_utils_setupRaSocket()
/frameworks/base/services/net/java/android/net/ip/
DIpNeighborMonitor.java76 public static int startKernelNeighborProbe(int ifIndex, InetAddress ip) { in startKernelNeighborProbe() argument
77 final String msgSnippet = "probing ip=" + ip.getHostAddress() + "%" + ifIndex; in startKernelNeighborProbe()
81 1, ip, StructNdMsg.NUD_PROBE, ifIndex, null); in startKernelNeighborProbe()
/frameworks/base/tests/net/java/android/net/netlink/
DRtNetlinkNeighborMessageTest.java230 final int ifIndex = 14; in testCreateRtmNewNeighMessage() local
263 seqNo, Inet4Address.LOOPBACK, StructNdMsg.NUD_DELAY, ifIndex, llAddr); in testCreateRtmNewNeighMessage()
/frameworks/base/services/net/java/android/net/netlink/
DRtNetlinkNeighborMessage.java146 int seqNo, InetAddress ip, short nudState, int ifIndex, byte[] llAddr) { in newNewNeighborMessage() argument
156 msg.mNdmsg.ndm_ifindex = ifIndex; in newNewNeighborMessage()
/frameworks/base/core/java/android/net/
DNetworkUtils.java71 public native static void setupRaSocket(FileDescriptor fd, int ifIndex) throws SocketException; in setupRaSocket() argument