commit | da8af393024985583e6d0ef974a766b55156a8f7 | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Wed Jan 31 16:09:38 2018 +0200 |
committer | Anas Nashif <nashif@linux.intel.com> | Fri Apr 13 08:29:44 2018 -0400 |
tree | 25e1703b3a202e42b76dec4fbfa0d12d042de61b | |
parent | 5e9f7cb27ac7e7dd0681d7511f4590951bb13a5d [diff] |
net: if: Add helper to select src interface for a IPv4 dst addr If we have multiple network interfaces and we want to send a IPv4 network packet to certain destination, then this new helper can be used to figure out what network interface to use. Note that this commit only adds support to select the correct network interface according to destination IPv4 address. This does not enable any automatic routing to happen. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>