Performance metrics and routing in vehicular ad hoc networks