added partial ipv6 mask implementation