Searched refs:ipv6_local_subnet (Results 1 – 6 of 6) sorted by relevance
/external/android-clat/ |
D | clatd.c | 86 uint32_t *ipv6 = Global_Clatd_Config.ipv6_local_subnet.s6_addr32; in configure_packet_socket() 242 if (ipv6_prefix_equal(&interface_ip->ip6, &Global_Clatd_Config.ipv6_local_subnet)) { in update_clat_ipv6_address() 251 if (IN6_IS_ADDR_UNSPECIFIED(&Global_Clatd_Config.ipv6_local_subnet)) { in update_clat_ipv6_address() 257 inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, from_addr, sizeof(from_addr)); in update_clat_ipv6_address() 259 del_anycast_address(tunnel->write_fd6, &Global_Clatd_Config.ipv6_local_subnet); in update_clat_ipv6_address() 263 Global_Clatd_Config.ipv6_local_subnet = interface_ip->ip6; in update_clat_ipv6_address() 264 add_anycast_address(tunnel->write_fd6, &Global_Clatd_Config.ipv6_local_subnet, interface); in update_clat_ipv6_address() 523 del_anycast_address(tunnel.write_fd6, &Global_Clatd_Config.ipv6_local_subnet); in main()
|
D | clatd_test.cpp | 563 inet_pton(AF_INET6, kIPv6LocalAddr, &Global_Clatd_Config.ipv6_local_subnet); in SetUp() 586 &Global_Clatd_Config.ipv6_local_subnet)); in TEST_F() 588 struct in6_addr subnet2 = Global_Clatd_Config.ipv6_local_subnet; in TEST_F() 589 EXPECT_TRUE(ipv6_prefix_equal(&Global_Clatd_Config.ipv6_local_subnet, &subnet2)); in TEST_F() 590 EXPECT_TRUE(ipv6_prefix_equal(&subnet2, &Global_Clatd_Config.ipv6_local_subnet)); in TEST_F() 593 EXPECT_FALSE(ipv6_prefix_equal(&Global_Clatd_Config.ipv6_local_subnet, &subnet2)); in TEST_F() 594 EXPECT_FALSE(ipv6_prefix_equal(&subnet2, &Global_Clatd_Config.ipv6_local_subnet)); in TEST_F() 917 &Global_Clatd_Config.ipv6_local_subnet)); in TEST_F() 918 config_generate_local_ipv6_subnet(&Global_Clatd_Config.ipv6_local_subnet); in TEST_F() 919 ASSERT_NE((uint32_t) 0x00000464, Global_Clatd_Config.ipv6_local_subnet.s6_addr32[3]); in TEST_F() [all …]
|
D | ipv6.c | 105 IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &Global_Clatd_Config.ipv6_local_subnet)) && in ipv6_packet() 107 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 | translate.c | 79 } else if (IN6_ARE_ADDR_EQUAL(addr6, &Global_Clatd_Config.ipv6_local_subnet)) { in ipv6_addr_to_ipv4_addr() 97 return Global_Clatd_Config.ipv6_local_subnet; in ipv4_addr_to_ipv6_addr()
|
D | config.c | 390 …G,"ipv6_local_subnet = %s",inet_ntop(AF_INET6, &Global_Clatd_Config.ipv6_local_subnet, charbuffer,… in dump_config()
|