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
..
CMakeLists.txt net/net_initialize: remove the empty functions that are not needed 2025-12-25 09:50:40 +08:00
devif.h devif_poll: only call the corresponding xxx_poll when there is data to be sent 2026-01-02 00:04:16 +08:00
devif_callback.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_filesend.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_forward.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_iobsend.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_loopback.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_poll.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_send.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ipv4_input.c net/devif: Reorder ipv4_input packet classification. 2026-04-23 15:11:08 +08:00
ipv6_input.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
Make.defs net/net_initialize: remove the empty functions that are not needed 2025-12-25 09:50:40 +08:00