nuttx/net/ipforward
Anthony Merlino 7c06438315 Merged in antmerlino/nuttx/ipforward (pull request #981)
net/ipforward: Check if interface is up early on when forwarding to avoid extra work.

As noticed in a previous wireless commit, when forwarding is enabled and a packet comes in, the packet is attempted to be sent on each other netdev without regard for whether it is in the UP state. Of course this is eventually caught, but it can be caught earlier to avoid unnecessary work, especially in the 6LoWPAN case where a useless packet conversion will occur.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 17:53:06 +00:00
..
ipforward.h
ipfwd_alloc.c
ipfwd_dropstats.c
ipfwd_forward.c net/neighbor: neighbor_lookup() checks if the target IP belongs to one of the local network devices. 2018-11-09 14:14:15 -06:00
ipfwd_poll.c
ipv4_forward.c
ipv6_forward.c Merged in antmerlino/nuttx/ipforward (pull request #981) 2019-08-10 17:53:06 +00:00
Kconfig
Make.defs