Routing Topology Inference for Wireless Sensor Networks Based on Packet Tracing and Local Probing