• Sven Eckelmann's avatar
    batman-adv: Prepare infrastructure for newlink settings · 128254ce
    Sven Eckelmann authored
    The batadv generic netlink family can be used to retrieve the current state
    and set various configuration settings. But there are also settings which
    must be set before the actual interface is created.
    
    The rtnetlink already uses IFLA_INFO_DATA to allow net_device families to
    transfer such configurations. The minimal required functionality for this
    is now available for the batadv rtnl_link_ops. Also a new IFLA class of
    attributes will be attached to it because rtnetlink only allows 51
    different attributes but batadv_nl_attrs already contains 62 attributes.
    Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
    Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
    128254ce
soft-interface.c 33.3 KB