Data delivery in the dynamic source routing (dsr) protocol, which is a reactive routing protocol used in ad-hoc networks. The structure of dsr packets, route maintenance through hop-by-hop acknowledgements and rerr packets, and additional optimizations such as packet salvaging, gratuitous route repair, and promiscuous listening. Dsr optimization includes route caching, where nodes learn and cache new routes to reduce the need for frequent routing requests.