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 Remove trailing spaces at the end of lines. 2018-08-13 07:39:38 -06:00
ipv4_forward.c net/netdev: All utility functions that lookup network devices should begin with netdev_findby_. Also correct some comments and the name of a formal parameter. 2018-10-29 12:21:22 -06:00
ipv6_forward.c Merged in antmerlino/nuttx/ipforward (pull request #981) 2019-08-10 17:53:06 +00:00
Kconfig
Make.defs