Home
last modified time | relevance | path

Searched refs:isEthernet (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/staticlibs/native/tcutils/tests/
Dtcutils_test.cpp32 int error = isEthernet("not_existing_if", result); in TEST()
39 int error = isEthernet("lo", result); in TEST()
48 int error = isEthernet("wlan0", result); in TEST()
61 int error = isEthernet("rmnet_data0", result); in TEST()
/packages/modules/Connectivity/staticlibs/native/tcutils/include/tcutils/
Dtcutils.h24 int isEthernet(const char *iface, bool &isEthernet);
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java294 public boolean isEthernet(String iface) throws IOException { in isEthernet() method in ClatCoordinator.Dependencies
295 return TcUtils.isEthernet(iface); in isEthernet()
412 final boolean isEthernet; in maybeStartBpf()
414 isEthernet = mDeps.isEthernet(tracker.iface); in maybeStartBpf()
422 tracker.pfx96, (short) (isEthernet ? 1 /* ETHER */ : 0 /* RAWIP */)); in maybeStartBpf()
501 (short) ETH_P_IPV6, makeIngressProgPath(isEthernet)); in maybeStartBpf()
DDscpPolicyTracker.java217 private boolean isEthernet(String iface) { in isEthernet() method in DscpPolicyTracker
219 return TcUtils.isEthernet(iface); in isEthernet()
236 if (!isEthernet(iface)) { in addDscpPolicy()
/packages/modules/Connectivity/staticlibs/native/tcutils/
Dtcutils.cpp476 int isEthernet(const char *iface, bool &isEthernet) { in isEthernet() argument
505 isEthernet = true; in isEthernet()
510 isEthernet = false; in isEthernet()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DTcUtils.java36 public static native boolean isEthernet(String iface) throws IOException; in isEthernet() method in TcUtils
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfUtils.java86 ether = TcUtils.isEthernet(iface); in attachProgram()
/packages/modules/Connectivity/staticlibs/native/bpfmapjni/
Dcom_android_net_module_util_TcUtils.cpp37 int error = isEthernet(interface.c_str(), result); in com_android_net_module_util_TcUtils_isEthernet()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java349 public boolean isEthernet(String iface) throws IOException { in isEthernet() method in ClatCoordinatorTest.TestDependencies