• Ondřej Zajíček's avatar
    Babel: Implement IPv6 prefix compression on outgoing updates · b3c6273e
    Ondřej Zajíček authored
    Previously, the Babel protocol would never use prefix compression on outgoing
    updates (but would parse it on incoming ones). This adds compression of IPv6
    addresses of outgoing updates.
    The compression only works to the extent that the FIB is walked in lexicographic
    order; i.e. a prefix is only compressed if it shares bytes with the previous
    prefix in the same packet.
    Thanks to Toke Høiland-Jørgensen <toke@toke.dk> for the patch.
packets.c 31.7 KB