diff options
author | David S. Miller <davem@davemloft.net> | 2012-01-26 20:22:32 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-26 20:22:32 (GMT) |
commit | 39232973b779ab0c02cb6dcd8f819b7cb0fcd09a (patch) | |
tree | 02713ba159c04960e7b158c70e994b56c11ae20b /net/ipv6/sit.c | |
parent | 09e9b813d34d9a09d64a64580a9959d8bae1f4f5 (diff) | |
download | linux-fsl-qoriq-39232973b779ab0c02cb6dcd8f819b7cb0fcd09a.tar.xz |
ipv4/ipv6: Prepare for new route gateway semantics.
In the future the ipv4/ipv6 route gateway will take on two types
of values:
1) INADDR_ANY/IN6ADDR_ANY, for local network routes, and in this case
the neighbour must be obtained using the destination address in
ipv4/ipv6 header as the lookup key.
2) Everything else, the actual nexthop route address.
So if the gateway is not inaddr-any we use it, otherwise we must use
the packet's destination address.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sit.c')
0 files changed, 0 insertions, 0 deletions