Home
last modified time | relevance | path

Searched defs:ifIndex (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/net/util/
DSocketUtils.java75 public static SocketAddress makePacketSocketAddress(int protocol, int ifIndex) { in makePacketSocketAddress()
91 public static SocketAddress makePacketSocketAddress(int ifIndex, @NonNull byte[] hwAddr) { in makePacketSocketAddress()
107 public static SocketAddress makePacketSocketAddress(int protocol, int ifIndex, in makePacketSocketAddress()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java610 private boolean sendDataLimitToNetd(int ifIndex, long quotaBytes) { in sendDataLimitToNetd()
632 final int ifIndex = getInterfaceIndexFromRules(iface); in maybeUpdateDataLimit() local
640 private boolean updateDataLimit(int ifIndex) { in updateDataLimit()
661 private NetworkStats buildNetworkStats(@NonNull StatsType type, int ifIndex, in buildNetworkStats()
696 final Integer ifIndex = tetherStats.ifIndex; in updateQuotaAndStatsFromSnapshot() local
/frameworks/base/packages/Tethering/jni/
Dandroid_net_util_TetheringUtils.cpp33 jint ifIndex) in android_net_util_setupRaSocket()
/frameworks/base/packages/Tethering/src/android/net/util/
DTetheringUtils.java110 public static native void setupRaSocket(FileDescriptor fd, int ifIndex) in setupRaSocket()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java169 private static TetherStatsParcel buildTestTetherStatsParcel(@NonNull Integer ifIndex, in buildTestTetherStatsParcel()
517 final Integer ifIndex = 100; in testTetheringConfigDisable() local
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java723 private static TetherStatsParcel buildEmptyTetherStatsParcel(int ifIndex) { in buildEmptyTetherStatsParcel()