Lines Matching defs:myaddr
621 struct in6_addr myaddr, expected;
625 ASSERT_TRUE(inet_pton(AF_INET6, "2001:db8:1:2:f076:ae99:124e:aa54", &myaddr));
626 config_generate_local_ipv6_subnet(&myaddr);
627 expect_ipv6_addr_equal(&expected, &myaddr);
630 config_generate_local_ipv6_subnet(&myaddr);
631 EXPECT_FALSE(IN6_ARE_ADDR_EQUAL(&expected, &myaddr));
643 struct in6_addr myaddr = interface_ipv6;
645 config_generate_local_ipv6_subnet(&myaddr);
648 EXPECT_TRUE(ipv6_prefix_equal(&interface_ipv6, &myaddr));
651 uint64_t iid = * (uint64_t*) (&myaddr.s6_addr[8]);
665 ip_checksum_add(0, &myaddr, sizeof(myaddr)));
669 inet_ntop(AF_INET6, &myaddr, myaddr_str, sizeof(myaddr_str));