Lines Matching refs:interface_ip
257 union anyip *interface_ip; in ipv6_address_changed() local
259 interface_ip = getinterface_ip(interface, AF_INET6); in ipv6_address_changed()
260 if (!interface_ip) { in ipv6_address_changed()
265 if (!ipv6_prefix_equal(&interface_ip->ip6, &Global_Clatd_Config.ipv6_local_subnet)) { in ipv6_address_changed()
269 inet_ntop(AF_INET6, &interface_ip->ip6, newstr, sizeof(newstr)); in ipv6_address_changed()
271 free(interface_ip); in ipv6_address_changed()
274 free(interface_ip); in ipv6_address_changed()
285 union anyip *interface_ip; in clat_ipv6_address_from_interface() local
288 interface_ip = getinterface_ip(interface, AF_INET6); in clat_ipv6_address_from_interface()
289 if (!interface_ip) { in clat_ipv6_address_from_interface()
295 config_generate_local_ipv6_subnet(&interface_ip->ip6); in clat_ipv6_address_from_interface()
297 Global_Clatd_Config.ipv6_local_subnet = interface_ip->ip6; in clat_ipv6_address_from_interface()
298 free(interface_ip); in clat_ipv6_address_from_interface()