Home
last modified time | relevance | path

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

/aosp12/system/netd/server/
H A DOffloadUtilsTest.cpp69 auto res = isEthernet("not_existing_if"); in TEST_F()
75 auto res = isEthernet("lo"); in TEST_F()
83 auto res = isEthernet("wlan0"); in TEST_F()
94 auto res = isEthernet("rmnet_data0"); in TEST_F()
H A DClatdController.cpp201 auto isEthernet = android::net::isEthernet(tracker.iface); in maybeStartBpf() local
202 if (!isEthernet.ok()) { in maybeStartBpf()
204 isEthernet.error().message().c_str()); in maybeStartBpf()
216 rv = getClatIngress6ProgFd(isEthernet.value()); in maybeStartBpf()
218 ALOGE("getClatIngress6ProgFd(%d) failure: %s", isEthernet.value(), strerror(-rv)); in maybeStartBpf()
231 .oifIsEthernet = isEthernet.value(), in maybeStartBpf()
298 rv = tcFilterAddDevIngressClatIpv6(tracker.ifIndex, rxProgFd, isEthernet.value()); in maybeStartBpf()
301 tracker.iface, isEthernet.value(), strerror(-rv)); in maybeStartBpf()
H A DOffloadUtils.h48 base::Result<bool> isEthernet(const std::string& interface);
H A DOffloadUtils.cpp74 base::Result<bool> isEthernet(const std::string& interface) { in isEthernet() function
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DBpfUtils.java83 ether = isEthernet(iface); in attachProgram()
137 private static native boolean isEthernet(String iface) throws IOException; in isEthernet() method in BpfUtils