Searched refs:ClatdController (Results 1 – 6 of 6) sorted by relevance
/system/netd/server/ |
D | ClatdControllerTest.cpp | 65 ClatdController::iptablesRestoreFunction = fakeExecIptablesRestore; in ClatdControllerTest() 71 ClatdController mClatdCtrl; 72 bool isEbpfDisabled() { return mClatdCtrl.getEbpfMode() == ClatdController::ClatEbpfDisabled; } in isEbpfDisabled() 78 ClatdController::isIpv4AddressFreeFunc = func; in setIpv4AddressFreeFunc() 81 ClatdController::isIpv4AddressFreeFunc = ClatdController::isIpv4AddressFree; in resetIpv4AddressFreeFunc() 84 return ClatdController::selectIpv4Address(a, b); in selectIpv4Address() 87 ClatdController::makeChecksumNeutral(a, b, c); in makeChecksumNeutral()
|
D | ClatdController.cpp | 72 void ClatdController::init(void) { in init() 134 bool ClatdController::isIpv4AddressFree(in_addr_t addr) { in isIpv4AddressFree() 156 in_addr_t ClatdController::selectIpv4Address(const in_addr ip, int16_t prefixlen) { in selectIpv4Address() 181 void ClatdController::makeChecksumNeutral(in6_addr* v6, const in_addr v4, in makeChecksumNeutral() 204 int ClatdController::generateIpv6Address(const char* iface, const in_addr v4, in generateIpv6Address() 235 void ClatdController::maybeStartBpf(const ClatdTracker& tracker) { in maybeStartBpf() 317 void ClatdController::maybeSetIptablesDropRule(bool add, const char* pfx96Str, const char* v6Str) { in maybeSetIptablesDropRule() 329 void ClatdController::maybeStopBpf(const ClatdTracker& tracker) { in maybeStopBpf() 354 ClatdController::ClatdTracker* ClatdController::getClatdTracker(const std::string& interface) { in getClatdTracker() 360 int ClatdController::ClatdTracker::init(unsigned networkId, const std::string& interface, in init() [all …]
|
D | ClatdController.h | 40 class ClatdController { 42 explicit ClatdController(NetworkController* controller) EXCLUDES(mutex) in ClatdController() function 44 virtual ~ClatdController() EXCLUDES(mutex){}; in ~ClatdController()
|
D | Controllers.h | 50 ClatdController clatdCtrl;
|
D | Controllers.cpp | 76 ClatdController::LOCAL_RAW_PREROUTING,
|
D | Android.bp | 72 "ClatdController.cpp",
|