Re: [B.A.T.M.A.N.] [RFC v2 0/5] batman-adv netlink query API

Matthias Schiffer
2016-03-18T12:00:54Z

[-- Attachment #1.1: Type: text/plain, Size: 913 bytes --]

On 03/18/2016 12:23 PM, Sven Eckelmann wrote:
> On Thursday 17 March 2016 17:45:30 Matthias Schiffer wrote:
> [...]
>> At the moment, the following debugfs files have corresponding netlink APIs:
>>
>> * routing_algos
>> * neighbors
>> * originators
>> * transtable_global
>> * transtable_local
>> * (hardinterfaces for a softif can be queried)
>>
>> The following files are still missing:
>>
>> * gateways
>> * bla_claim_table
>> * bla_backbone_table
>> * dat_cache
>> * nc_nodes
>
> What about the "socket" file?
>
> Kind regards,
> Sven
>

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?

Regards,
Matthias

[-- Attachment #2: OpenPGP digital signature --]