[IPV6]: Make ipv6_addr_type() more generic so that we can use it for source address...