Home
last modified time | relevance | path

Searched refs:TetherController (Results 1 – 7 of 7) sorted by relevance

/system/netd/server/
DTetherController.cpp130 auto TetherController::iptablesRestoreFunction = execIptablesRestoreWithOutput;
135 "COMMIT\n", android::net::TetherController::LOCAL_TETHER_COUNTERS_CHAIN);
137 int TetherController::DnsmasqState::sendCmd(int daemonFd, const std::string& cmd) { in sendCmd()
150 void TetherController::DnsmasqState::clear() { in clear()
155 int TetherController::DnsmasqState::sendAllState(int daemonFd) const { in sendAllState()
159 TetherController::TetherController() { in TetherController() function in android::net::TetherController
169 bool TetherController::setIpFwdEnabled() { in setIpFwdEnabled()
186 bool TetherController::enableForwarding(const char* requester) { in enableForwarding()
194 bool TetherController::disableForwarding(const char* requester) { in disableForwarding()
199 const std::set<std::string>& TetherController::getIpfwdRequesterList() const { in getIpfwdRequesterList()
[all …]
DTetherControllerTest.cpp42 using TetherStats = android::net::TetherController::TetherStats;
43 using TetherStatsList = android::net::TetherController::TetherStatsList;
51 TetherController::iptablesRestoreFunction = fakeExecIptablesRestoreWithOutput; in TetherControllerTest()
55 TetherController mTetherCtrl;
352 void expectTetherStatsEqual(const TetherController::TetherStats& expected, in expectTetherStatsEqual()
353 const TetherController::TetherStats& actual) { in expectTetherStatsEqual()
DControllers.cpp66 TetherController::LOCAL_FORWARD,
80 TetherController::LOCAL_RAW_PREROUTING,
95 TetherController::LOCAL_MANGLE_FORWARD,
103 TetherController::LOCAL_NAT_POSTROUTING,
DTetherController.h38 class TetherController {
76 TetherController();
77 ~TetherController() = default;
DControllers.h45 TetherController tetherCtrl;
DNetdNativeService.cpp481 void tetherAddStatsByInterface(TetherController::TetherStats* tetherStatsParcel, in tetherAddStatsByInterface()
482 const TetherController::TetherStats& tetherStats) { in tetherAddStatsByInterface()
491 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherStats& stats) { in toTetherStatsParcel()
503 const TetherController::TetherStatsList& statsList) { in setTetherStatsParcelVecByInterface()
504 std::map<std::string, TetherController::TetherStats> statsMap; in setTetherStatsParcelVecByInterface()
511 std::pair<std::string, TetherController::TetherStats>(stats.extIface, stats)); in setTetherStatsParcelVecByInterface()
DAndroid.bp208 "TetherController.cpp",