Searched refs:ipv6_local_subnet (Results 1 – 7 of 7) sorted by relevance
/external/android-clat/ |
D | clatd_test.cpp | 587 memset(&Global_Clatd_Config.ipv6_local_subnet, 0, sizeof(in6_addr)); in SetUp() 619 &Global_Clatd_Config.ipv6_local_subnet)); in TEST_F() 621 struct in6_addr subnet2 = Global_Clatd_Config.ipv6_local_subnet; in TEST_F() 622 EXPECT_TRUE(ipv6_prefix_equal(&Global_Clatd_Config.ipv6_local_subnet, &subnet2)); in TEST_F() 623 EXPECT_TRUE(ipv6_prefix_equal(&subnet2, &Global_Clatd_Config.ipv6_local_subnet)); in TEST_F() 626 EXPECT_FALSE(ipv6_prefix_equal(&Global_Clatd_Config.ipv6_local_subnet, &subnet2)); in TEST_F() 627 EXPECT_FALSE(ipv6_prefix_equal(&subnet2, &Global_Clatd_Config.ipv6_local_subnet)); in TEST_F() 954 inet_pton(AF_INET6, kIPv6LocalAddr, &Global_Clatd_Config.ipv6_local_subnet); in TEST_F() 975 inet_pton(AF_INET6, kIPv6LocalAddr, &Global_Clatd_Config.ipv6_local_subnet); in TEST_F() 1003 &Global_Clatd_Config.ipv6_local_subnet)); in TEST_F() [all …]
|
D | clatd.c | 82 uint32_t *ipv6 = Global_Clatd_Config.ipv6_local_subnet.s6_addr32; in configure_packet_socket() 265 if (!ipv6_prefix_equal(&interface_ip->ip6, &Global_Clatd_Config.ipv6_local_subnet)) { in ipv6_address_changed() 268 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, oldstr, sizeof(oldstr)); in ipv6_address_changed() 297 Global_Clatd_Config.ipv6_local_subnet = interface_ip->ip6; in clat_ipv6_address_from_interface() 308 if (!inet_pton(AF_INET6, v6_addr, &Global_Clatd_Config.ipv6_local_subnet)) { in clat_ipv6_address_from_cmdline() 333 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, addrstr, sizeof(addrstr)); in configure_clat_ipv6_address() 337 add_anycast_address(tunnel->write_fd6, &Global_Clatd_Config.ipv6_local_subnet, interface); in configure_clat_ipv6_address()
|
D | ipv6.c | 106 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &Global_Clatd_Config.ipv6_local_subnet)) && in ipv6_packet() 108 IN6_ARE_ADDR_EQUAL(&ip6->ip6_src, &Global_Clatd_Config.ipv6_local_subnet)) && in ipv6_packet()
|
D | config.h | 30 struct in6_addr ipv6_local_subnet; member
|
D | main.c | 159 del_anycast_address(tunnel.write_fd6, &Global_Clatd_Config.ipv6_local_subnet); in main()
|
D | translate.c | 81 } else if (IN6_ARE_ADDR_EQUAL(addr6, &Global_Clatd_Config.ipv6_local_subnet)) { in ipv6_addr_to_ipv4_addr() 99 return Global_Clatd_Config.ipv6_local_subnet; in ipv4_addr_to_ipv6_addr()
|
D | config.c | 398 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, charbuffer, sizeof(charbuffer))); in dump_config()
|