Hey,
The standard layer 3 ping utility can use the record route (RR) option of IP to collect route data for sent ping messages (ping -R). This patch introduces comparable functionality for batman-adv ICMP messages.
I don't think we need another packet type for this. I reworked your patches a bit. As soon as you checked if you like it this way I will commit them.
Note: I split them into 2 patches because batman-adv & batctl reside in different branches. On top of that syncing distinct patches with the git repos is much less painful. :)
Cheers, Marek