• Linus Lüssing's avatar
    batman-adv: mcast: implement multicast packet reception and forwarding · 07afe1ba
    Linus Lüssing authored
    Implement functionality to receive and forward a new TVLV capable
    multicast packet type.
    
    The new batman-adv multicast packet type allows to contain several
    originator destination addresses within a TVLV. Routers on the way will
    potentially split the batman-adv multicast packet and adjust its tracker
    TVLV contents.
    
    Routing decisions are still based on the selected BATMAN IV or BATMAN V
    routing algorithm. So this new batman-adv multicast packet type retains
    the same loop-free properties.
    
    Also a new OGM multicast TVLV flag is introduced to signal to other
    nodes that we are capable of handling a batman-adv multicast packet and
    multicast tracker TVLV. And that all of our hard interfaces have an MTU
    of at least 1280 bytes (IPv6 minimum MTU), as a simple solution for now
    to avoid MTU issues while forwarding.
    Signed-off-by: default avatarLinus Lüssing <linus.luessing@c0d3.blue>
    Signed-off-by: default avatarSimon Wunderlich <sw@simonwunderlich.de>
    07afe1ba
routing.c 38.3 KB