Searched refs:isEthernet (Results 1 – 5 of 5) sorted by relevance
/system/netd/server/ |
D | ClatdController.cpp | 231 auto isEthernet = android::net::isEthernet(tracker.iface); in maybeStartBpf() local 232 if (!isEthernet.ok()) { in maybeStartBpf() 234 isEthernet.error().message().c_str()); in maybeStartBpf() 246 rv = getClatIngressProgFd(isEthernet.value()); in maybeStartBpf() 248 ALOGE("getClatIngressProgFd(%d) failure: %s", isEthernet.value(), strerror(-rv)); in maybeStartBpf() 261 .oifIsEthernet = isEthernet.value(), in maybeStartBpf() 333 rv = tcFilterAddDevIngressClatIpv6(tracker.ifIndex, rxProgFd, isEthernet.value()); in maybeStartBpf() 337 isEthernet.value(), strerror(-rv)); in maybeStartBpf() 340 tracker.iface, isEthernet.value(), strerror(-rv)); in maybeStartBpf()
|
D | OffloadUtilsTest.cpp | 69 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()
|
D | TetherController.cpp | 1106 auto isEthernet = android::net::isEthernet(extIface); in maybeStartBpf() local 1107 if (!isEthernet.ok()) { in maybeStartBpf() 1109 isEthernet.error().message().c_str()); in maybeStartBpf() 1113 int rv = getTetherIngressProgFd(isEthernet.value()); in maybeStartBpf() 1115 ALOGE("getTetherIngressProgFd(%d) failure: %s", isEthernet.value(), strerror(-rv)); in maybeStartBpf() 1120 rv = tcFilterAddDevIngressTether(ifIndex, tetherProgFd, isEthernet.value()); in maybeStartBpf() 1123 isEthernet.value(), strerror(-rv)); in maybeStartBpf()
|
D | OffloadUtils.h | 48 base::Result<bool> isEthernet(const std::string& interface);
|
D | OffloadUtils.cpp | 64 base::Result<bool> isEthernet(const std::string& interface) { in isEthernet() function
|