asserts in IPv6, rename TUN, remove deprecated functions