mirror of
https://github.com/apache/nuttx.git
synced 2026-05-10 15:30:25 +08:00
5428220062
Rework ipv4_input() packet classification to make the control flow clearer and keep the common local-unicast case first. This change: - handles local packets first - keeps broadcast/multicast handling in dedicated branches It also prevents broadcast and multicast packets from falling through into the unicast forward path. Signed-off-by: Shunchao Hu <ankohuu@gmail.com>