socket_test.cc | 299 struct in_addr real_addr; local 300 memcpy(&real_addr, addr, 4); 301 return real_addr; 310 struct in6_addr real_addr; local 311 memcpy(&real_addr, addr, 16); 312 return real_addr; 332 struct in_addr real_addr = generate_ipv4_addr(0,0,0,0); local 333 EXPECT_TRUE(NULL != inet_ntop(AF_INET, &real_addr, 337 real_addr = generate_ipv4_addr(127,0,0,1); 338 EXPECT_TRUE(NULL != inet_ntop(AF_INET, &real_addr, 353 struct in6_addr real_addr = generate_ipv6_addr(addr_tuples); local 362 struct in6_addr real_addr = generate_ipv6_addr(addr_tuples); local 371 struct in6_addr real_addr = generate_ipv6_addr(addr_tuples); local [all...] |