net/vhost: retrieve vid for a given port