mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-26 07:59:37 +04:00
Move the hash index, hash/CAM lookup, unicast reference lookup and ageing-time helpers into l2.c. This removes the dependency of L2 code on lookup helpers implemented in dsa.c. Rename the moved functions with the otto_l2_ prefix, place their public declarations in l2.h and update includes and callers. Leave DSA callbacks and port/bridge handling in place. No functional changes intended. Assisted-by: ChatGPT (OpenAI GPT-6 Astra) Link: https://github.com/openwrt/openwrt/pull/25802 Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>