• Sven Eckelmann's avatar
    batctl: Support checking of meshif without sysfs · 07967cd1
    Sven Eckelmann authored
    batctl checks whether the supplied interface is a batadv interface. And for
    hardif filters, whether this hardif is part of the selected meshif. This
    was done traditionally using the sysfs files which batman-adv creates.
    It is now possible to build the kernel module without sysfs support. These
    checks must therefore also work when sysfs is not available. And since the
    sysfs interface support was replaced in batctl by netlink commands, the
    check should also be implemented using using NETLINK_ROUTE.
    Signed-off-by: 's avatarSven Eckelmann <sven@narfation.org>