Searched refs:TetherController (Results 1 – 7 of 7) sorted by relevance
/system/netd/server/ |
D | TetherController.cpp | 137 auto TetherController::iptablesRestoreFunction = execIptablesRestoreWithOutput; 142 "COMMIT\n", android::net::TetherController::LOCAL_TETHER_COUNTERS_CHAIN); 144 int TetherController::DnsmasqState::sendCmd(int daemonFd, const std::string& cmd) { in sendCmd() 157 void TetherController::DnsmasqState::clear() { in clear() 162 int TetherController::DnsmasqState::sendAllState(int daemonFd) const { in sendAllState() 166 TetherController::TetherController() { in TetherController() function in android::net::TetherController 174 bool TetherController::setIpFwdEnabled() { in setIpFwdEnabled() 191 bool TetherController::enableForwarding(const char* requester) { in enableForwarding() 199 bool TetherController::disableForwarding(const char* requester) { in disableForwarding() 204 const std::set<std::string>& TetherController::getIpfwdRequesterList() const { in getIpfwdRequesterList() [all …]
|
D | TetherControllerTest.cpp | 39 using TetherStats = android::net::TetherController::TetherStats; 40 using TetherStatsList = android::net::TetherController::TetherStatsList; 48 TetherController::iptablesRestoreFunction = fakeExecIptablesRestoreWithOutput; in TetherControllerTest() 52 TetherController mTetherCtrl; 349 void expectTetherStatsEqual(const TetherController::TetherStats& expected, in expectTetherStatsEqual() 350 const TetherController::TetherStats& actual) { in expectTetherStatsEqual()
|
D | Controllers.cpp | 65 TetherController::LOCAL_FORWARD, 79 TetherController::LOCAL_RAW_PREROUTING, 94 TetherController::LOCAL_MANGLE_FORWARD, 102 TetherController::LOCAL_NAT_POSTROUTING,
|
D | TetherController.h | 33 class TetherController { 69 TetherController(); 70 ~TetherController() = default;
|
D | Controllers.h | 45 TetherController tetherCtrl;
|
D | NetdNativeService.cpp | 420 void tetherAddStatsByInterface(TetherController::TetherStats* tetherStatsParcel, in tetherAddStatsByInterface() 421 const TetherController::TetherStats& tetherStats) { in tetherAddStatsByInterface() 430 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherStats& stats) { in toTetherStatsParcel() 441 const TetherController::TetherStatsList& statsList) { in setTetherStatsParcelVecByInterface() 442 std::map<std::string, TetherController::TetherStats> statsMap; in setTetherStatsParcelVecByInterface() 449 std::pair<std::string, TetherController::TetherStats>(stats.extIface, stats)); in setTetherStatsParcelVecByInterface()
|
D | Android.bp | 88 "TetherController.cpp",
|