Files
nuttx/net/devif
Shunchao Hu 5428220062 net/devif: Reorder ipv4_input packet classification.
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>
2026-04-23 15:11:08 +08:00
..