mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 11:41:51 +08:00
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>