Searched refs:nat64Prefix (Results 1 – 9 of 9) sorted by relevance
/system/netd/server/ |
D | ClatdController.h | 49 int startClatd(const std::string& interface, const std::string& nat64Prefix, 76 const std::string& nat64Prefix); 86 static int generateIpv6Address(const char* iface, const in_addr v4, const in6_addr& nat64Prefix, 88 static void makeChecksumNeutral(in6_addr* v6, const in_addr v4, const in6_addr& nat64Prefix);
|
D | ClatdControllerTest.cpp | 148 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()
|
D | ClatdController.cpp | 182 const in6_addr& nat64Prefix) { in makeChecksumNeutral() argument 195 uint32_t c2 = ip_checksum_add(0, &nat64Prefix, sizeof(nat64Prefix)) + in makeChecksumNeutral() 205 const in6_addr& nat64Prefix, in6_addr* v6) { in generateIpv6Address() argument 213 sockaddr_in6 sin6 = {.sin6_family = AF_INET6, .sin6_addr = nat64Prefix}; in generateIpv6Address() 230 makeChecksumNeutral(v6, v4, nat64Prefix); in generateIpv6Address() 362 const std::string& nat64Prefix) { in init() argument 382 int res = parsePrefix(nat64Prefix.c_str(), &family, &pfx96, sizeof(pfx96), &prefixLen); in init() 412 int ClatdController::startClatd(const std::string& interface, const std::string& nat64Prefix, in startClatd() argument 457 int ret = tracker.init(networkId, interface, v4interface, nat64Prefix); in startClatd()
|
D | NetdNativeService.h | 224 binder::Status clatdStart(const std::string& ifName, const std::string& nat64Prefix,
|
D | NetdNativeService.cpp | 779 const std::string& nat64Prefix, std::string* v6Addr) { in clatdStart() argument 781 int res = gCtls->clatdCtrl.startClatd(ifName.c_str(), nat64Prefix, v6Addr); in clatdStart()
|
/system/netd/server/aidl/netd/1/android/net/ |
D | INetd.aidl | 39 @utf8InCpp String clatdStart(in @utf8InCpp String ifName, in @utf8InCpp String nat64Prefix); in clatdStart() argument
|
/system/netd/server/binder/android/net/ |
D | INetd.aidl | 549 @utf8InCpp String clatdStart(in @utf8InCpp String ifName, in @utf8InCpp String nat64Prefix); in clatdStart() argument
|
/system/netd/server/aidl/netd/2/android/net/ |
D | INetd.aidl | 56 @utf8InCpp String clatdStart(in @utf8InCpp String ifName, in @utf8InCpp String nat64Prefix); in clatdStart() argument
|
/system/netd/tests/ |
D | binder_test.cpp | 1276 std::string nat64Prefix = "2001:db8:cafe:f00d:1:2::/96"; in TEST_F() local 1279 status = mNetd->clatdStart(sTun.name(), nat64Prefix, &clatAddress); in TEST_F() 1293 status = mNetd->clatdStart(sTun.name(), nat64Prefix, &clatAddress); in TEST_F() 1301 status = mNetd->clatdStart(sTun.name(), nat64Prefix, &clatAddress); in TEST_F() 1310 status = mNetd->clatdStart(sTun.name(), nat64Prefix, &clatAddress); in TEST_F() 1315 status = mNetd->clatdStart(sTun.name(), nat64Prefix, &clatAddress); in TEST_F()
|