batman-adv: tvlv: extract tvlv header iterator

batadv_tvlv_containers_contain() and batadv_tvlv_containers_process() are
using the same code to iterate through the TVLV containers. To simplify the
code, extract the shared portions of both functions.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
Sven Eckelmann 2026-06-14 11:55:27 +02:00
commit 278e589070
No known key found for this signature in database
GPG key ID: 4D0F772BD314F5CB