On Friday 18 March 2016 13:00:54 Matthias Schiffer wrote: [...]
What about the "socket" file?
[...]
Ah, I forgot about that one because it is very different from the others.
I think it should be possible to convert "socket" as well by wrapping the BATADV_ICMP packets in netlink packets. Or maybe it would be possible to drop that altogether and just do ping/traceroute in userspace with AF_PACKET or similar?
The latter could be problematic for TP meter implementation [1,2,3,4,5]. Antonio, do you have an opinion about that?
Kind regards, Sven
[1] https://patchwork.open-mesh.org/patch/15807/ [2] https://patchwork.open-mesh.org/patch/15808/ [3] https://patchwork.open-mesh.org/patch/15809/ [4] https://patchwork.open-mesh.org/patch/15810/ [5] https://patchwork.open-mesh.org/patch/15811/