Home
last modified time | relevance | path

Searched refs:nat64Prefix (Results 1 – 12 of 12) sorted by relevance

/system/netd/server/
DClatdController.h49 int startClatd(const std::string& interface, const std::string& nat64Prefix,
74 const std::string& nat64Prefix);
88 static int generateIpv6Address(const char* iface, const in_addr v4, const in6_addr& nat64Prefix,
90 static void makeChecksumNeutral(in6_addr* v6, const in_addr v4, const in6_addr& nat64Prefix);
DClatdControllerTest.cpp148 in6_addr nat64Prefix; in TEST_F() local
149 ASSERT_TRUE(inet_pton(AF_INET6, nat64PrefixStr.c_str(), &nat64Prefix)); in TEST_F()
156 makeChecksumNeutral(&v6, v4, nat64Prefix); in TEST_F()
171 uint16_t c2 = ip_checksum_finish(ip_checksum_add(0, &nat64Prefix, sizeof(nat64Prefix)) + in TEST_F()
DClatdController.cpp175 const in6_addr& nat64Prefix) { in makeChecksumNeutral() argument
188 uint32_t c2 = ip_checksum_add(0, &nat64Prefix, sizeof(nat64Prefix)) + in makeChecksumNeutral()
198 const in6_addr& nat64Prefix, in6_addr* v6) { in generateIpv6Address() argument
206 sockaddr_in6 sin6 = {.sin6_family = AF_INET6, .sin6_addr = nat64Prefix}; in generateIpv6Address()
223 makeChecksumNeutral(v6, v4, nat64Prefix); in generateIpv6Address()
420 const std::string& nat64Prefix) { in init() argument
437 int res = parsePrefix(nat64Prefix.c_str(), &family, &pfx96, sizeof(pfx96), &prefixLen); in init()
467 int ClatdController::startClatd(const std::string& interface, const std::string& nat64Prefix, in startClatd() argument
516 int ret = tracker.init(networkId, interface, v4interface, nat64Prefix); in startClatd()
DNetdNativeService.h239 binder::Status clatdStart(const std::string& ifName, const std::string& nat64Prefix,
DNetdNativeService.cpp794 const std::string& nat64Prefix, std::string* v6Addr) { in clatdStart() argument
796 int res = gCtls->clatdCtrl.startClatd(ifName.c_str(), nat64Prefix, v6Addr); in clatdStart()
/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl39 @utf8InCpp String clatdStart(in @utf8InCpp String ifName, in @utf8InCpp String nat64Prefix); in clatdStart() argument
/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl56 @utf8InCpp String clatdStart(in @utf8InCpp String ifName, in @utf8InCpp String nat64Prefix); in clatdStart() argument
/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl57 @utf8InCpp String clatdStart(in @utf8InCpp String ifName, in @utf8InCpp String nat64Prefix); in clatdStart() argument
/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl57 @utf8InCpp String clatdStart(in @utf8InCpp String ifName, in @utf8InCpp String nat64Prefix); in clatdStart() argument
/system/netd/server/binder/android/net/
DINetd.aidl553 @utf8InCpp String clatdStart(in @utf8InCpp String ifName, in @utf8InCpp String nat64Prefix); in clatdStart() argument
/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl57 @utf8InCpp String clatdStart(in @utf8InCpp String ifName, in @utf8InCpp String nat64Prefix); in clatdStart() argument
/system/netd/tests/
Dbinder_test.cpp1250 std::string nat64Prefix = "2001:db8:cafe:f00d:1:2::/96"; in TEST_F() local
1253 status = mNetd->clatdStart(sTun.name(), nat64Prefix, &clatAddress); in TEST_F()
1267 status = mNetd->clatdStart(sTun.name(), nat64Prefix, &clatAddress); in TEST_F()
1275 status = mNetd->clatdStart(sTun.name(), nat64Prefix, &clatAddress); in TEST_F()
1284 status = mNetd->clatdStart(sTun.name(), nat64Prefix, &clatAddress); in TEST_F()
1289 status = mNetd->clatdStart(sTun.name(), nat64Prefix, &clatAddress); in TEST_F()