Home
last modified time | relevance | path

Searched refs:ipv4_local_subnet (Results 1 – 6 of 6) sorted by relevance

/external/android-clat/
Dconfig.c198 void gen_random_iid(struct in6_addr *myaddr, struct in_addr *ipv4_local_subnet, in gen_random_iid() argument
211 uint32_t c1 = ip_checksum_add(0, ipv4_local_subnet, sizeof(*ipv4_local_subnet)); in gen_random_iid()
286 &Global_Clatd_Config.ipv4_local_subnet, in config_generate_local_ipv6_subnet()
333 &Global_Clatd_Config.ipv4_local_subnet)) in read_config()
394 …UG,"ipv4_local_subnet = %s",inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_local_subnet, charbuffer,… in dump_config()
Dclatd.c130 in_addr_t localaddr = config_select_ipv4_address(&Global_Clatd_Config.ipv4_local_subnet, in configure_tun_ip()
134 inet_ntoa(Global_Clatd_Config.ipv4_local_subnet), in configure_tun_ip()
138 Global_Clatd_Config.ipv4_local_subnet.s_addr = localaddr; in configure_tun_ip()
142 status = add_address(tunnel->device4, AF_INET, &Global_Clatd_Config.ipv4_local_subnet, in configure_tun_ip()
143 32, &Global_Clatd_Config.ipv4_local_subnet); in configure_tun_ip()
150 inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_local_subnet, addrstr, sizeof(addrstr)); in configure_tun_ip()
Dclatd.conf12 ipv4_local_subnet 192.0.0.4
Dconfig.h32 struct in_addr ipv4_local_subnet; member
Dtranslate.c81 return Global_Clatd_Config.ipv4_local_subnet.s_addr; in ipv6_addr_to_ipv4_addr()
96 if (addr4 == Global_Clatd_Config.ipv4_local_subnet.s_addr) { in ipv4_addr_to_ipv6_addr()
Dclatd_test.cpp561 inet_pton(AF_INET, kIPv4LocalAddr, &Global_Clatd_Config.ipv4_local_subnet); in SetUp()
660 struct in_addr *ipv4addr = &Global_Clatd_Config.ipv4_local_subnet; in TEST_F()