Re: [PATCH v4 5/5] batman-adv: mcast: shrink tracker packet after scrubbing

2023-01-18 Thread Sven Eckelmann
On Tuesday, 27 December 2022 20:34:09 CET Linus Lüssing wrote: > +/** > + * batadv_mcast_forw_shrink_move_headers() - move multicast headers by offset > + * @skb: the batman-adv multicast packet to move headers for > + * @offset: a non-negative offset to move headers by, towards the skb tail > + *

[PATCH v4 5/5] batman-adv: mcast: shrink tracker packet after scrubbing

2022-12-27 Thread Linus Lüssing
Remove all zero MAC address entries (00:00:00:00:00:00) from a multicast packet's tracker TVLV before transmitting it and update all headers accordingly. This way, instead of keeping the multicast packet at a constant size throughout its journey through the mesh, it will become more lightweight,