OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:plat_subnet
(Results
1 - 4
of
4
) sorted by null
/external/android-clat/
config.h
34
struct in6_addr
plat_subnet
;
member in struct:clat_config
config.c
177
memcpy(&Global_Clatd_Config.
plat_subnet
, &tmp_ptr, sizeof(struct in6_addr));
196
*
plat_subnet
- NAT64 prefix
199
struct in6_addr *
plat_subnet
) {
212
uint32_t c2 = ip_checksum_add(0,
plat_subnet
, sizeof(*
plat_subnet
)) +
287
&Global_Clatd_Config.
plat_subnet
);
341
if(inet_pton(AF_INET6, plat_prefix, &Global_Clatd_Config.
plat_subnet
) <= 0) {
350
if(!config_item_ip6(root, "
plat_subnet
", NULL, &Global_Clatd_Config.
plat_subnet
)) {
351
logmsg(ANDROID_LOG_FATAL, "plat_from_dns64 disabled, but no
plat_subnet
specified")
[
all
...]
clatd_test.cpp
562
inet_pton(AF_INET6, kIPv6PlatSubnet, &Global_Clatd_Config.
plat_subnet
);
583
EXPECT_TRUE(ipv6_prefix_equal(&Global_Clatd_Config.
plat_subnet
,
584
&Global_Clatd_Config.
plat_subnet
));
585
EXPECT_FALSE(ipv6_prefix_equal(&Global_Clatd_Config.
plat_subnet
,
661
struct in6_addr *
plat_subnet
= &Global_Clatd_Config.
plat_subnet
;
local
664
uint16_t c2 = ip_checksum_finish(ip_checksum_add(0,
plat_subnet
, sizeof(*
plat_subnet
)) +
670
inet_ntop(AF_INET6,
plat_subnet
, plat_str, sizeof(plat_str));
[
all
...]
translate.c
67
return (addr6 != NULL) && (memcmp(addr6, &Global_Clatd_Config.
plat_subnet
, 12) == 0);
100
addr6 = Global_Clatd_Config.
plat_subnet
;
Completed in 5470 milliseconds